dx2102 commited on
Commit
a53a488
·
verified ·
1 Parent(s): 6130705

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -18,8 +18,9 @@ print('Loading model...')
18
  pipe = transformers.pipeline(
19
  "text-generation",
20
  model="dx2102/llama-midi",
 
21
  torch_dtype="bfloat16",
22
- device_map="auto",
23
  )
24
  print('Done')
25
 
 
18
  pipe = transformers.pipeline(
19
  "text-generation",
20
  model="dx2102/llama-midi",
21
+ revision="c303c108399aba837146e893375849b918f413b3",
22
  torch_dtype="bfloat16",
23
+ device="cuda",
24
  )
25
  print('Done')
26