Spaces:
Runtime error
Runtime error
Update ChatHaruhi/Qwen118k2GPT.py
Browse files
ChatHaruhi/Qwen118k2GPT.py
CHANGED
@@ -16,7 +16,6 @@ def initialize_Qwen2LORA(model):
|
|
16 |
if model_qwen is None:
|
17 |
model_qwen = AutoModelForCausalLM.from_pretrained(
|
18 |
model,
|
19 |
-
torch_dtype=torch.float16,
|
20 |
device_map="auto",
|
21 |
trust_remote_code=True
|
22 |
)
|
|
|
16 |
if model_qwen is None:
|
17 |
model_qwen = AutoModelForCausalLM.from_pretrained(
|
18 |
model,
|
|
|
19 |
device_map="auto",
|
20 |
trust_remote_code=True
|
21 |
)
|