Skip to content

Commit 9ebc230

Browse files
committed
add finy fix for wandb run id
1 parent 277cb22 commit 9ebc230

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

train.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ def train(args):
1515
# allocate the GPUs
1616
pgs = create_placement_groups(args)
1717
wandb_run_id = init_wandb_primary(args)
18+
args.wandb_run_id = wandb_run_id
1819

1920
# create the rollout manager, with sglang engines inside.
2021
# need to initialize rollout manager first to calculate num_rollout

train_async.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ def train(args):
1010
# allocate the GPUs
1111
pgs = create_placement_groups(args)
1212
wandb_run_id = init_wandb_primary(args)
13+
args.wandb_run_id = wandb_run_id
1314

1415
# create the rollout manager, with sglang engines inside.
1516
# need to initialize rollout manager first to calculate num_rollout

0 commit comments

Comments
 (0)