Update app.py
Browse files
app.py
CHANGED
@@ -60,7 +60,7 @@ accelerator = Accelerator()
|
|
60 |
|
61 |
model = AutoModelForCausalLM.from_pretrained(model_id, token= token,
|
62 |
# torch_dtype= torch.uint8,
|
63 |
-
torch_dtype=torch.
|
64 |
# load_in_8bit=True,
|
65 |
# # # torch_dtype=torch.fl,
|
66 |
attn_implementation="flash_attention_2",
|
|
|
60 |
|
61 |
model = AutoModelForCausalLM.from_pretrained(model_id, token= token,
|
62 |
# torch_dtype= torch.uint8,
|
63 |
+
torch_dtype=torch.bfloat16,
|
64 |
# load_in_8bit=True,
|
65 |
# # # torch_dtype=torch.fl,
|
66 |
attn_implementation="flash_attention_2",
|