dntrplytch commited on
Commit
34d32ce
·
verified ·
1 Parent(s): 9147ca6

update type

Browse files

torch_dtype=torch.float16,

Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -26,7 +26,7 @@ tokenizer = AutoTokenizer.from_pretrained(model_id)
26
  model = AutoModelForCausalLM.from_pretrained(
27
  model_id,
28
  device_map="auto",
29
- torch_dtype=torch.bfloat16,
30
  )
31
  model.eval()
32
 
 
26
  model = AutoModelForCausalLM.from_pretrained(
27
  model_id,
28
  device_map="auto",
29
+ torch_dtype=torch.float16,
30
  )
31
  model.eval()
32