Skip to content

ModelExpress v0.8.0

Latest

Choose a tag to compare

@nv-nmailhot nv-nmailhot released this 13 Nov 08:06
fd606d6

ModelExpress v0.8.0 Release Notes

The big picture

ModelExpress exists to eliminate the wait, and to become the weight and artifact management layer for both inference and RL systems. v0.6.0 landed RL post-training weight refit end to end, and v0.7.0 turned it into a production checkpoint-and-delta pipeline built on canonical S3 checkpoints.

v0.8.0 is about making refit fast and making it fit real training stacks. On speed, refit now streams bounded weight groups and layer windows through vLLM reload in a single read, reloads only the modules a delta actually changed, uses reflinks for the first checkpoint materialization, and reuses logical and physical transfer plans across trainer replicas. On fit, a new trainer mesh model ties weight versions to trainer mesh generations, an NCCL M2N collective weight-transfer path joins the P2P and checkpoint paths, FSDP shards can carry per-tensor transfer dtypes, and refit storage expands from S3 to Azure Blob. Beyond RL, the release adds role-aware MTP draft P2P for vLLM and SGLang, external model-loading strategy plugins, a Mooncake backend for cache-artifact reuse, enforced topology transfer domains for P2P source selection, and support for vLLM sleep levels on P2P sources. It also has the broadest contributor base of any release so far, with 13 first-time contributors.

What's new in this release

