Modern recommendation models are so large they must be sharded across multiple GPUs, making local debugging impossible.
This caused costly GPU usage, long iteration cycles, and delayed feature delivery.
The team solved it by: 👉 Capture runtime tensors, weights and init args with ModuleTracer. 👉 Persist captured state in a WandB-backed ModuleRepo. 👉 Consume traces via Jupyter extensions or LLM agents for fast profiling.
The parts that matter: 1️⃣ ModuleTracer - records inputs, outputs, parameters and init arguments during a single training step 2️⃣ ModuleRepo - stores each module as a versioned artifact in a WandB registry
Engineers can isolate any given module, avoid multi-GPU model initialization entirely, and reconstruct and profile it locally within seconds.
Capturing traces adds a small GPU overhead during the warm-up step and requires persistent storage in the WandB registry. Maintaining versioned artifacts also introduces operational complexity for cleanup and access control.
How do you balance trace overhead against debugging speed in large distributed models?