$npx skillfedfor your agent

inference-models

The new inference engine for Computer Vision models

With conditionsPyPI Artificial IntelligenceReleased Aug 202694.0K downloads / moPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — inference_models-0.35.2-py3-none-any.whl
v0.35.2 · released 2026-08-14 · Python <3.13,>=3.10 · 44 runtime deps: numpy, torch, torchvision, opencv-python, requests, supervision, backoff, python-dotenv

Yes, if you are building computer vision applications on Roboflow models or need a unified inference API across multiple backends and model types. The heavy dependency footprint and Python version cap (3.10–3.12) make it unsuitable for lightweight or resource-constrained environments. License treatment is unclear—verify model-specific restrictions before production deployment. No known vulnerabilities as of the query date.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.10–3.12.
  • Heavy dependencies (torch, torchvision, transformers) demand significant disk and memory; GPU optional but recommended for speed.
  • Low install friction with a pure-Python wheel.

License · maintenance · safety

(unclear) — License treatment is unclear in the metadata; the description states Apache 2.0 for the package itself but notes individual models may have different licenses. Verify the actual license terms and model-specific restrictions before production use.

last release 2026-08-14 (0 days)

0 known vulnerabilities (OSV.dev, 2026-08-14) · 93,972 downloads/mo, #13,353 on PyPI

Verify before relying

pip install inference-models

from inference_models import AutoModel

model = AutoModel.from_pretrained("rfdetr-base")
predictions = model(image)
  • Whether the Apache 2.0 license applies uniformly to all bundled model weights and architectures, or if model-specific restrictions apply at runtime.
  • Performance characteristics and latency benchmarks across the supported backends (PyTorch, ONNX, TensorRT, Hugging Face).
  • Whether the 44 runtime dependencies can be selectively installed via extras, as the description mentions a 'composable extras system' but the fact sheet does not detail which extras are available.
Same gist for agents: .md · .json

What it is and what it does

inference-models is a unified inference library for running computer vision models trained on Roboflow or built locally. It abstracts away backend selection (PyTorch, ONNX, TensorRT, Hugging Face) and model loading, letting you call a single API regardless of the underlying architecture—whether you're running object detection, segmentation, OCR, or vision-language tasks. The library includes pretrained models (RFDetr, SAM, Florence, DocTR, EasyOCR, YOLO, and others) and supports custom models from the Roboflow platform via API key, as well as local model implementations.

The package is designed for production use and integrates with supervision for annotation and post-processing. It requires Python 3.10–3.12 and pulls in 44 runtime dependencies including numpy, torch, torchvision, transformers, and diffusers, making it best suited for environments with adequate compute and storage. The library reached its first stable release at version 0.19.0 and is actively maintained, though the API may still evolve.

Use it for

  • Load and run a pretrained Roboflow model (e.g., RFDetr) on images without writing backend-specific code.
  • Deploy a custom model trained on Roboflow platform in production by loading it with an API key.
  • Run local custom model implementations from a directory for production deployment of non-standard architectures.
  • Chain inference with supervision to visualize predictions (bounding boxes, masks, etc.) on images.
  • Switch between inference backends (PyTorch to TensorRT, for example) without changing application code.

Worth the install?

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

With conditions

Yes, if you are building computer vision applications on Roboflow models or need a unified inference API across multiple backends and model types.

The heavy dependency footprint and Python version cap (3.10–3.12) make it unsuitable for lightweight or resource-constrained environments. License treatment is unclear—verify model-specific restrictions before production deployment. No known vulnerabilities as of the query date.

Install

inference-models on PyPI

Before you install

Low install friction with a pure-Python wheel. Active maintenance as of release date. Requires Python 3.10–3.12 and brings in 44 runtime dependencies including numpy, torch, torchvision, transformers, and diffusers; this is a heavy stack suitable for systems with compute capacity.

Requires Python 3.10–3.12. Heavy dependencies (torch, torchvision, transformers) demand significant disk and memory; GPU optional but recommended for speed.

License in practice

License treatment is unclear in the metadata; the description states Apache 2.0 for the package itself but notes individual models may have different licenses. Verify the actual license terms and model-specific restrictions before production use.

Quickstart

pip install inference-models

from inference_models import AutoModel

model = AutoModel.from_pretrained("rfdetr-base")
predictions = model(image)

Verify before relying

  • Whether the Apache 2.0 license applies uniformly to all bundled model weights and architectures, or if model-specific restrictions apply at runtime.
  • Performance characteristics and latency benchmarks across the supported backends (PyTorch, ONNX, TensorRT, Hugging Face).
  • Whether the 44 runtime dependencies can be selectively installed via extras, as the description mentions a 'composable extras system' but the fact sheet does not detail which extras are available.

Package facts

LicenseNot declared unclear
Python supportCapped below the current Python release <3.13,>=3.10
Install frictionLow. Pure-Python wheel
Runtime dependencies
44 packages
numpytorchtorchvisionopencv-pythonrequestssupervisionbackoffpython-dotenvtransformersdiffuserstimmaccelerateeinopspeftnum2wordsbitsandbytespyvipsrf-clippython-doctrpackagingrichpydanticfilelocksegmentation-models-pytorchscikit-imageeasyocrsentencepiecerf_groundingdinotldextractpybase64
MaintenanceActively maintained 0 days since the last release
First released
Downloads93,972 / month, #13,353 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14

Evidence: inference_models-0.35.2-py3-none-any.whl

Tags

Capabilities
computer vision model inferenceroboflow model loadingpytorch onnx tensorrt inferencevision model prediction apiobject detection segmentation ocrmulti-backend model runnerroboflow platform integration
Topics
computer-visionmodel-inferenceroboflow-integration

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 › “roboflow model loading”

  • inference-modelsLoads and runs computer vision models from Roboflow or local sources…
  • roboflowRoboflow is a Python client for the Roboflow computer vision…
  • inference-cliA command-line tool for running computer vision inference locally via…

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 controlnet-aux · inference-cli · polygraphy · inference-sdk · roboflow · yolov5 · datarobot-predict · supervision · sit4onnx · tensorrt-cu13-libs