AnseMin commited on
Commit
b3c2847
·
1 Parent(s): 49c5606

Error: 'GPU task aborted', or 'You have exceeded your GPU quota (60s requested vs. 0s left). Create a free account to get more daily usage quota.'

Browse files
Files changed (1) hide show
  1. README.md +9 -1
README.md CHANGED
@@ -279,4 +279,12 @@ When developing for Hugging Face Spaces with Stateless GPU:
279
  2. Place all CUDA operations inside functions decorated with `@spaces.GPU()`
280
  3. Ensure only picklable objects are passed to GPU-decorated functions
281
  4. Use wrapper functions to filter out unpicklable objects like thread locks
282
- 5. For advanced use cases, consider implementing fallback mechanisms for serialization errors
 
 
 
 
 
 
 
 
 
279
  2. Place all CUDA operations inside functions decorated with `@spaces.GPU()`
280
  3. Ensure only picklable objects are passed to GPU-decorated functions
281
  4. Use wrapper functions to filter out unpicklable objects like thread locks
282
+ 5. For advanced use cases, consider implementing fallback mechanisms for serialization errors
283
+ 6. **Add `hf_oauth: true` to your Space's README.md metadata** to mitigate GPU quota limitations
284
+ 7. Sign in with your Hugging Face account when using the app to utilize your personal GPU quota
285
+ 8. For extensive GPU usage without quota limitations, a Hugging Face Pro subscription is required
286
+
287
+ > **Note**: If you're implementing a Space with ZeroGPU on your own, you may encounter quota limitations ("GPU task aborted" errors). These can be mitigated by:
288
+ > - Adding `hf_oauth: true` to your Space's metadata (as shown in this Space)
289
+ > - Having users sign in with their Hugging Face accounts
290
+ > - Upgrading to a Hugging Face Pro subscription for dedicated GPU resources