Deploying the 600GB Inkling-NVFP4 Model on Spot A3: A GKE and vLLM Deep Dive
Ok, so, maybe you're a software developer or data scientist who just heard about the new, massive 600GB Inkling-NVFP4 AI model, and you want to try running it yourself without breaking the bank. You also might have learned through some research that renting a "Spot A3" instance on Google Kubernetes Engine (GKE) is a brilliant way to do it. An A3 instance is essentially a massive supercomputer…
In this report, we delve into the challenges and solutions associated with deploying the massive 600GB Inkling-NVFP4 AI model on a Spot A3 instance within Google Kubernetes Engine (GKE). The A3 instance is equipped with 8 high-end NVIDIA H100 GPUs and is offered at a significant discount as a spot instance. The report outlines the potential software conflicts and memory limitations that can arise when attempting to run such a large model and provides step-by-step instructions to overcome these hurdles.
Using the official vLLM image as the base image for the GKE cluster eliminates software conflicts by ensuring compatibility with the required AI software packages. The official vllm/vllm-openai:v0.26.0 image contains the necessary dependencies, including Ray, vllm, Transformers, and the correct version of NumPy, all pre-packaged together. This approach prevents ABI mismatches and download timeouts, streamlining the deployment process.
However, even with the correct software setup, deploying the 600GB Inkling-NVFP4 model still faces memory constraints. The model's weight alone consumes almost the entire 640GB of High Bandwidth Memory (VRAM) available on the A3 instance. To address this, the report suggests adjusting two critical engine arguments: setting max_model_len=4096 to limit the AI's short-term context window to 4,000 words and setting gpu_memory_utilization=0.96 to allocate 96% of the GPU memory, leaving a small buffer for the operating system and CUDA runtime.
By implementing these adjustments, the model can successfully run on the A3 instance without crashing due to memory limitations. The report concludes by providing a clean Python script using Ray Serve, which configures the memory limits and serves the model across all 8 GPUs without the need for complex installation scripts or custom Docker images.
Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.