skaltenp commited on
Commit
9affd7f
·
verified ·
1 Parent(s): 28ffec1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -11,7 +11,7 @@ bnb_config = BitsAndBytesConfig(
11
  base_model = AutoModelForCausalLM.from_pretrained(
12
  model_name,
13
  quantization_config=bnb_config,
14
- device_map="auto",
15
  trust_remote_code=True,
16
  #token=True,
17
  )
 
11
  base_model = AutoModelForCausalLM.from_pretrained(
12
  model_name,
13
  quantization_config=bnb_config,
14
+ device_map="cuda:0",
15
  trust_remote_code=True,
16
  #token=True,
17
  )