Spaces:
Runtime error
Runtime error
change device to cuda:0 same as mazaiyahr's repo
Browse files
app.py
CHANGED
@@ -21,7 +21,7 @@ quantize_config = BaseQuantizeConfig(
|
|
21 |
model = AutoGPTQForCausalLM.from_quantized(
|
22 |
model_id,
|
23 |
use_safetensors=True,
|
24 |
-
device="cuda",
|
25 |
quantize_config=quantize_config).eval()
|
26 |
|
27 |
|
|
|
21 |
model = AutoGPTQForCausalLM.from_quantized(
|
22 |
model_id,
|
23 |
use_safetensors=True,
|
24 |
+
device="cuda:0",
|
25 |
quantize_config=quantize_config).eval()
|
26 |
|
27 |
|