## Summary
- The `inference` extra pins `modelexpress-server==0.8.0.dev20261022`.
The wheel installs `modelexpress-server` (ai-dynamo/modelexpress
`446feec`, the revision of the pinned `modelexpress` client) and
`valkey-server` 8.1.12 into the environment's `bin/`.
- `rl` (local runs) and the multi-node SLURM template start ModelExpress
and Valkey from the environment, not from
`third_party/modelexpress/bin`.
- Delete `scripts/install_modelexpress.sh`, which built the server with
a bootstrapped Rust toolchain and built Redis from source.
- Update `docs/model-express.md` and the `start-run` skill.
The server needs a Redis-compatible store: its in-memory backend does
not implement Refit, the weight-version API `modelexpress` weight
updates use. Valkey is the BSD-licensed Redis fork; Redis 7.4+ is no
longer BSD.
The wheels are built by PrimeIntellect-ai/prime-kernels#28 and pinned
from its release
[`v0.1.0-6f5ec18`](https://github.com/PrimeIntellect-ai/prime-kernels/releases/tag/v0.1.0-6f5ec18).
## Breaking
- `scripts/install_modelexpress.sh` is removed, and
`third_party/modelexpress/bin` is no longer read. Migration: run `uv
sync` with the `inference` extra (the `gpu` and `all` extras include
it).
## Verification
Reverse-text RL with `weight_broadcast.type = "modelexpress"`
(Qwen3-0.6B, `tests/integration/configs/reverse-text/start.toml`, 15
steps) on H200. Each run had no `third_party/` directory, and the server
and Valkey started from the environment's `bin/`:
| Wheels | Layout | Reward (step 1 → 15) | Mismatch KL, last 3 steps |
Weight broadcast | Exit |
|---|---|---|---|---|---|
| Built locally | single node, 1+1 GPU | 0.15 → 0.75 | ≤ 0.003 | 0.53 s
| 0 |
| PR 28 CI build | single node, 1+1 GPU | 0.16 → 0.75 | 0.0016–0.0026 |
0.53 s | 0 |
| PR 28 CI build | 1+1 nodes, 8+8 GPUs (multi-node template) | 0.28 →
0.73 | 0.012–0.018 | 2.6–3.1 s | 0 |
The multi-node run's mismatch KL is above the single-node test's 0.01
bar. There is no NCCL baseline for that layout yet, so I can't yet say
whether it comes from the 8-rank FSDP / 8-engine layout or from the
transport. The server only coordinates the transfer, so the wheel does
not change the weights.
`uv lock` resolves the release wheels for x86_64 and aarch64. The
release rebuilt the wheels from the merged PR, whose CI build was tested
above.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
<!-- CURSOR_SUMMARY -->
---
> [!NOTE]
> **Medium Risk**
> Changes how ModelExpress weight-broadcast infrastructure is
provisioned and launched on SLURM; mis-synced environments will fail at
startup rather than silently using old binaries.
>
> **Overview**
> **ModelExpress setup no longer requires a manual build.** The
`inference` extra adds the `modelexpress-server` wheel (pinned like
other prime-kernels binaries), which installs `modelexpress-server` and
**Valkey** into the environment `bin/` instead of relying on
`scripts/install_modelexpress.sh` and `third_party/modelexpress/bin`.
>
> **Launch paths are updated** so `uv run rl` and multi-node SLURM
resolve binaries via `sysconfig.get_path("scripts")`, start **Valkey**
(not a source-built Redis), and rename template vars to
`modelexpress_valkey_port`. The install script is **removed**; docs and
the start-run skill tell users to install the `inference` extra only.
>
> **Breaking:** workflows that ran `install_modelexpress.sh` or expected
`third_party/modelexpress/bin` must run `uv sync` with `inference`
(included in `gpu` / `all`).
>
> <sup>Reviewed by [Cursor Bugbot](https://cursor.com/bugbot) for commit
06e60b532e21e2f5aca33e36fdfd049d6a2f79f8. Bugbot is set up for automated
code reviews on this repo. Configure
[here](https://www.cursor.com/dashboard/bugbot).</sup>
<!-- /CURSOR_SUMMARY -->
---------
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>