Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Kohya GUI not passing accelerate arguments correctly #3097

Open
johnbrownlow opened this issue Feb 26, 2025 · 0 comments
Open

Kohya GUI not passing accelerate arguments correctly #3097

johnbrownlow opened this issue Feb 26, 2025 · 0 comments

Comments

@johnbrownlow
Copy link

See below. This is a fresh install. I have two GPUs in this machine but in the 'accelerate' section of the GUI, the number of processes is set to 1 and the multi gpu flag is unset.

I suspect this is to do with accelerate not being able to create a config file because HF_HOME has not been set or something similar. There is no config file in the ./cache/huggingface directory,or anywhere else you'd expect to find it.

14:05:31-383833 INFO Executing command:
E:\StabilityMatrix-win-x64\Data\Packages\kohya_ss\venv
\Scripts\accelerate.EXE launch --dynamo_backend no
--dynamo_mode default --num_processes=1 --gpu_ids 0
--mixed_precision fp16 --num_processes 1
--num_machines 1 --num_cpu_threads_per_process 2

E:/StabilityMatrix-win-x64/Data/Packages/kohya_ss/sd-s
cripts/sdxl_train_network.py --config_file
E:/StabilityMatrix-win-x64/Data/Packages/kohya_ss/data
set\model/config_lora-20250226-140531.toml
14:05:31-390902 INFO Command executed.
The following values were not passed to accelerate launch and had defaults used instead:
More than one GPU was found, enabling multi-GPU training.
If this was unintended please pass in --num_processes=1.

To avoid this warning pass in values for each of the problematic parameters or run accelerate config.

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

No branches or pull requests

1 participant