mirror of
https://github.com/hiyouga/LLaMA-Factory.git
synced 2025-10-14 23:58:11 +08:00
do not split save_cmd ret value
Former-commit-id: 1e312072fb4a9f472e2d3fa7e6b4fb0aec00b566
This commit is contained in:
parent
aaa7ed8712
commit
b852c895cf
@ -320,12 +320,7 @@ class Runner:
|
||||
if args.get("deepspeed", None) is not None:
|
||||
env["FORCE_TORCHRUN"] = "1"
|
||||
|
||||
cmd = [
|
||||
"llamafactory-cli",
|
||||
"train",
|
||||
*save_cmd(args).split(),
|
||||
]
|
||||
self.trainer = Popen(cmd, env=env)
|
||||
self.trainer = Popen(["llamafactory-cli", "train", save_cmd(args)], env=env)
|
||||
yield from self.monitor()
|
||||
|
||||
def _form_config_dict(self, data: Dict["Component", Any]) -> Dict[str, Any]:
|
||||
|
Loading…
x
Reference in New Issue
Block a user