In this article
Measure loading and steady-state memory independently, then test overlapping modality requests for correct results.
The b12261 pre-release shares a compute buffer among multimodal subcontexts and adds load-time allocation for audio generation. This changes where memory is reserved and reused. A worker capacity test needs both the load peak and mixed modality execution, including concurrent requests.
Map allocation lifetime
A buffer shared across subcontexts can reduce separately reserved scratch space, while moving an allocation to loading can increase the initial reservation. Track device and host memory from process start through model load and the first request. Mark the sampling points so a dashboard that starts after readiness does not miss the largest peak.
Use the model’s real modality paths
For a model supporting the relevant modalities, exercise image input, audio input and audio generation separately. Record the actual paths selected by the runtime. Then run the mixtures your API exposes. Loading a projector successfully proves less than completing a representative request that uses its compute buffer.
Check overlap and ownership
Shared storage is safe only with a correct lifetime and execution order. Submit overlapping requests with distinctive synthetic content and compare against isolated results. Include cancellation during one request and a subsequent request using another subcontext. Observe stale output, cross-request contamination or crashes without assuming that a shared allocation implies concurrent execution is supported.
Size the worker from the full trace
Report the load peak, idle reservation and peak under the supported request mix. Include allocator headroom and the observed failure point when approaching device capacity. This lets an operator compare how many replicas can start and how many can serve simultaneously, which can be different constraints on the same GPU.
Primary sources
Related reading
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.