Spaces:
Runtime error
Runtime error
Commit
•
4ac6d19
1
Parent(s):
37cd4b3
remove int4
Browse files
app.py
CHANGED
@@ -32,7 +32,7 @@ bnb_config = BitsAndBytesConfig(
|
|
32 |
)
|
33 |
|
34 |
tokenizer = AutoTokenizer.from_pretrained("bigscience/bloomz-7b1")
|
35 |
-
model = AutoModelForCausalLM.from_pretrained("bigscience/bloomz-7b1",
|
36 |
print(f"Successfully loaded the model into memory")
|
37 |
|
38 |
|
|
|
32 |
)
|
33 |
|
34 |
tokenizer = AutoTokenizer.from_pretrained("bigscience/bloomz-7b1")
|
35 |
+
model = AutoModelForCausalLM.from_pretrained("bigscience/bloomz-7b1", device_map="auto")
|
36 |
print(f"Successfully loaded the model into memory")
|
37 |
|
38 |
|