soa4onnx
Simple model output OP additional tools.
Decision gist · record as of 2026-08-14
Yes, if you work with ONNX models and need to expose intermediate outputs. The package is lightweight, has no dependencies, and carries permissive licensing. However, maintenance is aging (last release 314 days ago), so verify compatibility with your ONNX runtime version before relying on it in production pipelines.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Low friction; pure Python wheel with no runtime dependencies.
- Maintenance is aging—last release was 314 days ago—but the repository is active and not archived.
License · maintenance · safety
MIT License (permissive) — MIT License permits commercial and private use with minimal restrictions; you must retain the license notice in distributions.
last release 2025-10-04 (314 days) · last repo commit 2025-10-04 · 4 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 84,058 downloads/mo, #14,029 on PyPI
Alternatives
Verify before relying
pip install soa4onnx
from soa4onnx import outputs_add
onnx_graph = outputs_add(
input_onnx_file_path="model.onnx",
output_op_names=["onnx::Gather_76", "onnx::Add_89"],
output_onnx_file_path="model_added.onnx"
)- Whether the package handles complex ONNX opset versions or only specific versions
- Performance characteristics when working with very large models or many output nodes
- Compatibility with recent ONNX runtime versions beyond what the fact sheet indicates
What it is and what it does
soa4onnx is a lightweight utility for modifying ONNX model graphs by designating intermediate operations as model outputs. It works by taking an existing ONNX file and a list of operation names, then rewiring the graph so those operations become exposed outputs that can be queried independently. This is useful when you want to extract intermediate layer activations or debug specific computation stages without retraining or restructuring the model.
The package offers both a command-line interface and a Python API (outputs_add function). It requires only Python 3.6+ and has no external runtime dependencies, making it straightforward to integrate into model processing pipelines. The tool includes optional type checking and verbosity control for integration into automated workflows.
Use it for
- Extract intermediate layer outputs from a trained model for visualization or analysis without model retraining
- Debug ONNX graphs by exposing internal node outputs to inspect computation at specific stages
- Prepare models for multi-output inference where only certain intermediate results are needed
- Adapt pre-trained models to new downstream tasks by exposing different layer outputs as model endpoints
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you work with ONNX models and need to expose intermediate outputs.
The package is lightweight, has no dependencies, and carries permissive licensing. However, maintenance is aging (last release 314 days ago), so verify compatibility with your ONNX runtime version before relying on it in production pipelines.
Install
soa4onnx on PyPI
Before you install
Low friction; pure Python wheel with no runtime dependencies. Maintenance is aging—last release was 314 days ago—but the repository is active and not archived.
License in practice
MIT License permits commercial and private use with minimal restrictions; you must retain the license notice in distributions.
Quickstart
pip install soa4onnx
from soa4onnx import outputs_add
onnx_graph = outputs_add(
input_onnx_file_path="model.onnx",
output_op_names=["onnx::Gather_76", "onnx::Add_89"],
output_onnx_file_path="model_added.onnx"
)
Verify before relying
- Whether the package handles complex ONNX opset versions or only specific versions
- Performance characteristics when working with very large models or many output nodes
- Compatibility with recent ONNX runtime versions beyond what the fact sheet indicates
Package facts
| License | MIT License permissive |
| Python support | Supports the current Python release >=3.6 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | None |
| Maintenance | Aging 314 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 84,058 / month, #14,029 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
Evidence: soa4onnx-1.0.5-py3-none-any.whl
Tags
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 › “expose intermediate onnx layers”
- soa4onnxAdds or modifies output nodes in ONNX model graphs, allowing you to…
- onnx-graphsurgeonONNX GraphSurgeon lets you programmatically create and modify ONNX…
- sod4onnxsod4onnx removes specified output operations from ONNX model files,…
Give your agent the search over MCP, or paste the wish link into any chat.
More Artificial Intelligence packages
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.
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.
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.
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.
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.
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.
See also soc4onnx · sod4onnx · sna4onnx · svs4onnx · sio4onnx · snd4onnx · sor4onnx · sam4onnx · sne4onnx · onnx-graphsurgeon