yasserrmd commited on
Commit
f006a0c
·
verified ·
1 Parent(s): 27be402

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -7,7 +7,7 @@ model_name = "yasserrmd/SmolLM2-156M-synthetic-dlp"
7
  model = AutoModelForCausalLM.from_pretrained(
8
  model_name,
9
  load_in_8bit=True,
10
- device="cuda"
11
  )
12
  tokenizer = AutoTokenizer.from_pretrained(model_name)
13
 
 
7
  model = AutoModelForCausalLM.from_pretrained(
8
  model_name,
9
  load_in_8bit=True,
10
+ device_map ="cuda"
11
  )
12
  tokenizer = AutoTokenizer.from_pretrained(model_name)
13