Update app.py
Browse files
app.py
CHANGED
|
@@ -45,10 +45,10 @@ with init_empty_weights():
|
|
| 45 |
# torch_dtype= torch.uint8,
|
| 46 |
torch_dtype=torch.float16,
|
| 47 |
# torch_dtype=torch.fl,
|
| 48 |
-
attn_implementation="flash_attention_2",
|
| 49 |
-
low_cpu_mem_usage=True,
|
| 50 |
# llm_int8_enable_fp32_cpu_offload=True,
|
| 51 |
-
device_map='cuda',
|
| 52 |
|
| 53 |
)
|
| 54 |
|
|
|
|
| 45 |
# torch_dtype= torch.uint8,
|
| 46 |
torch_dtype=torch.float16,
|
| 47 |
# torch_dtype=torch.fl,
|
| 48 |
+
# attn_implementation="flash_attention_2",
|
| 49 |
+
# low_cpu_mem_usage=True,
|
| 50 |
# llm_int8_enable_fp32_cpu_offload=True,
|
| 51 |
+
# device_map='cuda',
|
| 52 |
|
| 53 |
)
|
| 54 |
|