$npx skillfedfor your agent

sde4onnx

Simple doc_string eraser for ONNX.

With conditionsPyPI Artificial IntelligenceReleased Oct 202282.6K downloads / moMIT LicensePure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — sde4onnx-1.0.0-py3-none-any.whl
v1.0.0 · released 2022-10-15 · Python >=3.6

Yes, if you have a specific need to reduce ONNX file size by removing doc_strings and are willing to accept that the package is no longer maintained. The tool is simple, has no dependencies, and the task it performs is unlikely to break. No, if you expect ongoing support, compatibility updates, or if you need more comprehensive ONNX optimization—consider ONNX Runtime tools or TensorRT ONNX GraphSurgeon instead.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python >=3.6.
  • ONNX library must be installed separately (not declared as a dependency in sde4onnx itself).
  • Low friction: pure Python wheel with no runtime dependencies.

License · maintenance · safety

MIT License (permissive) — MIT License permits commercial and private use with minimal restrictions. No licensing barrier to adoption.

last release 2022-10-15 (1399 days) · last repo commit 2022-10-15 · 1 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 82,554 downloads/mo, #14,154 on PyPI

Verify before relying

pip install sde4onnx

from sde4onnx import erase

onnx_graph = erase(
    input_onnx_file_path="model.onnx",
    output_onnx_file_path="model_erased.onnx"
)
  • Whether the package correctly handles all ONNX model variants and versions beyond the Stable Diffusion use case shown in docs.
  • Whether abandonment since 2022-10-15 means compatibility issues with current ONNX spec or Python versions.
  • Performance impact of doc_string erasure on model loading or inference speed.
Same gist for agents: .md · .json

What it is and what it does

sde4onnx is a lightweight utility that strips embedded documentation strings from ONNX model files. ONNX models—particularly those from Hugging Face or other model hubs—often carry verbose metadata and doc_strings that inflate file size without affecting inference. This tool reads an ONNX file, removes those doc_strings, and writes a cleaned version back to disk or returns the modified graph object for further processing.

The package offers both a command-line interface and a Python API. It has no runtime dependencies beyond ONNX itself (which you must install separately) and runs as pure Python. It is designed for a single, narrow task: if you need to reduce ONNX model size by stripping documentation, this tool does that. However, the project is no longer maintained—the last release and commit were in October 2022—so it may not adapt to future ONNX format changes.

Use it for

  • Reduce download and storage size of Stable Diffusion or other large ONNX models before deployment.
  • Strip metadata from ONNX graphs in a preprocessing pipeline before quantization or optimization.
  • Clean up ONNX files exported from frameworks like PyTorch or TensorFlow before shipping to edge devices.
  • Automate doc_string removal in batch processing of model repositories.
  • Integrate into CI/CD workflows to standardize ONNX artifacts by removing non-essential metadata.

Worth the install?

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

With conditions

Yes, if you have a specific need to reduce ONNX file size by removing doc_strings and are willing to accept that the package is no longer maintained.

The tool is simple, has no dependencies, and the task it performs is unlikely to break. No, if you expect ongoing support, compatibility updates, or if you need more comprehensive ONNX optimization—consider ONNX Runtime tools or TensorRT ONNX GraphSurgeon instead.

Install

sde4onnx on PyPI

Before you install

Low friction: pure Python wheel with no runtime dependencies. However, the package is abandoned—last release was 2022-10-15 and no commits since then. Use only if the single task of doc_string erasure is stable enough for your workflow.

Requires Python >=3.6. ONNX library must be installed separately (not declared as a dependency in sde4onnx itself).

License in practice

MIT License permits commercial and private use with minimal restrictions. No licensing barrier to adoption.

Quickstart

pip install sde4onnx

from sde4onnx import erase

onnx_graph = erase(
    input_onnx_file_path="model.onnx",
    output_onnx_file_path="model_erased.onnx"
)

Verify before relying

  • Whether the package correctly handles all ONNX model variants and versions beyond the Stable Diffusion use case shown in docs.
  • Whether abandonment since 2022-10-15 means compatibility issues with current ONNX spec or Python versions.
  • Performance impact of doc_string erasure on model loading or inference speed.

Package facts

LicenseMIT License permissive
Python supportSupports the current Python release >=3.6
Install frictionLow. Pure-Python wheel
Runtime dependenciesNone
MaintenanceAbandoned 1,399 days since the last release
Last repo commit
First released
Downloads82,554 / month, #14,154 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14

Evidence: sde4onnx-1.0.0-py3-none-any.whl

Tags

Capabilities
onnx model doc string removalstrip metadata from onnx filesonnx file size reductiononnx graph cleaningremove onnx documentationonnx model optimizationonnx serialization cleanup
Topics
onnx-toolsmodel-optimization

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 doc string removal”

  • sde4onnxRemoves embedded doc_strings from ONNX model files, reducing file…
  • snd4onnxRemoves specified nodes from ONNX model graphs via CLI or Python API,…
  • sor4onnxRenames input, output, and operator nodes in ONNX model files using…

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 snd4onnx · ssi4onnx · sod4onnx · spo4onnx · sne4onnx · scs4onnx · sor4onnx · sbi4onnx · sng4onnx · sed4onnx