Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -6,7 +6,6 @@ model = AutoModelForCausalLM.from_pretrained(
|
|
6 |
"Trelis/Llama-2-7b-chat-hf-sharded-bf16",
|
7 |
torch_dtype=torch.bfloat16,
|
8 |
trust_remote_code=True,
|
9 |
-
device_map="auto",
|
10 |
low_cpu_mem_usage=True,
|
11 |
device_map = {"": 0}
|
12 |
)
|
|
|
6 |
"Trelis/Llama-2-7b-chat-hf-sharded-bf16",
|
7 |
torch_dtype=torch.bfloat16,
|
8 |
trust_remote_code=True,
|
|
|
9 |
low_cpu_mem_usage=True,
|
10 |
device_map = {"": 0}
|
11 |
)
|