You baked the model into the image. One env var can silently un-bake it A developer explains how baking Hugging Face model weights into a serverless GPU image at build time can be silently undone by a runtime environment variable. If HF_HOME is overridden at runtime, the loader ignores the baked weights and falls back to downloading from the network, negating the cold-start optimization. The developer recommends attaching no volume, verifying at boot, and treating the cache path as part of the build contract. On serverless GPU, cold start is image pull plus model load. The single biggest win is usually to stop downloading weights at boot: download them at build time so they ship inside the image and load from local disk instead. The setup is two lines. Point the cache at a path inside the image, then fetch during the build: python ENV HF HOME=/opt/huggingface RUN python -c "from huggingface hub import snapshot download; snapshot download '