Update app.py
Browse files
app.py
CHANGED
@@ -24,7 +24,7 @@ model = AutoModelForCausalLM.from_pretrained(
|
|
24 |
device_map="auto",
|
25 |
use_safetensors=True,
|
26 |
trust_remote_code=True,
|
27 |
-
|
28 |
torch_dtype=torch.bfloat16
|
29 |
)
|
30 |
|
|
|
24 |
device_map="auto",
|
25 |
use_safetensors=True,
|
26 |
trust_remote_code=True,
|
27 |
+
load_in_8bit=True,
|
28 |
torch_dtype=torch.bfloat16
|
29 |
)
|
30 |
|