Usage quota exceeded
when i try to use a space, it  gives me an error saying “You have exceeded your GPU quota (59s left vs. 120s requested). Sign-up on Hugging Face to get more quotas or retry in 5:03:25”, but im already signed-up, it started after i bought PRO today
2024-09-13T22:51:15Z
It hasn’t worked for six months now. It’s often a problem on the forums. I’m aware of two recent cases.I’m not sure if it’s a bug or a spec.Exceeded GPU quota via API , but fine interactivelySpacesI’ve a pro account and I have created a space using Gradle, and GPU. It works fine interactively, but when I connect to my space via Gradle API then, after a few requests, I get: 
You have exceeded your GPU quota (60s requested vs. 58s left). 
Create a free account to get more usage quota. 
Can I somehow pass my credentials via the API in order to resolve this? I need to use an API to test the space I’ve created. 
Thanks in advance.Learn About GPU Throttling Quota (Another Stupid Guy) :DBeginnersDear Hugging Face Community!First of all, thank you for all your services and for your efforts to democratize artificial intelligence.I’m currently fascinated by image generation, especially with models like “DALLE 3 XL v2” and “Fluently XL v4”. I indeed confirm that it is really not safe to use for work. That said, I must admit that as a child I preferred playing with dolls to be with the girls, rather than playing with cars and computers; which partly e…
2024-10-21T19:50:13Z
@CaioXapelaumI am also facing the same issue, how did you resolve it?
2024-10-21T21:18:46Z
CaioXapelaum:when i try to use a space, it gives me an error saying “You have exceeded your GPU quota (59s left vs. 120s requested). Sign-up on Hugging Face to get more quotas or retry inatfbooru5:03:25”, but im already signed-up, it started after i bought PRO todayThis could be due to a delay in updating your quota after the upgrade, or you might have already reached the Pro plan’s GPU limit, which is still capped. Check your usage on the account page to ensure you’re within limits. If everything seems correct, try reducing your task’s resource requirements or logging out and back in to resync your account. If the issue persists, contacting Hugging Face support for assistance might resolve the problem.
2024-10-21T21:37:22Z
Forgot to correct this post. I was wrong all along, but it looks likethe following sign-in button is all that is needed to mitigate Quota in the Zero GPU space.I put this on my space and it now has quota mitigation.The solution for other people’s spaces that don’t have this button is unknown at this time.huggingface.coSign in with Hugging FaceWe’re on a journey to advance and democratize artificial intelligence through open source and open science.
2024-10-22T05:50:01Z
How to check this usage? Please guide me
2024-11-26T00:57:07Z
I got it to work!!!I duplicated the black-forest-labs/FLUX.1-dev (!!!Important!!! Go to theirModel Card Pageand get access granted to their gated model first. Then you can duplicate the model)Set the environment variables:HF_TOKEN =Use your HF_token (I used read and write credentials for this)ZEROGPU_V2=trueZERO_GPU_PATCH_TORCH_DEVICE=1Then in your own (duplicated) space:Navigate to the FilesClick on app.pyChange@spaces.GPU(duration=75)  # The duration max value can be 120 but this wasn't enough and still didn't work for meto@spaces.GPU()Make sure in your python code that uses the gradio_client python library your HF_TOKEN is set in the environment or you set the parameter REDACTED_TOKEN when creating the clientexample:from gradio_client import Client 
 client = CLIENT("your_duplicated_space/FLUX.1-dev", REDACTED_TOKEN=os.getenv("HF_TOKEN"))Basically, anywhere the decorator@spaces.GPUis being set you are being limited by the spaces owner. You can then duplicate/clone it and make your changes for your own space .
2024-12-12T03:08:25Z
Using the HF_TOKEN like this: client = CLIENT(“your_duplicated_space/FLUX.1-dev”, REDACTED_TOKEN=os.getenv(“HF_TOKEN”)) allow us to use the space wether is ours or from someone else,BUT IT DON’T, uses our PRO Quota, it consider us as a normal user with no PRO limits. Seems that nobody has being able to help us in that issue
2024-12-12T03:29:50Z
Related issue?huggingface.coBestWishYsh/ConsisID-preview-Space · Apply for community grant: Personal...Apply for community grant: Academic project (gpu). We develop an identity-preserving text-to-video generation model, ConsisID, which can keep human-identity consistent in the generated video.
2024-12-14T12:40:00Z
Hi,@John6666, thank you for the solution!Did you try to send a requests through API, does a button helps in this case?Really waiting for your answer, cause I am stacked with calling private space through an API and facing Exceed GPU quota issue.
2024-12-14T12:45:31Z
As you have written in the discussion below…The discussion below is the most recent. It’s not so much a solution as a struggle to figure out who to ask and what to ask.I don’t know which is the cause: Gradio, the HF Private function, or the Zero GPU Space function… it could be more than one.huggingface.cozero-gpu-explorers/README · use authentication in huggingface Gradio...Guys.Edit:I called hysts for now…
2024-12-14T16:24:43Z
I received a response back from hysts. The team is aware of the problem, but it seems that the implementation is not yet complete. It seems that it will be OK if we wait.huggingface.cozero-gpu-explorers/README · use authentication in huggingface Gradio...Guys.
2025-01-06T22:06:12Z
Any update on this guys ?
2025-01-07T01:28:00Z
not yet.
2025-01-07T15:07:34Z
very boring ! you pay a service not working ! thanks
2025-01-10T19:39:08Z
I need 10000 sec/daypossible ?
2025-01-11T01:37:11Z
With a Pro subscription, you can use up to 1500 seconds per day. That probably won’t be enough for you.
2025-01-12T22:19:59Z
An option would be to pay the excedent, for example make a copy of your space, and change it to a paid services, make it sleep and only wake it when you are out of zero quota.
2025-01-13T08:38:25Z
so to have multiple account ? no problem with IP ?
2025-01-21T03:35:30Z
@deeduckmeIP is not a problem, because when you are logged it counts the user not the IP. IP it’s only for anonymous users.