bitsandbytes icon indicating copy to clipboard operation
bitsandbytes copied to clipboard

Release v44 not available for Mac

Open ACMCMC opened this issue 1 year ago • 3 comments

System Info

platform: Mac

Reproduction

pip install bitsandbytes

It will install v42 instead of v44.

Then, if you try to load any model with quantization, you will get this error:

ImportError: Using bitsandbytes 4-bit quantization requires the latest version of bitsandbytes: pip install -U bitsandbytes

Expected behavior

Installing v44 shouldn't show any import errors. But it currently does, on Mac systems, as the latest available version for Mac is v42.

Indeed, while v42 had support for all architectures:


Built Distribution

bitsandbytes-0.42.0-py3-none-any.whl (105.0 MB view hashes)

Uploaded  Python 3

ACMCMC avatar Sep 30 '24 15:09 ACMCMC

Hi @ACMCMC, None of the releases are supported on macOS yet. Releases up through 0.42.0 were incorrectly tagged as supporting all platforms, but this was an oversight. Those older wheels only contain x86-64 binaries for Linux.

matthewdouglas avatar Sep 30 '24 15:09 matthewdouglas

In that case, I'd propose that Mac users should get a warning, rather than being told to "use the latest version" of something that they can't use at all... 🙏🏻

ACMCMC avatar Sep 30 '24 15:09 ACMCMC

on TPU VM env, im getting same error!

while installed bitsandbytes via pip install -U bitsandbytes, it still throws:

ImportError: Using bitsandbytes 4-bit quantization requires the latest version of bitsandbytes: pip install -U bitsandbytes

steveepreston avatar Oct 12 '24 17:10 steveepreston

+1

wuhongsheng avatar Oct 30 '24 02:10 wuhongsheng

+1 got No matching distribution found for bitsandbytes>=0.43.3 and pip install bitsandbytes get version 0.42.0

xring avatar Nov 16 '24 10:11 xring

+1

Collecting accelerate==1.0.1 (from -r requirements-gpu.txt (line 1))
  Downloading accelerate-1.0.1-py3-none-any.whl.metadata (19 kB)
ERROR: Could not find a version that satisfies the requirement bitsandbytes==0.44.1 (from versions: 0.31.8, 0.32.0, 0.32.1, 0.32.2, 0.32.3, 0.33.0, 0.33.1, 0.34.0, 0.35.0, 0.35.1, 0.35.2, 0.35.3, 0.35.4, 0.36.0, 0.36.0.post1, 0.36.0.post2, 0.37.0, 0.37.1, 0.37.2, 0.38.0, 0.38.0.post1, 0.38.0.post2, 0.38.1, 0.39.0, 0.39.1, 0.40.0, 0.40.0.post1, 0.40.0.post2, 0.40.0.post3, 0.40.0.post4, 0.40.1, 0.40.1.post1, 0.40.2, 0.41.0, 0.41.1, 0.41.2, 0.41.2.post1, 0.41.2.post2, 0.41.3, 0.41.3.post1, 0.41.3.post2, 0.42.0)
ERROR: No matching distribution found for bitsandbytes==0.44.1

I am on Mac as well Apple M2 Pro

nikvin15 avatar Dec 05 '24 14:12 nikvin15

+1

chenxijunlove avatar Dec 11 '24 13:12 chenxijunlove

Hi everyone,

Please see the discussion here on Apple Silicon support. Bitsandbytes does not currently support macOS, but we're looking for contributions to make that happen!

matthewdouglas avatar Dec 11 '24 13:12 matthewdouglas

+1

NikVis01 avatar Nov 11 '25 13:11 NikVis01