Skip to content

NaNsense

See what your neural network is doing while it trains.

Live playground

The playground may take a minute or two to start. The video below gives you a quick tour while it loads.

NaNsense is a visual debugger for PyTorch. Pause training, step through batches, revisit earlier epochs, and inspect activations, gradients, weights, and optimizer state.

🕹️ Try the Playground ✨ Integrate with one prompt 🤖 Debug with a coding agent

See the Showcase for screenshots, Getting started to run an example, and the Wiring guide to add NaNsense to your project. A coding agent can also inspect the same session with nansense-cli.

How is this different from wandb or TensorBoard?

Experiment trackers show that a run went wrong. NaNsense helps you find where it went wrong inside the network—for example, a layer with dead channels or underflowing gradients.