Skip to content

Commit 489bbf7

Browse files
authored
pin bitsandbytes!=0.46 due to int8_double_quant with ValueError (#20934)
1 parent e11fae5 commit 489bbf7

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

requirements/fabric/strategies.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,5 @@
66
# note: is a bug around 0.10 with `MPS_Accelerator must implement all abstract methods`
77
# shall be resolved by https://github.com/microsoft/DeepSpeed/issues/4372
88
deepspeed >=0.8.2, <=0.9.3; platform_system != "Windows" and platform_system != "Darwin" # strict
9-
bitsandbytes >=0.45.2,<0.47.0; platform_system != "Darwin"
9+
# skip bitsandbytes==0.46, due to ValueError: too many values to unpack (expected 2)
10+
bitsandbytes >=0.45.2,!=0.46,<0.47.0; platform_system != "Darwin"

requirements/pytorch/extra.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,5 @@ hydra-core >=1.2.0, <1.4.0
88
jsonargparse[signatures,jsonnet] >=4.39.0, <4.41.0
99
rich >=12.3.0, <14.1.0
1010
tensorboardX >=2.2, <2.7.0 # min version is set by torch.onnx missing attribute
11-
bitsandbytes >=0.45.2,<0.47.0; platform_system != "Darwin"
11+
# skip bitsandbytes==0.46, due to ValueError: too many values to unpack (expected 2)
12+
bitsandbytes >=0.45.2,!=0.46,<0.47.0; platform_system != "Darwin"

0 commit comments

Comments
 (0)