jtordable commited on
Commit
b893fc1
·
verified ·
1 Parent(s): 0c7ad0f

Update app.py

Browse files
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.float32
30
  )
31
 
32
  @spaces.GPU
 
26
  model = AutoModelForCausalLM.from_pretrained(
27
  model_id,
28
  device_map="auto",
29
+ torch_dtype=torch.float16
30
  )
31
 
32
  @spaces.GPU