Skip to content

Commit 3785cb9

Browse files
slin000111vx120
authored andcommitted
Fix a bug in the command line display on the UI. (modelscope#6603)
1 parent d932941 commit 3785cb9

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
@@ -473,8 +473,8 @@ def train(cls, *args):
473473
else:
474474
cuda_param = ''
475475
if envs:
476-
envs = envs.split(' ')
477-
for env in envs:
476+
env_list = envs.split(' ')
477+
for env in env_list:
478478
k, v = env.split('=')
479479
all_envs[k] = v
480480
log_file = os.path.join(sft_args.logging_dir, 'run.log')

0 commit comments

Comments
 (0)