wandb-experiment-tracking

Log batch and epoch metrics, configs, and system telemetry to Weights & Biases.

10|1|Updated Feb 21, 2026
One-click install
npx skills add https://github.com/dongzhuoyao/tao-research-skills --skill wandb-experiment-tracking
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: wandb-experiment-tracking
Source: https://github.com/dongzhuoyao/tao-research-skills/tree/main/wandb-experiment-tracking
Command: npx skills add https://github.com/dongzhuoyao/tao-research-skills --skill wandb-experiment-tracking

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Ensures experiment logs, resolved configs, and system telemetry are consistently captured in Weights & Biases so runs are reproducible, debuggable from the dashboard, and comparable without SSH access to compute nodes.

Core Features & Use Cases

  • Config and metadata capture: record the fully resolved experiment config at initialization and log derived values such as parameter counts and GPU model.
  • Two-tier metric logging: separate batch-level metrics (loss, lr, throughput) from epoch-level summaries and always include explicit step and total iteration metadata.
  • HPC and offline support: operate in online or WANDB_MODE=offline modes with clear offline sync workflows and Slurm-aware run naming for easy cross-referencing.
  • System telemetry and console parity: log GPU memory_reserved to match nvidia-smi, ensure terminal logs appear in W&B Logs, and centralize wandb.log calls to avoid fragmentation.
  • Ablation and comparison workflows: group related runs, prefix run names with versioning, and rely on the W&B Python API to programmatically compare runs and access git metadata.

Quick Start

Initialize a wandb run at program start, update wandb.config with the resolved experiment config, and log batch and epoch metrics with explicit step numbers so dashboards show complete, comparable runs.

Frequently Asked Questions about wandb-experiment-tracking

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I log resolved configs and system telemetry for ML training runs to Weights & Biases?

To log resolved configs and system telemetry for W&B experiment tracking, initialize a run at program start, update wandb.config with the resolved experiment setup, and log telemetry like GPU memory to match nvidia-smi.

What is the best way to separate batch-level and epoch-level metrics in W&B?

Separating batch and epoch metrics in W&B requires a two-tier logging approach: log batch-level metrics like loss separately from epoch-level summaries, always including explicit step and total iteration metadata for accurate dashboards.

Can I use W&B offline mode for experiment tracking on HPC clusters without internet access?

Yes, you can use WANDB_MODE=offline for HPC experiment tracking without internet access, utilizing clear offline sync workflows and Slurm-aware run naming to easily cross-reference runs after they complete.

How do I group ablation runs and compare them programmatically using the W&B Python API?

To group ablation runs and compare them programmatically, group related runs in W&B, prefix run names with versioning, and rely on the W&B Python API to access git metadata and query run comparisons.

How do I ensure terminal console logs appear in W&B Logs without SSH access to compute nodes?

To ensure terminal console logs appear in W&B Logs without SSH access, centralize your wandb.log calls to avoid fragmentation and maintain console parity so dashboards remain debuggable from anywhere.