Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
from transformers import BitsAndBytesConfig
|
2 |
-
|
3 |
MODEL_ID = "mistralai/Mixtral-8x7B-Instruct-v0.1" # FP16 weights
|
4 |
bnb_cfg = BitsAndBytesConfig(
|
5 |
load_in_4bit=True,
|
|
|
1 |
from transformers import BitsAndBytesConfig
|
2 |
+
import torch
|
3 |
MODEL_ID = "mistralai/Mixtral-8x7B-Instruct-v0.1" # FP16 weights
|
4 |
bnb_cfg = BitsAndBytesConfig(
|
5 |
load_in_4bit=True,
|