Skip to content

Commit c20b641

Browse files
yonromaiclaude
andcommitted
Set replicate_path on grug WandbConfig so tracker_metrics.jsonl is written
All three grug launch templates (moe, base, modular_opt) constructed WandbConfig without replicate_path, so WandbTracker.finish() skipped writing tracker_metrics.jsonl. Downstream consumers like validate_canary_metrics.py then failed with FileNotFoundError. Match experiments/defaults.py by setting replicate_path=this_output_path() at construction time. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 0b1f1ec commit c20b641

3 files changed

Lines changed: 3 additions & 0 deletions

File tree

experiments/grug/base/launch.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,7 @@ def run_grug_base_trial(config: GrugBaseLaunchConfig) -> None:
141141
tags=["grug", "template"],
142142
group="grug-base-trial",
143143
name=None, # filled from run_id in _resolve_tracker
144+
replicate_path=this_output_path(),
144145
),
145146
optimizer=versioned(
146147
AdamConfig(

experiments/grug/modular_opt/launch.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -247,6 +247,7 @@ def run_grug_modular_opt_trial(config: GrugModularOptLaunchConfig) -> None:
247247
tags=["grug", "template", "modular_opt", "issue-3075"],
248248
group="grug-modular-opt-trial",
249249
name=None, # filled from run_id in _resolve_tracker
250+
replicate_path=this_output_path(),
250251
),
251252
optimizer=versioned(
252253
GrugParamGroupAdamConfig(

experiments/grug/moe/launch.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,7 @@ def run_grug_moe_trial(config: GrugMoeLaunchConfig) -> None:
146146
tags=["grug", "template", "moe"],
147147
group="grug-moe-trial",
148148
name=None, # filled from run_id in _resolve_tracker
149+
replicate_path=this_output_path(),
149150
),
150151
optimizer=versioned(
151152
AdamConfig(

0 commit comments

Comments
 (0)