Closed SirWaffle closed 2 years ago
As a general concept, .so files (shared object) are the equivalent of .dll (dynamic linked library) on windows.
But .so is for linux and android.
Thus, I believe it would take a recompile for Windows before you would be able to run on Windows.
note - you may want to just run using Windows subsystem for Linux (WSL) and then you should be able to run as expected. Alternatively, this is a cuda related file so you may want to check the nvidia forums as well.
Hi @SirWaffle ! Thanks for your message, you may want to check this issue: https://github.com/TimDettmers/bitsandbytes/issues/17 as I think you had more or less the same issue but not sure
Currently, the library does not offer Windows support. It would be great if you can help us to make it work under Windows. For that, the first step is to compile from source on a Windows machine.
Let's move this discussion to issue #30.
Bitsandbytes was not supported windows before, but my method can support windows.(yuhuang) 1 open folder J:\StableDiffusion\sdwebui,Click the address bar of the folder and enter CMD or WIN+R, CMD 。enter,cd /d J:\StableDiffusion\sdwebui 2 J:\StableDiffusion\sdwebui\py310\python.exe -m pip uninstall bitsandbytes
3 J:\StableDiffusion\sdwebui\py310\python.exe -m pip uninstall bitsandbytes-windows
4 J:\StableDiffusion\sdwebui\py310\python.exe -m pip install https://github.com/jllllll/bitsandbytes-windows-webui/releases/download/wheels/bitsandbytes-0.41.1-py3-none-win_amd64.whl
Replace your SD venv directory file(python.exe Folder) here(J:\StableDiffusion\sdwebui\py310)
I am running on windows, using miniconda3 and python 3.9.
I have cudatoolkit, cudnn, pytorch, transformers, accelerate, bitsandbytes, and dependencies installed via conda.
when attempting to run a simple test script:
I see this error when running from a vscode session:
and this output:
I see that its searching for libcudart.so, which is non-existent on my machine.
Is this file supposed to exist in windows? Or do I need to do some trickery to get this working on windows?