mirror of
https://github.com/hiyouga/LLaMA-Factory.git
synced 2025-09-13 00:22:48 +08:00
Merge pull request #6384 from hiyouga/hiyouga/fix_webui
[webui] fix webui args Former-commit-id: 6ccd64ecd9089d8694decde3186836bd8e5df511
This commit is contained in:
commit
d6ce1045f7
@ -91,6 +91,7 @@ class WebChatModel(ChatModel):
|
||||
rope_scaling=get("top.rope_scaling") if get("top.rope_scaling") in ["linear", "dynamic"] else None,
|
||||
infer_backend=get("infer.infer_backend"),
|
||||
infer_dtype=get("infer.infer_dtype"),
|
||||
trust_remote_code=True,
|
||||
)
|
||||
|
||||
if checkpoint_path:
|
||||
|
@ -84,6 +84,7 @@ def save_model(
|
||||
export_quantization_dataset=export_quantization_dataset,
|
||||
export_device=export_device,
|
||||
export_legacy_format=export_legacy_format,
|
||||
trust_remote_code=True,
|
||||
)
|
||||
|
||||
if checkpoint_path:
|
||||
|
Loading…
x
Reference in New Issue
Block a user