NewList your AI tool for $19 $49. Paste a URL and AI drafts the listing.Submit a tool →Already listed? Claim it free.Claim your tool →

tensorViz

Interactive PyTorch model visualization and debugging tool

FreeStarting price
tensorViz featured image

Do you use tensorViz?

Be the first member to say you use it

About tensorViz

tensorViz visualizes PyTorch models directly from Python source code, enabling interactive graph exploration and code inspection. Users can capture a single forward pass to generate a live graph of the model architecture, including layer connections and tensor shapes. The tool supports comparing two revisions of a model, highlighting differences in layers and code changes side by side. It integrates with popular coding environments like VS Code, Cursor, and VSCodium via an editor extension, as well as with coding agents such as Claude Code and Codex through a plugin. tensorViz records model runs without executing the model file, preserving recorded data for later review. The graph interface allows selecting layers to view corresponding Python code, focusing on specific expressions or functions while dimming unrelated code. It also supports importing Hugging Face models by capturing a forward pass and expanding modules to trace tensor flow through the architecture.

Key features

  • Interactive model graph visualization from Python source
  • Layer-by-layer code inspection with source linking
  • Model revision comparison with side-by-side graph and code diff
  • Hugging Face model import and visualization
  • Tensor shape tracking and mismatch detection
  • Code focus mode to isolate specific layers or functions
  • Editor extension for VS Code, Cursor, and VSCodium
  • Coding-agent plugin for Claude Code, Codex, and Cursor

Use cases

  • Debugging PyTorch model architectures and tensor shapes
  • Comparing changes between model revisions before deployment
  • Exploring Hugging Face model architectures interactively

Pros

  • Interactive graph visualization of PyTorch models from source code
  • Supports model comparison between revisions with code diffs
  • Integrates with VS Code, Cursor, VSCodium, and coding agents
  • Records model runs without executing the model file
  • Links graph nodes to Python source code for direct inspection

Cons

  • Requires installation of editor extension or coding-agent plugin
  • Limited to PyTorch models only
  • No native support for models outside PyTorch ecosystem
  • Recorded data requires manual capture of forward passes

Frequently asked questions about tensorViz

What does tensorViz do?

tensorViz visualizes PyTorch models directly from Python source code as interactive graphs, showing layer connections, tensor shapes, and code relationships without requiring model execution or conversion tools like torch.export or ONNX.

Who is tensorViz designed for?

The tool is designed for developers, researchers, and coding agents working with PyTorch models who need to inspect, debug, or collaborate on model architectures through an interactive graph interface.

How do I get started with tensorViz?

Install the VS Code, Cursor, or VSCodium extension, or add the coding-agent plugin to agents like Claude Code or Codex. Then open your model class in the editor or run a forward pass to generate the graph.

Can tensorViz compare two versions of a model?

Yes, tensorViz supports comparing two revisions of a model side by side, highlighting differences in layers, connections, and code changes while displaying the graph and Python diff together.

Does tensorViz work with Hugging Face models?

Yes, tensorViz can import Hugging Face models by capturing a forward pass and expanding modules to trace tensor flow through the architecture, allowing interactive exploration of the model graph.

What integrations does tensorViz support?

tensorViz integrates with VS Code, Cursor, and VSCodium via an editor extension, and with coding agents such as Claude Code and Codex through a plugin, enabling consistent graph visualization across environments.

Reviews