Closed stdkoehler closed 1 year ago
This issue is stale because it has been open 5 days with no activity. Remove stale label or comment or this will be closed in 5 days
farmer bobby from the discord told me, that he overcame the issue by compiling bitsandbytes from source as described in https://github.com/TimDettmers/bitsandbytes
I post this here for later reference. I will try that out as soon as I got some time and give an update here.
I'm using Auto1111 with dreambooth extension on a WSL system with CUDA
On training I always received "NameError: name 'str2optimizer8bit_blockwise' is not defined" from the bitsandbytes package For some reason with WSL (or linux in general?) it seems to require
pip install bitsandbytes-cuda117
after uninstalling regular bitsandbytes (https://www.reddit.com/r/StableDiffusion/comments/118e8gi/nameerror_name_str2optimizer8bit_blockwise_is_not/)To avoid reinstalling bitsandbytes automatically I needed to remove it from dreambooth_extension's requirements.txt Now training works again for me, but upon starting the following error pops up
The error doesn't hurt though. Everything seems to work now with the hack and pip install bitsandbytes-cuda117