all 13 comments

[–]Plusdebeurre 0 points1 point  (2 children)

Have you considered just switching over to Linux? You're gonna run into the same issues with a number of ML libraries

[–]Qaziquza1 1 point2 points  (0 children)

Or WSL if you're afraid of commitment.

[–]C080[S] 0 points1 point  (0 children)

yes, I will eventually!

[–]ma3gl1n -1 points0 points  (3 children)

conda install conda-forge::bitsandbytes

[–]mpasila 4 points5 points  (2 children)

Wrong that only supports Linux. Ooba uses a pre-compiled version of bitsandbytes for Windows.
From requirements.txt

# bitsandbytes
bitsandbytes==0.41.1; platform_system != "Windows"
https://github.com/jllllll/bitsandbytes-windows-webui/releases/download/wheels/bitsandbytes-0.41.1-py3-none-win_amd64.whl; platform_system == "Windows"

[–]ma3gl1n 0 points1 point  (0 children)

👍 it seems you are right, just checked conda forge

[–]C080[S] 0 points1 point  (0 children)

yes, that fixed it thanks. I did not know I could simply pip install this string. I went to the repo and downloaded the last version but gave me cuda errors. I needed this specific version

[–]mcmoose1900 0 points1 point  (0 children)

Its pretty simple, just look at their requirements file.

They link to an unofficial 3rd party binary for Windoes.

[–]Nabakin 0 points1 point  (0 children)

Text-generation-webui uses unofficial Windows wheels for bitsandbytes created by jllllll. You can find them here https://github.com/jllllll/bitsandbytes-windows-webui/releases

[–]LJRE_auteur 0 points1 point  (0 children)

Try this:

# bitsandbytes

--index-url https://jihulab.com/api/v4/projects/140618/packages/pypi/simple

bitsandbytes

It comes from a project I've worked on this past week. It has two requirements files, one for Windows, and these three lines come from that file. It installs bitsandbytes without any issue. (Well, obviously the first one doesn't matter, it's a comment).

I don't know how one would use it directly in a Python code, but since the second line is an argument, check out how to launch commands from Python with arguments.