Spaces:
Runtime error
Runtime error
upd
Browse files
app.py
CHANGED
@@ -68,7 +68,7 @@ def evaluate(
|
|
68 |
def load_lora(lora_path, base_model="decapoda-research/llama-7b-hf"):
|
69 |
model = LlamaForCausalLM.from_pretrained(
|
70 |
base_model,
|
71 |
-
load_in_8bit=True,
|
72 |
# device_map=device_map,
|
73 |
low_cpu_mem_usage=True,
|
74 |
torch_type=torch.float16,
|
|
|
68 |
def load_lora(lora_path, base_model="decapoda-research/llama-7b-hf"):
|
69 |
model = LlamaForCausalLM.from_pretrained(
|
70 |
base_model,
|
71 |
+
# load_in_8bit=True,
|
72 |
# device_map=device_map,
|
73 |
low_cpu_mem_usage=True,
|
74 |
torch_type=torch.float16,
|