Skip to content

Commit

Permalink
Fixed bitsandbytes imports for nf4 (#72)
Browse files Browse the repository at this point in the history
  • Loading branch information
tgaddair authored Nov 27, 2023
1 parent 8347f58 commit ffc8049
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/lorax_server/utils/layers.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
HAS_BITS_AND_BYTES = True
try:
import bitsandbytes as bnb
from bitsandbytes.nn import Int8Params
from bitsandbytes.nn import Int8Params, Params4bit

except ImportError:
HAS_BITS_AND_BYTES = False
Expand Down

0 comments on commit ffc8049

Please sign in to comment.