lutzroeder/netron
JavaScript model viewer for inspecting exports across ML frameworks
Automated SPDX check for reference only — not legal advice. Disclaimer
GitHub Star History
Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.
Evidence-Backed Technical Brief
AI Deep ReviewArchitecture & Core Mechanics
Netron is a JavaScript model-artifact viewer with browser and desktop interfaces and a Python launch path. It reads the selected artifact in its supported format and presents a visual representation of what was serialized. It sits after model export and before target-runtime validation: opening a file does not execute the model or serve predictions.
The repository separates source/, test/, tools/, and publish/. The npm manifest exposes start, server, build, test, and validate scripts and lists electron-updater as its sole runtime dependency. Python packaging uses setuptools>=42 and wheel as build requirements. netron.start('[FILE]') is a viewer entry point; no public plugin contract or inference protocol is established.
Key Capabilities & Differentiators
Netron gives teams one visual inspection tool for ONNX, TensorFlow and TensorFlow Lite, Core ML, OpenVINO, Keras, Caffe, and Darknet. It also covers PyTorch, torch.export, ExecuTorch, and TorchScript as distinct artifact types. Safetensors and NumPy support extends the tool to tensor-oriented files, but opening these formats does not imply that a full operator graph can be recovered from them.
MLIR, JAX, GGUF, RKNN, ncnn, MNN, PaddlePaddle, and scikit-learn are experimental. Before relying on any format in an export review, try actual production artifacts and check that the structure you need to inspect is visible. Browser sample links demonstrate URL-based opening, but a successful sample load is not evidence that all exporter versions or serialization variants work.
Trade-offs & Limitations
Netron is a good fit when a team needs one way to inspect artifacts from several toolchains. A framework-native inspector is a better fit for details that were available before export but were not serialized. Use the target runtime and its profiler to verify operator support, numerical correctness, latency, and memory use. A file opening in Netron does not prove that it will run correctly on the target backend.
Capacity planning is about artifact parsing and graph rendering rather than inference VRAM. Test large or dense artifacts on representative desktops; no measured memory or rendering ceiling is available. The browser path avoids an install, while locally installed paths avoid dependence on a hosted viewer. MIT permits commercial reuse, but the software's license does not transfer rights to inspected models.
Hardware & Deployment Guide
Open netron.app for the browser edition, or install a desktop package: macOS .dmg or brew install --cask netron, Linux .deb or .rpm, and Windows .exe or winget install -s winget netron. For a local Python workflow, use pip install netron and launch netron [FILE] or call netron.start('[FILE]'). No CUDA, database, or Docker service is listed as a prerequisite for these paths.
The desktop and Python paths let users open local files without relying on a hosted model endpoint. For restricted networks, validate installation, updates, and outbound behavior under your own controls rather than treating a local launch as an offline guarantee. Releases v9.3.6, v9.3.7, and v9.3.8 landed on November 14, 20, and 27, 2026. That establishes a roughly weekly cadence for the three releases, not specific fixes or format additions.
netron [FILE] and netron.start('[FILE]') provide terminal and script entry points for artifact review.Reviewing what export pipelines produced, inspecting graphs before handing artifacts to runtime teams, and giving reviewers a common viewer across training and deployment formats.
You need to run or serve models, verify numerical parity, benchmark a target device, or automate an export approval gate.
Comparison vs. Top LLMs & Inference Alternatives
Full comparison →| Repository | Stars | 7d Trend | Stack | License | Core Positioning |
|---|---|---|---|---|---|
| netron ★ | 33.8k | +34 | JavaScript | MIT | JavaScript model viewer for inspecting exports across ML frameworks |
| freellmapi | 62k | +2.6k | TypeScript | MIT | Self-hosted LLM gateway for routing across free tiers and custom endpoints |
| one-api | 37.5k | +56 | JavaScript | MIT | Self-hosted OpenAI-compatible gateway for LLM routing and API key management |
| new-api | 53k | +343 | Go | AGPL-3.0 | Self-hosted Go API gateway for multi-provider model routing, access, and costs |
AI Context Briefing (for Claude / Cursor / Windsurf)
Standardized architecture summary & quickstart commands ready to paste into coding agents.
curl -sL https://repoforai.com/repo/lutzroeder/netron.md
Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).
Frequently Asked Questions about netron
How can Netron fit into a Python-based model export workflow?
netron [FILE] from the CLI or netron.start('[FILE]') from Python to open an exported artifact for inspection. These are viewer launch paths, not inference interfaces or evidence of a machine-readable validation API. Keep automated checks in export and runtime tests.Do I need a GPU, and how should I size the workstation?
Can we deploy Netron internally or redistribute a customized build?
When should we use Netron instead of a framework-specific inspector or runtime profiler?
Upstream README & Documentation
This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.
Top 10 Breakout Open-Source AI Repos, Every Thursday
Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.
Zero spam · 1-click unsubscribe · Privacy Policy