Skip to content

Commit f69b3e8

Browse files
authored
Fix a bug in the command line display on the UI. (#6603)
1 parent ea58fce commit f69b3e8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

swift/ui/llm_train/llm_train.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -467,8 +467,8 @@ def train(cls, *args):
467467
else:
468468
cuda_param = ''
469469
if envs:
470-
envs = envs.split(' ')
471-
for env in envs:
470+
env_list = envs.split(' ')
471+
for env in env_list:
472472
k, v = env.split('=')
473473
all_envs[k] = v
474474
log_file = os.path.join(sft_args.logging_dir, 'run.log')

0 commit comments

Comments
 (0)