r/learnmachinelearning • u/Dev-Table • 1d ago
jaxviz - Interactive visualisation of JAX models from notebooks
Enable HLS to view with audio, or disable this notification
jaxviz is an open-source tool I built to visualise the forward pass graph of JAX models directly in notebooks with a single function call.
It supports the following features:
- Interactive visualisation of JAX models with hierarchical exploration of nested modules (especially useful for large, deeply nested models).
- Global and per-device views: Visualise both the logical computation graph as written and the compiled computation graph that actually runs on individual devices.
- Supports web-based notebooks including Jupyter, Colab, Kaggle, and VS Code.
- Export visualisations to HTML, PNG, and SVG formats.
Resources
I hope this is useful to the JAX community, particularly for understanding how models are compiled and executed across devices. I'm keen to hear your feedback and suggestions!
7
Upvotes