diffusers icon indicating copy to clipboard operation
diffusers copied to clipboard

problem when training, The following values were not passed to `accelerate launch` and had defaults used instead:

Open ivaxsirc opened this issue 3 years ago • 1 comments

The following values were not passed to accelerate launch and had defaults used instead: --num_cpu_threads_per_process was set to 6 to improve out-of-box performance To avoid this warning pass in values for each of the problematic parameters or run accelerate config. Traceback (most recent call last): File "/home/ivaxsirc/github/diffusers/examples/dreambooth/train_dreambooth.py", line 19, in from torchvision import transforms

I configure accelerate config but not works

thanks

ivaxsirc avatar Oct 08 '22 17:10 ivaxsirc

cc @patil-suraj regarding dreambooth

patrickvonplaten avatar Oct 09 '22 16:10 patrickvonplaten

small ping here @patil-suraj - maybe this is already solved by now?

patrickvonplaten avatar Oct 20 '22 17:10 patrickvonplaten

Hi @ivaxsirc, that warning can be safely ignored. Also if you want to pass that you could do it using

accelerate launch --num_cpu_threads_per_process=6

Regardless, the example should work fine. If not, please post a the stacktrace of the error so we could take a look. Thank you :)

patil-suraj avatar Oct 21 '22 10:10 patil-suraj

This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.

Please note that issues that do not follow the contributing guidelines are likely to be ignored.

github-actions[bot] avatar Nov 14 '22 15:11 github-actions[bot]