Inferviqo is a unified LLM inference engine that merges PagedAttention's memory efficiency with RadixAttention's throughput — purpose-built for production ML systems at scale.
From memory allocation to kernel compilation, Inferviqo squeezes performance gains that matter in production.
Measured on H100 SXM5 80GB. DeepSeek-V3-67B, 2048 input / 512 output tokens, batch size 64.
Four steps from cold model to production-ready, hardware-optimized serving.
Inferviqo is a unified inference engine that bridges the memory efficiency of vLLM's PagedAttention with the high-throughput request handling of SGLang's RadixAttention. Rather than choosing between memory or speed, you get both — in a single Python library with a clean API.
The engine is designed for production ML serving infrastructure: it ships with hardware-specific kernels, continuous batching, Prometheus telemetry, and full NVFP4/MXFP4 quantization support out of the box.
To fully utilize Inferviqo's custom kernels, the following hardware is recommended:
Inferviqo degrades gracefully on older hardware (A100, A6000) using generic kernel paths, but maximum performance requires the above GPU generations.
Install the core library directly via pip. Pre-compiled wheels for specialized GPU clusters are available in our private registry — contact us for access.
# Install from PyPI pip install inferviqo # Verify installation python -c "import inferviqo; print(inferviqo.__version__)"
This example loads a model, applies hardware-specific kernel optimizations, and runs generation using continuous batching and radix cache warm-up.
from inferviqo import QuantizedModel, InferenceEngine # 1. Load your model from HuggingFace Hub or a local path model = QuantizedModel.load("deepseek-v4-67b") # 2. Apply hardware-specific kernel optimizations for your GPU model.optimize_kernels( target_gpu="GB300", precision="nvfp4" # or "mxfp4", "fp8", "bf16" ) # 3. Initialize the inference engine with continuous batching engine = InferenceEngine( model=model, enable_radix_cache=True, max_batch_size=256, max_seq_len=32768 ) # 4. Generate — engine handles batching automatically response = engine.generate( "Explain the principles of PagedAttention.", max_tokens=1024, temperature=0.7 ) print(response.text)
Loads and quantizes a model checkpoint. Supports HuggingFace Hub IDs and local directory paths.
class QuantizedModel: @classmethod def load(cls, model_path_or_id: str, **kwargs) -> 'QuantizedModel': """Load a model from HuggingFace Hub or local path.""" ... def optimize_kernels(self, target_gpu: str, precision: str = "nvfp4") -> None: """Compile and cache hardware-specific CUDA/ROCm kernels.""" ...
| Parameter | Type | Required | Description |
|---|---|---|---|
model_path_or_id | str | required | HuggingFace repo ID (e.g. "deepseek-v4-67b") or absolute local directory path. |
dtype | str | optional | Loading dtype before quantization. Default: "bfloat16". |
revision | str | optional | Git revision, branch, or tag on HuggingFace Hub. |
| Parameter | Type | Required | Description |
|---|---|---|---|
target_gpu | str | required | Target GPU identifier. One of: "GB300", "GB200", "H100", "MI350X", "MI355X", "A100". |
precision | str | optional | Quantization format. Options: "nvfp4", "mxfp4", "fp8", "bf16". Default: "nvfp4". |
The core serving engine. Manages KV cache allocation, continuous batching, and the radix prefix cache across concurrent sessions.
| Parameter | Type | Required | Description |
|---|---|---|---|
model | QuantizedModel | required | A loaded and optionally kernel-optimized QuantizedModel instance. |
enable_radix_cache | bool | optional | Enable prefix-sharing radix tree cache. Recommended for most workloads. Default: True. |
max_batch_size | int | optional | Maximum concurrent sequences in a single forward pass. Default: 128. |
max_seq_len | int | optional | Maximum total sequence length (prompt + completion). Default: 8192. |
| Parameter | Type | Default | Description |
|---|---|---|---|
prompt | str | required | Input text prompt for generation. |
max_tokens | int | 512 | Maximum number of new tokens to generate. |
temperature | float | 1.0 | Sampling temperature. Lower = more deterministic. |
top_p | float | 1.0 | Nucleus sampling probability threshold. |
stop | list[str] | None | List of stop sequences that halt generation. |
We've shipped inference at scale at some of the largest AI labs in the world.
Join teams already running Inferviqo in production. Private beta slots are limited — reach out to get started.