fix
parent
3febb4d3ef
commit
3e9fb3d54e
|
|
@ -21,7 +21,7 @@ def run_train(toml_path: str,
|
|||
"--config_file", toml_path,
|
||||
]
|
||||
if multi_gpu:
|
||||
args[3:2] = ["--multi_gpu", "--num_processes=2"]
|
||||
args[3:3] = ["--multi_gpu", "--num_processes", "2"]
|
||||
|
||||
customize_env = os.environ.copy()
|
||||
customize_env["ACCELERATE_DISABLE_RICH"] = "1"
|
||||
|
|
|
|||
Loading…
Reference in New Issue