Skip to content

Commit 402b03e

Browse files
committed
fix: use kwargs to avoid parameter misalignments in XpkTask
1 parent c966cfa commit 402b03e

1 file changed

Lines changed: 8 additions & 7 deletions

File tree

xlml/apis/task.py

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -368,13 +368,14 @@ def run(
368368
"""
369369
with TaskGroup(group_id=self.task_test_config.benchmark_id) as group:
370370
run_model, gcs_path = self.run_model(
371-
gcs_location,
372-
use_vertex_tensorboard,
373-
use_pathways,
374-
ramdisk_directory,
375-
mtc_enabled,
376-
xpk_branch,
377-
max_restart,
371+
gcs_location=gcs_location,
372+
use_vertex_tensorboard=use_vertex_tensorboard,
373+
use_pathways=use_pathways,
374+
skip_post_process=skip_post_process,
375+
ramdisk_directory=ramdisk_directory,
376+
mtc_enabled=mtc_enabled,
377+
xpk_branch=xpk_branch,
378+
max_restart=max_restart,
378379
)
379380
if not skip_post_process:
380381
_ = run_model >> self.post_process(gcs_path)

0 commit comments

Comments
 (0)