# Fast api zero GPU problem

**URL:** </static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Ffast-api-zero-gpu-problem%2F159053%3E%5C
**Category:** Beginners\
**Created:** [June 12, 2025, 2:45pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Ffast-api-zero-gpu-problem%2F159053 "2025-06-12T14:45:54Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![John6666](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/john6666/32/27664_2.png) [@John6666](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2FJohn6666)%5C
**Post date:** [June 12, 2025, 3:07pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Ffast-api-zero-gpu-problem%2F159053%2F2 "2025-06-12T15:07:33Z")

</div>

Hmm… For example, are you trying to use Zero GPU in Docker Space?  
It may work if you call FastAPI from Gradio Space, but I don’t think it is supported in Docker Space.

> [@Can't get Zero-GPU to work with Fastapi/Uvicorn](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fcant-get-zero-gpu-to-work-with-fastapi-uvicorn%2F141634)%3A
>
> Hello everyone – I’d really like to use ZeroGPU for my project, but I just can’t get it to work for my use-case, and have been working on it for days now. Basically the issue is: ZeroGPU only works for me when I enable SSR-mode in Gradio 5.+. If I don’t do that I’m running into all the issues about ZeroGPU not finding the account of the user, and applying the very restrictive IP-based limits, which have been discussed in this forum. That wouldn’t be a problem, but I need to server my applicati…

> **[Spaces ZeroGPU: Dynamic GPU Allocation for Spaces](https://huggingface.co/docs/hub/spaces-zerogpu#compatibility)**
>
> We’re on a journey to advance and democratize artificial intelligence through open source and open science.

> Currently, ZeroGPU Spaces are exclusively compatible with the **Gradio SDK**.

---

_[View the full topic](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Ffast-api-zero-gpu-problem%2F159053)._
