mert-kurttutan/torchview
torchview: visualize pytorch models observed · 2026-08-28
Health v2 · maintenance only
54/100
- Activity 69
- Release rhythm 8
- Longevity 99
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 1394
- days_rel: 673
- days_push: 188
- n_releases_24m: 1
Adoption not part of the score
1072 stars · 49 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
torchview is a Python library that visualizes PyTorch models as visual graphs, showing tensors, modules, torch functions, and input/output shapes. It is the PyTorch equivalent of Keras's plot_model, supporting meta tensors, RNNs, skip connections, and Hugging Face models.
Use cases
- visualize pytorch model architecture as a graph
- show input and output shapes of pytorch model layers
- plot pytorch model like keras plot_model
- inspect operations between tensors in a neural network
- visualize large models without consuming memory using meta tensors
- generate architecture diagrams for hugging face models
When to choose
- you need architecture diagrams of PyTorch models with layer shapes
- you want a Keras plot_model equivalent for PyTorch
- you need to visualize very large models without memory overhead via meta tensors
- you want to see tensor operations, not just module calls
When to avoid
- you need training metrics dashboards or profiling rather than architecture graphs
- you work outside PyTorch (e.g., TensorFlow or JAX)
- you cannot install the Graphviz system dependency
Facets
library · maturity active
data-visualization developer-tools deep-learning machine-learning data-visualization python cross-platform pytorch graphviz model-visualization neural-networks torchviz
3 sources
- readme: https://github.com/mert-kurttutan/torchview · fetched 2026-08-28 · a517ebcf6553
- homepage: https://mert-kurttutan.github.io/torchview/ · fetched 2026-08-29 · b183506485b2
- registry_pypi: https://pypi.org/pypi/torchview/json · fetched 2026-08-29 · 9af94f5c92c6
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| mert-kurttutan/torchview | main | 54 |
For agents
markdown · JSON · MCP: product_card(name="mert-kurttutan/torchview")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem