rphrp1985 commited on
Commit
db3767f
·
verified ·
1 Parent(s): 9b28aea

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -70,7 +70,7 @@ model = AutoModelForCausalLM.from_pretrained(model_id, token= token,
70
  attn_implementation="flash_attention_2",
71
  low_cpu_mem_usage=True,
72
  trust_remote_code=True,
73
- # device_map='cuda',
74
  # device_map=accelerator.device_map,
75
 
76
  )
 
70
  attn_implementation="flash_attention_2",
71
  low_cpu_mem_usage=True,
72
  trust_remote_code=True,
73
+ device_map='cuda',
74
  # device_map=accelerator.device_map,
75
 
76
  )