TECHNOLOGY

ONNX CUDA plugin 0.4 MoE offload: auto placement and required admission answer different questions

In this article
THE QUICK TAKE

MoE offload modes in CUDA plugin v0.4.0 define placement and admission behaviour; inspect the resulting plan instead of inferring it from the option name.

CUDA Plugin EP v0.4.0 adds session-scoped hybrid expert offload. Its release notes distinguish auto placement from required admission: one can keep a fitting model on GPU, while the other fails session creation if an offloaded node cannot be admitted. The mode is therefore part of operational failure policy, not merely a performance preference.

Admission happens before useful inference

A planner can reject a configuration before a request executes. That is a different outcome from a later kernel allocation failure. A proposed integration test includes a comfortably fitting configuration and an intentionally constrained one, recording whether session creation succeeds and which placement was selected. Keep the model fixed while changing the budget, so the observed transition can be attributed to admission rather than operator coverage or a changed graph.

Auto does not mean every expert is offloaded

The release says auto can retain all experts on GPU when they fit. A benchmark labelled “hybrid” should therefore verify actual residency rather than rely on the requested mode. Record GPU slots and CPU participation where diagnostics expose them. An all-GPU auto run can be a useful baseline, but comparing it with a constrained hybrid run changes both resource placement and execution work distribution.

Session scope does not erase process resources

Planning is session-scoped, while the GPU and host are shared resources. Other sessions or applications can affect the conditions under which the admitted plan runs. A local qualification should preserve concurrent activity and report it. Test session teardown too, so a failed admission or repeated initialization does not leave resources unexpectedly retained. The planner’s mode alone does not establish isolation from every other user of the machine.

Report the selected policy with the result

The release requires matched core support for this offload feature despite an older general plugin floor. Preserve core version, mode and actual placement with correctness and timing. This article reports the admission distinction and proposed boundary cases, without promising that every MoE model fits after enabling offload or claiming a new throughput figure. A useful outcome is an explainable accepted plan or an intentional, well-attributed rejection.

Sources

Earn rental income from GPUs

Have idle GPUs or looking to fund AI infrastructure? Retrivium finds a rental platform, sets up the server and helps you assess income and costs with a pilot.

Explore GPU hosting
← All articles