# tensorViz

> Interactive PyTorch model graphs from your source code, no export step

- Page: https://www.whatwemade.app/p/tensorviz
- What it is: Developer tool (also Browser extension and MCP server), for engineering, also learning
- Made by: [Ayush Pratap Singh](https://www.whatwemade.app/u/ayush-pratap-singh)
- Run it yourself: get the code and run your own copy
- Website: https://tensorviz.dev
- Code: https://github.com/tensorviz-org/tensorviz (MIT, 3 stars)
- Wants contributors
- Tags: pytorch, model-visualization, neural-network, graph, python
- Upvotes: 0, comments: 0

## About

tensorViz draws a PyTorch model as an interactive graph, straight from the Python source in your project. It captures one ordinary eager forward call and records measured tensor shapes, without torch.export, TorchScript or ONNX.

Each layer links back to its code, so you can select a node and read the Python behind it. Graph review compares two revisions of a model layer by layer, with the code diff beside the graph. It runs as a VS Code, Cursor or VSCodium extension, and as a coding-agent plugin for Claude Code, Codex or Cursor, where an agent can inspect the graph and propose edits you review before accepting.

It is free and open source under the MIT license. Core graph tools do not need an AI subscription or provider key. Model code runs on your own machine in the Python environment you choose.

## How it was made

- Claude Code, 65% of the work
- ChatGPT, 35% of the work

Shared on WhatWeMade: https://www.whatwemade.app/p/tensorviz
