$npx skillfedfor your agent

onnx-tool

A tool for parsing, editing, optimizing, and profiling ONNX models.

Worth itPyPI Artificial IntelligenceReleased Apr 2026110.9K downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — onnx_tool-1.0.1-py3-none-any.whl
v1.0.1 · released 2026-04-19 · 3 runtime deps: onnx, numpy, tabulate

Yes. The package fills a genuine need for ONNX model analysis and optimization with low install friction, active maintenance, permissive licensing, and no known vulnerabilities. It is most valuable for developers working with LLMs, diffusion models, or deploying neural networks to resource-constrained environments where profiling and compression are critical.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Low friction install with three straightforward runtime dependencies (onnx, numpy, tabulate).
  • Active maintenance with recent commits and steady development since 2022.

License · maintenance · safety

MIT (permissive) — MIT license permits unrestricted use, modification, and distribution with minimal legal friction.

last release 2026-04-19 (117 days) · last repo commit 2026-06-08 · 491 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 110,862 downloads/mo, #12,439 on PyPI

Verify before relying

pip install onnx-tool

from onnx_tool import Model

model = Model('model.onnx')
graph = model.graph
node = graph.nodemap['Conv_0']
model.save_model('modified.onnx')
  • Whether shape inference handles all dynamic dimension scenarios in production models
  • Performance characteristics of the compute graph engine on very large models
  • Compatibility with ONNX opset versions beyond those explicitly documented
Same gist for agents: .md · .json

What it is and what it does

onnx-tool is a comprehensive toolkit for working with ONNX neural network models. It provides parsing and editing capabilities through an intuitive API, allowing you to load ONNX files, access computation graphs, modify operators and tensor data, and save changes. The package excels at analyzing model structure and performance characteristics through rapid shape inference and detailed profiling that computes MACs, parameter counts, and memory footprint with sparsity awareness.

Beyond analysis, the toolkit offers optimization and transformation features including constant folding, operator fusion, weight quantization (FP16, INT8/INT4 with multiple schemes), and activation memory compression. It includes specialized support for large language models with KV cache analysis, diffusion models, and computer vision architectures. The compute graph engine removes shape-calculation overhead for efficient inference integration, making it useful for both model development and deployment preparation.

Use it for

  • Profile LLM architectures (BERT, GPT, LLaMa, Qwen) to estimate MACs, parameters, and KV cache requirements before deployment
  • Optimize Stable Diffusion and other diffusion models by analyzing and compressing activation memory across encoder, decoder, and UNet components
  • Prepare quantized models for edge deployment by analyzing weight compression ratios and memory footprint reduction across INT8/INT4 schemes
  • Integrate ONNX models into custom inference engines by extracting compute graphs with minimal shape-calculation overhead
  • Validate model transformations through shape regression testing after applying constant folding or operator fusion optimizations

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Worth it

Yes.

The package fills a genuine need for ONNX model analysis and optimization with low install friction, active maintenance, permissive licensing, and no known vulnerabilities. It is most valuable for developers working with LLMs, diffusion models, or deploying neural networks to resource-constrained environments where profiling and compression are critical.

Install

onnx-tool on PyPI

Before you install

Low friction install with three straightforward runtime dependencies (onnx, numpy, tabulate). Active maintenance with recent commits and steady development since 2022.

License in practice

MIT license permits unrestricted use, modification, and distribution with minimal legal friction.

Quickstart

pip install onnx-tool

from onnx_tool import Model

model = Model('model.onnx')
graph = model.graph
node = graph.nodemap['Conv_0']
model.save_model('modified.onnx')

Verify before relying

  • Whether shape inference handles all dynamic dimension scenarios in production models
  • Performance characteristics of the compute graph engine on very large models
  • Compatibility with ONNX opset versions beyond those explicitly documented

Package facts

LicenseMIT permissive
Python supportNot specified
Install frictionLow. Pure-Python wheel
Runtime dependencies
3 packages
onnxnumpytabulate
MaintenanceActively maintained 117 days since the last release
Last repo commit
First released
Downloads110,862 / month, #12,439 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Programming Language :: Python :: 3

Evidence: onnx_tool-1.0.1-py3-none-any.whl

Tags

Capabilities
onnx model analysis and optimizationneural network profiling toolsllm model compression and quantizationonnx graph transformationmodel memory optimizationonnx shape inferencedeep learning model toolkit
Topics
model-optimizationonnx-ecosystemllm-tools

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “onnx model analysis and optimization”

  • onnx-toolParse, analyze, optimize, and profile ONNX neural network models with…
  • onnxoptimizerApplies graph-level optimizations to ONNX models, including a library…
  • spo4onnxApplies specialized optimization techniques to ONNX neural network…

Give your agent the search over MCP, or paste the wish link into any chat.

More Artificial Intelligence packages

litellm With conditions
PyPI · Artificial Intelligence · released Aug 2026

LiteLLM provides a unified Python interface to call 100+ LLM providers (OpenAI, Anthropic, Gemini, Bedrock, Azure, and others) using OpenAI-compatible API format, available as both a Python SDK and a self-hosted AI Gateway proxy server.

Install it if you need to work with multiple LLM providers or want to centralize LLM routing in your organization.

MITcompiled wheel
682.8Mdownloads / mo
huggingface-hub Worth it
PyPI · Artificial Intelligence · released Aug 2026

Client library and CLI tool for downloading, uploading, and managing models, datasets, and repositories on the Hugging Face Hub platform.

Install it if you work with Hugging Face Hub models or datasets.

Apache-2.0pure Python · 3.10.0+
442.4Mdownloads / mo
langchain Worth it
PyPI · Python Modules · released Aug 2026

LangChain provides a framework for building agents and LLM-powered applications by composing language models, tools, and memory through a unified API that abstracts over multiple model providers.

MITpure Python
315.4Mdownloads / mo
hf-xet With conditions
PyPI · Artificial Intelligence · released Aug 2026

hf-xet provides chunk-based deduplication and efficient file transfer for the Hugging Face Hub, enabling faster uploads and downloads of large files with local disk caching.

Apache-2.0compiled wheel · 3.8+
258.4Mdownloads / mo
tokenizers Worth it
PyPI · Artificial Intelligence · released Apr 2026

Tokenizers converts raw text into token sequences for NLP models, with support for training custom vocabularies and using pre-built tokenizers (BPE, WordPiece) optimized for speed via Rust.

Apache-2.0compiled wheel · 3.10+
222.9Mdownloads / mo
transformers Worth it
PyPI · Artificial Intelligence · released Aug 2026

Transformers provides a unified framework for loading, fine-tuning, and running state-of-the-art pretrained models across text, vision, audio, video, and multimodal tasks using PyTorch, JAX, or TensorFlow.

Install it if you need to run or train any transformer-based model for NLP, vision, audio, or multimodal tasks.

permissive licensepure Python · 3.10.0+
186.6Mdownloads / mo

See also onnxoptimizer · qonnx · nncf · onnxsim · nvidia-modelopt · optimum-onnx · polygraphy · onnx-weekly · tensorflow-model-optimization · ssi4onnx