CoderCowMoo commited on
Commit
84b43c9
Β·
verified Β·
1 Parent(s): 125b498

Might've been adding device= in wrong spot.

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -20,6 +20,7 @@ quantize_config = BaseQuantizeConfig(
20
  )
21
  model = AutoGPTQForCausalLM.from_quantized(
22
  model_id,
 
23
  use_safetensors=True,
24
  quantize_config=quantize_config).eval()
25
 
 
20
  )
21
  model = AutoGPTQForCausalLM.from_quantized(
22
  model_id,
23
+ device="cuda"
24
  use_safetensors=True,
25
  quantize_config=quantize_config).eval()
26