$npx skillfedfor your agent

onnxruntime_extensions

ONNXRuntime Extensions

With conditionsPyPI Artificial IntelligenceReleased Feb 2026207.9K downloads / moMIT LicensePlatform wheel

Decision gist · record as of 2026-08-14

platform wheels — onnxruntime_extensions-0.15.2-cp310-cp310-macosx_11_0_arm64.whl · onnxruntime_extensions-0.15.2-cp310-cp310-macosx_11_0_universal2.whl · onnxruntime_extensions-0.15.2-cp310-cp310-macosx_11_0_x86_64.whl
v0.15.2 · released 2026-02-04

Yes, if you are building ONNX-based inference pipelines and need to embed preprocessing or postprocessing operators directly in your models. The package is actively maintained, has no known vulnerabilities, and uses a permissive MIT license. Install friction is moderate due to compiled wheels, but prebuilt binaries are available for common platforms and Python versions. Not necessary if you handle all preprocessing in application code before inference.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires onnxruntime to be installed separately; ONNX package needed for generating pre-/post-processing models.
  • Medium install friction due to compiled wheels for multiple Python versions and platforms (cp310–cp313 on macOS and Linux).
  • Repository is actively maintained with recent commits and no archived status.

License · maintenance · safety

MIT License (permissive) — MIT License permits commercial and private use with minimal restrictions; suitable for most production deployments.

last release 2026-02-04 (191 days) · last repo commit 2026-08-14 · 474 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 207,857 downloads/mo, #9,540 on PyPI

Verify before relying

pip install onnxruntime-extensions

import onnxruntime as _ort
from onnxruntime_extensions import get_library_path as _lib_path

so = _ort.SessionOptions()
so.register_custom_ops_library(_lib_path())
# sess = _ort.InferenceSession(model, so)
  • Whether the package works with all Python versions or only cp310–cp313 as wheel availability suggests.
  • Specific minimum versions of onnxruntime required for compatibility.
  • Performance characteristics or overhead of custom operator registration.
Same gist for agents: .md · .json

What it is and what it does

ONNXRuntime-Extensions is a C/C++ library that plugs into ONNX Runtime to add custom operators for common pre- and post-processing tasks in vision, text, and NLP models. It works by registering a custom operator library with an ONNX Runtime session, allowing you to build enhanced ONNX models that include these operators and run them end-to-end without leaving the ONNX Runtime inference engine. The package provides Python bindings (plus Java and C# support) and includes utilities to convert Hugging Face transformer data processing classes into ONNX graphs that can be merged with your model.

The typical workflow is to generate or enhance an ONNX model with preprocessing operators, then load it with ONNXRuntime-Extensions registered to handle those custom ops during inference. It supports Windows, macOS, Linux, and mobile platforms like Android and iOS, with compiled wheels available for recent Python versions.

Use it for

  • Embed tokenization and text normalization directly in ONNX models for end-to-end NLP inference without Python preprocessing.
  • Add image resizing, normalization, and augmentation operators to vision models for deployment without external preprocessing.
  • Convert Hugging Face transformer preprocessing pipelines into ONNX graphs for portable, framework-agnostic model deployment.
  • Build mobile-ready ONNX models with built-in preprocessing for Android and iOS inference.
  • Combine multiple models with standardized pre- and post-processing in a single ONNX graph.

Worth the install?

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

With conditions

Yes, if you are building ONNX-based inference pipelines and need to embed preprocessing or postprocessing operators directly in your models.

The package is actively maintained, has no known vulnerabilities, and uses a permissive MIT license. Install friction is moderate due to compiled wheels, but prebuilt binaries are available for common platforms and Python versions. Not necessary if you handle all preprocessing in application code before inference.

Install

onnxruntime-extensions on PyPI

Before you install

Medium install friction due to compiled wheels for multiple Python versions and platforms (cp310–cp313 on macOS and Linux). Repository is actively maintained with recent commits and no archived status.

Requires onnxruntime to be installed separately; ONNX package needed for generating pre-/post-processing models.

License in practice

MIT License permits commercial and private use with minimal restrictions; suitable for most production deployments.

Quickstart

pip install onnxruntime-extensions

import onnxruntime as _ort
from onnxruntime_extensions import get_library_path as _lib_path

so = _ort.SessionOptions()
so.register_custom_ops_library(_lib_path())
# sess = _ort.InferenceSession(model, so)

Verify before relying

  • Whether the package works with all Python versions or only cp310–cp313 as wheel availability suggests.
  • Specific minimum versions of onnxruntime required for compatibility.
  • Performance characteristics or overhead of custom operator registration.

Package facts

LicenseMIT License permissive
Python supportNot specified
Install frictionMedium. Platform-specific wheel
Runtime dependenciesNone
MaintenanceActively maintained 191 days since the last release
Last repo commit
First released
Downloads207,857 / month, #9,540 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 4 - BetaEnvironment :: ConsoleIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseOperating System :: MacOS :: MacOS XOperating System :: Microsoft :: WindowsOperating System :: POSIX :: LinuxProgramming Language :: C++Programming Language :: PythonProgramming Language :: Python :: Implementation :: CPython

Evidence: onnxruntime_extensions-0.15.2-cp310-cp310-macosx_11_0_arm64.whl; onnxruntime_extensions-0.15.2-cp310-cp310-macosx_11_0_universal2.whl; onnxruntime_extensions-0.15.2-cp310-cp310-macosx_11_0_x86_64.whl; onnxruntime_extensions-0.15.2-cp310-cp310-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl; onnxruntime_extensions-0.15.2-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl; onnxruntime_extensions-0.15.2-cp311-cp311-macosx_11_0_arm64.whl; onnxruntime_extensions-0.15.2-cp311-cp311-macosx_11_0_universal2.whl; onnxruntime_extensions-0.15.2-cp311-cp311-macosx_11_0_x86_64.whl; onnxruntime_extensions-0.15.2-cp311-cp311-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl; onnxruntime_extensions-0.15.2-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl; onnxruntime_extensions-0.15.2-cp312-cp312-macosx_11_0_arm64.whl; onnxruntime_extensions-0.15.2-cp312-cp312-macosx_11_0_universal2.whl; onnxruntime_extensions-0.15.2-cp312-cp312-macosx_11_0_x86_64.whl; onnxruntime_extensions-0.15.2-cp312-cp312-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl; onnxruntime_extensions-0.15.2-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl; onnxruntime_extensions-0.15.2-cp313-cp313-macosx_11_0_arm64.whl; onnxruntime_extensions-0.15.2-cp313-cp313-macosx_11_0_universal2.whl; onnxruntime_extensions-0.15.2-cp313-cp313-macosx_11_0_x86_64.whl; onnxruntime_extensions-0.15.2-cp313-cp313-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl; onnxruntime_extensions-0.15.2-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl

Tags

Capabilities
onnx runtime custom operatorsonnx model preprocessingvision nlp text processing onnxonnx runtime extensionscustom ops for onnx inferenceonnx model post-processinghuggingface transformer onnx
Topics
onnx-inferencemodel-preprocessingcustom-operators

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 runtime custom operators”

  • onnxruntime_extensionsExtends ONNX Runtime with custom operators for pre- and…
  • qonnxQONNX provides Python utilities to work with quantized neural…
  • sna4onnxAdds new operations (nodes) to ONNX model graphs at specified…

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 onnxruntime-openvino · onnxruntime · onnxruntime-gpu · optimum-onnx · onnxslim · onnx · onnxtr · skl2onnx · qonnx · DafnyRuntimePython