Spaces:
Running on Zero
Running on Zero
Commit History
17 days ago
-
Embed CLIP label text lazily instead of at import Running
PabsCanCode +1: Claude Opus 5.5Running the CLIP text encoder in the ZeroGPU parent process at import appears to leave torch in a state that breaks the forked GPU worker ("No CUDA GPUs are available" in worker_init). Compute the embeddings on first use, inside the GPU worker; FastAPI warms them at startup. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>f6e5106 -
Avoid CUDA discovery before ZeroGPU worker initialization
PabsCanCode2aa2ea0 -
Deploy rice disease detection on Gradio ZeroGPU
PabsCanCode2620364