Spaces:
Sleeping
Sleeping
A newer version of the Gradio SDK is available: 6.20.0
metadata
title: ZeroGPU Batch Embedder
emoji: π
colorFrom: blue
colorTo: green
sdk: gradio
app_file: app.py
pinned: false
short_description: On-demand H200 batch embeddings for the RAG benchmark
ZeroGPU batch embedder
Free H200 batch embedding for the GoodKnowledge RAG benchmark. Offloads the corpus-embedding step (the local-Metal bottleneck) so the full 512k EnterpriseRAG-Bench is runnable.
Deploy
- Create a ZeroGPU Space (requires HF PRO), Gradio SDK.
- Add
HF_TOKENas a Space secret (embeddinggemma is gated). - Push
app.py+requirements.txt, set Hardware β ZeroGPU in Space settings.
Use from the bench harness
Set the embedder to hf-zerogpu:<your-username>/<space-name> (see _zerogpu_embed in
experiments/bench/bench_sweep.py). The harness batches texts to fit the 60β120 s per-call
limit and caches the returned vectors. PRO = 25 min H200/day; 512k docs β 2β4 min of GPU.