Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -19,6 +19,7 @@ torch.random.manual_seed(0)
|
|
19 |
proc_model_name = "microsoft/Phi-3-mini-4k-instruct"
|
20 |
proc_model = AutoModelForCausalLM.from_pretrained(
|
21 |
proc_model_name,
|
|
|
22 |
trust_remote_code=True,
|
23 |
low_cpu_mem_usage=True,
|
24 |
)
|
|
|
19 |
proc_model_name = "microsoft/Phi-3-mini-4k-instruct"
|
20 |
proc_model = AutoModelForCausalLM.from_pretrained(
|
21 |
proc_model_name,
|
22 |
+
torch_dtype=torch.float16,
|
23 |
trust_remote_code=True,
|
24 |
low_cpu_mem_usage=True,
|
25 |
)
|