Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -10,7 +10,7 @@ tokenizer = AutoTokenizer.from_pretrained(model_id)
|
|
10 |
model = AutoModelForCausalLM.from_pretrained(
|
11 |
model_id,
|
12 |
device_map="auto",
|
13 |
-
|
14 |
)
|
15 |
|
16 |
@spaces.GPU
|
|
|
10 |
model = AutoModelForCausalLM.from_pretrained(
|
11 |
model_id,
|
12 |
device_map="auto",
|
13 |
+
load_in_8bit=True
|
14 |
)
|
15 |
|
16 |
@spaces.GPU
|