parth parekh commited on
Commit
678ca1e
β€’
1 Parent(s): 72ff94c

using what worked the first time

Browse files
Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -33,7 +33,7 @@ tokenizer = AutoTokenizer.from_pretrained(MODEL, token=HF_TOKEN, use_fast=True)
33
  model = AutoModelForCausalLM.from_pretrained(
34
  MODEL,
35
  token=HF_TOKEN,
36
- torch_dtype=torch.float64, # Use bfloat16 for CPUs, float16 for GPUs
37
  device_map="auto"
38
  )
39
 
 
33
  model = AutoModelForCausalLM.from_pretrained(
34
  MODEL,
35
  token=HF_TOKEN,
36
+ torch_dtype=torch.float16,
37
  device_map="auto"
38
  )
39