simone-papicchio commited on
Commit
7e9dee7
·
1 Parent(s): ccba587

fix: torch not defined

Browse files
Files changed (1) hide show
  1. prediction.py +1 -1
prediction.py CHANGED
@@ -27,7 +27,7 @@ from tqdm import tqdm
27
  pipeline = hf_pipeline(
28
  "text-generation",
29
  model="meta-llama/Meta-Llama-3.1-8B-Instruct",
30
- model_kwargs={"torch_dtype": torch.bfloat16},
31
  )
32
  pipeline.to('cuda')
33
 
 
27
  pipeline = hf_pipeline(
28
  "text-generation",
29
  model="meta-llama/Meta-Llama-3.1-8B-Instruct",
30
+ model_kwargs={"torch_dtype": 'bfloat16'},
31
  )
32
  pipeline.to('cuda')
33