v0.8.0 lands five things that matter:

  1. Refit performance improvementsMuch faster refit: bounded weight-group streaming through vLLM reload, single-read streamed full refit with bounded layer windows, delta updates that reload only changed vLLM modules, reflink-based first checkpoint materialization, and transfer plans reused across trainer replicas. (#749, #866, #853, #807, #883)
  2. Trainer mesh and NCCL M2N transfer: trainer mesh APIs with weight versions bound to mesh generations, an NCCL M2N collective weight-transfer path, and per-tensor FSDP transfer dtypes. (#835, #875, #748, #747)
  3. Azure Blob for refit: Azure Blob reads and immutable writes, plus live generator updates from Azure Blob, alongside incremental S3 bucket staging. (#804, #859, #826)
  4. MTP draft P2P: role-aware MTP draft P2P with model-specific shard selection for both vLLM and SGLang. (#855, #824)
  5. Extensibility: external model-loading strategy plugins and a Mooncake backend for cache-artifact reuse. (#890, #676)

RL refit performance

  • Streamed reloads: stream bounded weight groups through vLLM reload, and do a single-read streamed full refit with bounded layer windows. Experimental and off by default: enable with MX_REFIT_FULL_STREAMING=true. Streamed refit is S3-only for now. (#749, #866)
  • Delta-only reloads: reload only the vLLM modules a delta update changed. Experimental and off by default: enable with MX_REFIT_DELTA_SURGICAL=true. (#853)
  • Reflinks: use reflinks for the first checkpoint materialization. (#807)
  • Plan reuse: reuse prepared logical and physical transfer state, reuse logical plans across trainer replicas, retain installation plans while separating logical transfer binding, and coarsen source replay descriptors within staging capacity. (#882, #883, #881, #885)
  • Cheaper admission and install: validate trainer bindings at mesh admission, and replay vLLM source writes in order with a simpler installation path. (#868, #884)

Trainer mesh and transfer paths

  • Trainer mesh: trainer mesh APIs with version linkage, and weight versions bound to trainer mesh generations. (#835, #875)
  • NCCL M2N collective path: a collective weight-transfer path over NCCL. Requires NCCL 2.30.7 or newer at runtime, plus nccl4py and nccl-extensions[cu12] or [cu13] installed separately. (#748)
  • Per-tensor FSDP dtypes: FSDP transfers can use a different dtype per tensor. (#747)
  • Package structure: separate RL package ownership from engine plugins. (#886)
  • Tracing: add tracing to the refit control-plane service. (#629)

Refit storage and checkpoints

  • Azure Blob: Azure Blob reads and immutable writes, and live generator updates from Azure Blob. Supported for generator checkpoint reads and delta replay; server-side Azure publication and exact-version startup are still S3-only. (#804, #859)
  • S3: incremental S3 bucket staging for Miles, S3 moved behind a feature flag and signed with OpenSSL, S3 identities decoupled so cached checkpoints can be reused, no lock contention when reusing S3 checkpoints, and S3 fallback resuming from the local checkpoint. (#826, #786, #794, #814, #774)
  • Checkpoint cache quota: cap the quota to available disk space, raise the default to 2000 GB, and make the default configurable from vLLM. (#790, #797, #937)
  • Staging and seeding: isolate checkpoint staging directories, and bootstrap the canonical seed after startup P2P. (#879, #817)

Refit correctness

  • Quantized models: allow quantized vLLM generator peer refit and quantized bounded refit streaming, and distinguish load-time ties from WNA16 runtime aliases. (#778, #889, #858)
  • Attention and derived weights: refresh host attention scales after eager RL peer refit, handle custom attention scales and prevent fallback OOM, and delegate RL MLA derived-weight refresh to vLLM. (#783, #811, #798)
  • Lifecycle: reject invalid weight-update lifecycles, and re-register the generator worker before each version lease. (#813, #850)
  • Tensor handling: support empty and late runtime tensors, preserve registered buffers across deferred refit hooks, and keep K3 collective scratch state local during tensor adoption. (#769, #910, #911)

MTP draft P2P

  • Role-aware MTP draft P2P: model-specific shard selection for SGLang, and cold shard selection for vLLM. (#824, #855)
  • Shard selection fixes: select MTP draft shards for the GLM-family extra-layer convention and when layer counts are nested under text_config. (#719, #861)
  • Coverage and examples: CI coverage for vLLM MTP P2P loading and a vLLM MTP example manifest. (#761, #760)

P2P, extensibility, and engines

  • External load-strategy plugins: plug in model-loading strategies from outside ModelExpress. (#890)
  • Mooncake artifact backend: reuse cache artifacts over Mooncake. (#676)
  • Topology transfer domains: enforce a topology transfer domain for P2P source selection, and enforce topology isolation for NIXL artifacts. Opt-in via MX_P2P_TOPOLOGY_DOMAIN; once set, enforcement is strict unless MX_P2P_TOPOLOGY_ENFORCEMENT=preferred. (#856, #907)
  • vLLM sleep levels: P2P sources support vLLM sleep levels 1 and 2. This relies on vLLM's model-loader sleep/wake hooks (vllm-project/vllm#57011, not yet merged upstream), so it needs a vLLM build that carries them. After a level-2 sleep, weights must be reloaded before the source serves P2P again. (#854)
  • Configurable NIXL timeout: the NIXL metadata fetch timeout is now configurable. (#820)
  • ModelStreamer for object stores: prefer ModelStreamer for object-store URIs. (#775)
  • vLLM: run the DeepSeek V4.1 mega-attn finalizer before RDMA receive, and release the idle allocator cache after a successful RDMA receive. (#989, #844)
  • SGLang: read the scoped parallel context and preserve shard identity, and bound and drain Mooncake receives. (#845, #968)
  • Memory safety: check device FABRIC capability before allocation, and don't serve P2P when parameters live outside GPU memory. When that happens the worker does not publish as a P2P source, and a target falls back to the next load strategy. (#970, #1005)

Client and server reliability

  • Server outages: keep retrying weight-source publication through a server outage, and wait for the server before bypassing its cache. (#743, #892)
  • Graceful shutdown: the server shuts down gracefully on SIGTERM. (#865)
  • Metadata: reuse verified pinned metadata snapshots without server round-trips, align the sender manifest with the receiver for empty tensors, and preserve Unicode in source identity hashing. (#787, #871, #870)
  • Providers: stop discarding the cached Hugging Face token, and avoid temporary filename collisions during concurrent NGC downloads. (#754, #828)
  • Configuration: the Redis metadata backend prefers MX_REDIS_URL over REDIS_URL. (#742)

Kubernetes and Helm

  • Helm fixes: derive MODEL_EXPRESS_SERVER_PORT from service.port, honor an explicit serviceAccount.automount: false, honor a zero replica count, and include the license in the chart package. (#800, #799, #914, #785)
  • CRDs: bind the CRD provider and phase enums to the Rust enums in tests. (#894)
  • Docs: document sharing one ModelExpress server across namespaces. (#729)

Known issues

  • With invalid S3 credentials, the request is correctly rejected but the error can surface as a generic listing failure (fix planned for 0.9.0).

Security

Documentation

  • Fix the server link in the aws_efa example README. (#904)

CI, build, and housekeeping

  • Release pipeline: nightly builds, split CI tests, and internal artifact staging, plus a Stage Release RC workflow that hands RC artifacts to GitLab. (#603, #959)
  • RL benchmarking: a reusable RL refit benchmark workflow, with MinIO refit fixtures replaced by SeaweedFS. (#819, #862)
  • CI stability: recover from transient infrastructure failures, recover GPU test connectivity, reduce GPU contention and unblock framework tests, reduce cold-build latency and recover RDMA admission failures, temporarily skip a100b inference cases on release/0.8.0, align vCluster Kubernetes and CoreDNS with AKS 1.36, pin GitHub-hosted runners to ubuntu-24.04, and update async-trait for Rust 1.99 clippy. (#872, #887, #919, #891, #973, #936, #918, #838)
  • Release bookkeeping: bump the version 0.5.1 → 0.7.0 and 0.7.0 → 0.8.0, and update attributions for 0.7.0. (#773, #849, #834)

Where we're headed

v0.8.0 makes RL refit fast and fits it to real trainer topologies, while opening ModelExpress up to external plugins and more storage backends. The next releases focus on:

  • Refit at production scale: building on trainer mesh, NCCL M2N, and plan reuse to push refit latency down across larger clusters and more training frameworks.
  • Extensibility: growing the plugin surface for load strategies and artifact backends so teams can adapt ModelExpress without forking it.
  • Day-2 operations: building on tracing, metrics, and graceful lifecycle handling toward SLOs, non-disruptive rolling upgrades, and multi-tenant isolation.

The longer arc is unchanged: ModelExpress becomes the weight and artifact management layer for inference and RL systems, the piece that makes model placement, scaling, refit, and migration fast enough that the orchestrator can treat GPU memory as a fungible resource across the cluster.

New Contributors

Contributors

Thank you to everyone who contributed to this release: the team that drove refit performance and the trainer mesh across dozens of PRs, the 13 first-time contributors, and the reviewers and testers who validated the Azure, MTP, plugin, and Helm paths across Kubernetes and multi-node setups.

Full changelog

v0.7.0...v0.8.0