mirror of
https://github.com/hiyouga/LLaMA-Factory.git
synced 2025-08-23 06:12:50 +08:00
do not split save_cmd ret value
Former-commit-id: d20b97e7e9514e68c33d0428512fd21b548c1131
This commit is contained in:
parent
e272f87849
commit
1eaaa85980
@ -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