# ModelExpress

> A sidecar for inference servers that finds the fastest available copy of a model's weights and moves it into GPU memory, instead of cold-loading from storage

- Category: Models & Inference / Serving & Deployment
- Language: Rust
- Licence: Apache-2.0
- Repository: https://github.com/ai-dynamo/modelexpress
- Canonical page: https://ai-tldr.dev/tools/modelexpress/
- Updated: 2026-07-24

## In short

ModelExpress is a sidecar for inference servers that finds the fastest available copy of a model's weights and moves it into GPU memory, instead of cold-loading from storage. It sits in the Serving & Deployment category of the Models & Inference tools and is open-source, written in Rust and licensed Apache-2.0.

## Overview

ModelExpress (MX) is a component from the NVIDIA Dynamo project that sits next to an existing inference server and answers one question before a model loads: where does a compatible copy of these weights already live? Instead of treating every replica as an independent cold start, it discovers available sources and picks the fastest supported path into GPU memory — a peer-to-peer RDMA transfer from a replica that is already serving, a server-side cache, InstantTensor from local safetensors, a concurrent ranged fetch through ModelStreamer, GPUDirect Storage, or the engine's own loader as a fallback. The first applicable strategy runs; if one fails before changing model state it moves to the next, and it reinitialises the model rather than serve a partially loaded one.

It also transfers the JIT compilation caches that dominate warmup — compatible vLLM and SGLang TorchInductor, Triton, DeepGEMM, TileLang, CuTe DSL and FlashInfer caches move from a ready replica instead of being rebuilt. The published benchmark: DeepSeek-V4-Pro weights loaded from a serving replica in 11 seconds, a 48× speedup over the 8m 53s cold Hugging Face pull in the same environment, and process-start-to-API-ready cut from 8m 01s to 1m 44s (4.6×), measured with vLLM 0.23.0 at TP=8 on an 8×B200 node with ConnectX-7 NICs.

The control plane brokers metadata only — through Redis, Kubernetes CRDs, or a decentralised `k8s-service` backend — while weight bytes move directly between the source and the target on the data plane. Integrations are native where possible: `--load-format modelexpress` in vLLM 0.23.0+, SGLang's `remote_instance` loader with the `modelexpress` backend, `checkpoint_format="MX"` in TensorRT-LLM (beta, Llama family), the Dynamo vLLM and SGLang runtimes, and an upstream llm-d baseline integration. It ships a Helm chart, CRDs and a Rust CLI, and is Apache-2.0.

## What it does

- Fixed loading-strategy chain — P2P RDMA → server cache → InstantTensor → ModelStreamer → GPUDirect Storage → native loader — with safe fallback at each step
- GPU-to-GPU weight transfer over NVIDIA NIXL across InfiniBand, RoCE, NVLink and EFA; each new replica joins the source pool
- JIT kernel-cache transfer for vLLM and SGLang, so scale-out does not rebuild compilation caches
- Metadata backends: Redis, Kubernetes CRD, or decentralised Kubernetes Service routing — weight bytes never pass through the server
- Model pull providers beyond Hugging Face: NGC catalog and Google Cloud Storage, plus S3, Azure Blob and local paths via ModelStreamer
- Kubernetes deployment with a Helm chart, CRDs, PVC-backed Hugging Face cache and init-container pre-warming
- Rust CLI for health, download, list, validate and clear operations

## Getting started

ModelExpress runs as a server plus a client that plugs into your inference engine. The fastest way to see it work is to switch vLLM's load format.

1. Point vLLM at ModelExpress

   vLLM 0.23.0 and later carry the loader natively; older versions use the ModelExpress plugin. With a compatible replica already serving, weights and JIT caches transfer peer-to-peer rather than being reloaded.

```bash
vllm serve <model> --load-format modelexpress
```

2. Or use the SGLang backend

   SGLang's `remote_instance` loader takes `modelexpress` as its backend, with `transport=nixl` or `transport=transfer_engine`. The nixl transport also carries JIT caches.

```bash
# see docs/SGLANG.md in the repository for the full flag set
--load-format remote_instance --remote-instance-backend modelexpress --transport nixl
```

3. Or set the TensorRT-LLM checkpoint format

   TensorRT-LLM support is beta and covers the Llama family.

```python
checkpoint_format="MX"
```

4. Deploy the server on Kubernetes

   The repository ships a Helm chart and CRDs, plus `examples/p2p_transfer_k8s/` and `examples/dynamo_p2p_transfer_k8s/` as working references. Configuration and the strategy chain are documented in docs/CONFIGURATION.md.

## When to use it

- Reach for it when autoscaling an LLM service and each new replica spends minutes pulling the same weights
- Reach for it when JIT warmup, not the weight download, is what dominates your time-to-first-request
- Reach for it when many nodes need one model and you would rather not multiply external egress from Hugging Face or S3
- Reach for it when you have RDMA fabric between GPUs and want to use it for model loading, not just inference traffic

## Version history

- 2026-07-24: NVIDIA open-sourced ModelExpress under Apache-2.0 as a component that peer-to-peer transfers model weights next to vLLM, SGLang, TensorRT-LLM and Dynamo, reporting a 48× cold-load speedup on DeepSeek-V4-Pro.
