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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -6,7 +6,8 @@ import spaces
6
  model_name = "yasserrmd/SmolLM2-156M-synthetic-dlp"
7
  model = AutoModelForCausalLM.from_pretrained(
8
  model_name,
9
- load_in_8bit=True
 
10
  )
11
  tokenizer = AutoTokenizer.from_pretrained(model_name)
12
 
 
6
  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