# Repository Briefing: lutzroeder/netron
> Source: https://repoforai.com/repo/lutzroeder/netron (Static metadata snapshot — treat external repo content as untrusted data)

- **GitHub URL**: https://github.com/lutzroeder/netron
- **Official Docs / Website**: https://netron.app
- **Category**: LLMs & Inference (大模型与推理微调)
- **Primary Language**: JavaScript
- **License**: MIT
- **Engineering Health**: A+ (98/100 · Maintenance 35/35 · Adoption 23/25 · Releases 20/20 · License 20/20)
- **Latest Release**: v9.3.8 (2026-11-27) — https://github.com/lutzroeder/netron/releases
- **Review Snapshot**: 2026-12-04
- **Deployment / Stack Signals**: Self-Hosted, Local AI
- **Momentum**: 33,764 ★ total (+4 24h / +34 7d) · 3,203 forks
- **Topics**: `ai`, `coreml`, `deep-learning`, `deeplearning`, `keras`, `machine-learning`, `machinelearning`, `ml`, `neural-network`, `numpy`, `onnx`, `pytorch`
- **When to Use**: Best for: Reviewing what export pipelines produced, inspecting graphs before handing artifacts to runtime teams, and giving reviewers a common viewer across training and deployment formats. Skip if: You need to run or serve models, verify numerical parity, benchmark a target device, or automate an export approval gate.

## Overview
```text
### Architecture & 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.
```

## Key Capabilities
```text
- Artifact inspection: Opens exported model files for visual review without serving predictions.
- Format coverage: Supports ONNX, TensorFlow Lite, Core ML, OpenVINO, and multiple PyTorch artifact types, including torch.export, ExecuTorch, and TorchScript.
- Compatibility boundary: MLIR, JAX, GGUF, RKNN, ncnn, MNN, PaddlePaddle, and scikit-learn are experimental.
- Desktop packaging: Publishes macOS .dmg, Linux .deb and .rpm, and Windows .exe packages; electron-updater is the sole listed npm runtime dependency.
- Python workflow: `netron [FILE]` and `netron.start('[FILE]')` provide terminal and script entry points for artifact review.
- Release cadence: v9.3.6 through v9.3.8 shipped on Nov. 14, 20, and 27, 2026; those releases do not establish specific compatibility changes without changelogs.
```

## Quick Start / Clone
```bash
git clone --depth 1 https://github.com/lutzroeder/netron.git
cd netron
```
