Hi all,
We’re evaluating NVIDIA NIM for a multi-model production deployment where we have more models than GPUs. We’d like to know the recommended pattern for swapping models in and out on demand.
Environment
- 2 GPU nodes, one NVIDIA L40 each, so only 2 models can be resident at once
- Many models served in production, so they must be loaded on first request and unloaded when idle
- NIM Operator v3.1.2, using NIMCache and NIMService custom resources
- Kubernetes version: [fill in]
- Models in scope: [list sizes/architectures, e.g. 8B LLM, embedding, reranker]
What we’ve measured (3 runs on a test server)
- Load time: about 1 to 2.5 minutes (average ~103 s), higher on a cold start
- Unload time: about 30 s
- Swap time varies with model size and architecture
Questions
- Swap pattern. What is the recommended approach for load-on-first-request and unload-when-idle on a fixed GPU pool? Is it scaling NIMService replicas to 0 and back, or something else?
- Operator support. Does NIM Operator natively support scale-to-zero, idle timeouts, or priority classes? If not, what should we use to decide which model is evicted when both GPUs are occupied (e.g. Kubernetes PriorityClass and preemption, KEDA, or a custom controller)?
- Run:ai. Is NVIDIA Run:ai the recommended scheduler for this (queues, priorities, fractional GPUs, GPU memory swap)? How does it integrate with NIM Operator, NIMCache, and NIMService?
- Reducing swap time. Are there NIMCache optimisations or pre-warming techniques that bring load time down? For example, caching the model profile or TensorRT engines on a PVC, keeping weights on local NVMe, or keeping a warm standby. Which part of the ~103 s is typically dominant: image pull, weight load, or engine build or compile?
- Licensing. Which orchestration or scheduling features come with the NVIDIA AI Enterprise licence, and which should we evaluate for this use case?