Kubernetes pod crash loop after canary deploying Hugging Face Transformers model
Problem Description A canary rollout of a Hugging Face transformers model on a Kubernetes cluster results in the newly created pods entering CrashLoopBackOff. The failure manifests during the model initialization phase, before the inference server becomes ready. Typical log excerpts include: 2024-08-30T12:15:42.123Z ERROR [model_loader] RuntimeError: CUDA out of memory. Tried to allocate 12.34 GiB. This … Read more