Skip to main content

MiniQ Inference (miniqinference) v0.1.1

MiniQ Inference is a high-performance, local inference toolkit for Qwen2-VL and other multimodal models. It is built with Rust (using ONNX Runtime via the ort crate) and provides a multi-layer stack:

  • Core: High-performance Rust inference engine with image preprocessing and chat templating.
  • CLI: A command-line tool for local chat with vision support.
  • Server: OpenAI-compatible API server (Axum-based) with streaming and tool calling support.
  • Python: High-speed Python bindings for integrating MiniQ into your Python apps.

Features

  • 🏎️ Optimized Inference: Leverages ONNX Runtime with support for various backends.
  • 🖼️ Vision Support: Native preprocessing for multimodal inputs (Qwen2-VL).
  • 🧠 Thinking Mode: Built-in support for models with chain-of-thought capabilities.
  • 🛠️ Tool Calling: Server support for local tool calling.
  • ⚡ Performance Profiling: Built-in timing and memory usage monitoring (enable with RUST_LOG=debug).

Installation

pip install miniqinference[all]

Quick Start (CLI)

# Load model from a directory and chat
miniqwen-cli --model-dir ./models --prompt "Describe this image" --image ./test.jpg

API Server

miniqwen-server --model-dir ./models --port 8000

Then use any OpenAI-compatible client.

Performance Monitoring

Run with RUST_LOG=debug to see detailed execution time and memory consumption:

  • Prefill duration
  • Decoding speed (tokens/s and ms/token)
  • Process memory usage (RSS)

Metadata

Release files for miniqinference 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for miniqinference 0.1.2
File Size Uploaded Provenance Actions
miniqinference-0.1.2.tar.gz 1.4 kB Without provenance Details for miniqinference-0.1.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for miniqinference 0.1.2
File Interpreter ABI Platform Actions
miniqinference-0.1.2-py3-none-any.whl Python 3 none any Details for miniqinference-0.1.2-py3-none-any.whl

Total release size: 3.3 kB

Release files / miniqinference-0.1.2.tar.gz

Download URL miniqinference-0.1.2.tar.gz
Size 1.4 kB
Tags Source
SHA-256 checksum
How to use checksums
7676927b2790303b5cd3d2a34c8ea1f4a1f0af70f603b5af85d8049dd13f8abc
BLAKE2b-256 checksum
How to use checksums
2b7ec8ca091751c21e79c78f91b056856304dc1c72cfabbb43e36bece5c28a82
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.11.7 {"installer":{"name":"uv","version":"0.11.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / miniqinference-0.1.2-py3-none-any.whl

Download URL miniqinference-0.1.2-py3-none-any.whl
Size 1.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b1e61a2066ebc54f240701c6589e00e93e2d43005d12c8cd748c276186f9fefc
BLAKE2b-256 checksum
How to use checksums
51ea389cf31883cfe412839876f2553e996289d3bc6aac1809948fb3b4801955
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.11.7 {"installer":{"name":"uv","version":"0.11.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for miniqinference 0.1.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page