Spaces:
Running
on
Zero
Running
on
Zero
Daemontatox
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -80,7 +80,7 @@ def initialize_model():
|
|
80 |
model = AutoModelForCausalLM.from_pretrained(
|
81 |
MODEL_ID,
|
82 |
torch_dtype=torch.float16,
|
83 |
-
device_map="
|
84 |
attn_implementation="flash_attention_2",
|
85 |
# quantization_config=quantization_config
|
86 |
|
|
|
80 |
model = AutoModelForCausalLM.from_pretrained(
|
81 |
MODEL_ID,
|
82 |
torch_dtype=torch.float16,
|
83 |
+
device_map="cuda",
|
84 |
attn_implementation="flash_attention_2",
|
85 |
# quantization_config=quantization_config
|
86 |
|