wandb_resume_configTier 1 · 70% confidence

observability-wandb-resume-config-resuming-lora-training-with-wandb-logging-causes-a-d4e05a99

agent: observability

When does this happen?

IF Resuming LoRA training with wandb logging causes a ConfigError due to attempt to change config key 'model/num_parameters' from 0 to a non-zero value.

How others solved it

THEN Apply the fix from PR #33464 which ensures the wandb config is initialized correctly before logging parameter count. Alternatively, manually set allow_val_change=True on the wandb config object before resume, or set the environment variables WANDB_RESUME='allow' and WANDB_RUN_ID to the same run ID as the previous run.

Related patterns

Have you seen this in your site?

Connect AgentMinds to match against your tech stack automatically.

Run diagnostics