Skip to content

Added shared.cmd_opts.data_dir prefix to "outputs" and "log" paths.#14443

Closed
canoalberto wants to merge 1 commit intoAUTOMATIC1111:devfrom
canoalberto:dev
Closed

Added shared.cmd_opts.data_dir prefix to "outputs" and "log" paths.#14443
canoalberto wants to merge 1 commit intoAUTOMATIC1111:devfrom
canoalberto:dev

Conversation

@canoalberto
Copy link
Contributor

Description

Added shared.cmd_opts.data_dir prefix to "outputs" and "log" paths.

Fixes the issue where hardcoded default "outputs" and "log" paths may not be writable and enables placing them under --data-dir option path.

Screenshots/videos:

NA

Checklist:

@w-e-w
Copy link
Collaborator

w-e-w commented Dec 27, 2023

related conversation
#14442 (comment)


lol didn't realize you basically have the same idea as me

@w-e-w w-e-w mentioned this pull request Dec 27, 2023
4 tasks
@w-e-w
Copy link
Collaborator

w-e-w commented Dec 27, 2023

I made an alternative implementation with some changes see PR #14446

namely truncating the path to CWD when possible (so if one is not using --data-dir it behave the same as before)

I added you as co-author

@AUTOMATIC1111
Copy link
Owner

I merged the other one. Just was wew proposes, I'd rather not absolute paths to config by default.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants