Update app.py
Browse files
app.py
CHANGED
@@ -59,8 +59,8 @@ tokenizer = AutoTokenizer.from_pretrained(
|
|
59 |
|
60 |
model = AutoModelForCausalLM.from_pretrained(model_id, token= token,
|
61 |
# torch_dtype= torch.uint8,
|
62 |
-
torch_dtype=torch.
|
63 |
-
load_in_16bit=True,
|
64 |
# # # torch_dtype=torch.fl,
|
65 |
# attn_implementation="flash_attention_2",
|
66 |
# low_cpu_mem_usage=True,
|
|
|
59 |
|
60 |
model = AutoModelForCausalLM.from_pretrained(model_id, token= token,
|
61 |
# torch_dtype= torch.uint8,
|
62 |
+
torch_dtype=torch.float32,
|
63 |
+
# load_in_16bit=True,
|
64 |
# # # torch_dtype=torch.fl,
|
65 |
# attn_implementation="flash_attention_2",
|
66 |
# low_cpu_mem_usage=True,
|