abenkbp commited on
Commit
58cc6a9
·
1 Parent(s): 926dc2c
Files changed (1) hide show
  1. data/models/llama3-1-8b.py +1 -1
data/models/llama3-1-8b.py CHANGED
@@ -17,7 +17,7 @@ pipeline = transformers.pipeline(
17
  "text-generation",
18
  model=model_id,
19
  model_kwargs={"torch_dtype": torch.bfloat16},
20
- device=0,
21
  token=True
22
  )
23
 
 
17
  "text-generation",
18
  model=model_id,
19
  model_kwargs={"torch_dtype": torch.bfloat16},
20
+ device="cuda",
21
  token=True
22
  )
23