Shaankar39/vaaani-flagship
0
Vaaani Flagship — CPU inference (free tier)
Serves the Vaaani curriculum tutor (Qwen2.5-3B base GGUF + the Root-Bridge / sound-spiral LoRA) entirely on CPU via llama-cpp-python. No GPU. The CPU-only design is the moat — and it is exactly what lets this run on Hugging Face's free 2-vCPU / 16-GB Space.
Endpoints
Configuration (Space → Settings → Variables, not Secrets)
How the GGUF gets here
The Space does not bundle the 2–3 GB model. It pulls it at first request from the HF model repo above (hf_hub_download). So: after training, upload the two GGUF files to that model repo once, and this Space serves them. Swapping quant = change one Variable, no rebuild.
Free-tier reality (honest)
- Accuracy: identical to local — same weights; Q4KM ≈ Q8 for this scripted task.
- Speed: a few tok/s on 2 vCPU (~10–25 s/turn). Streaming hides most of it.
- Sleep: free Spaces idle-sleep after 48 h → ~30–60 s cold start on the next hit.
- Scale: one request at a time. For concurrent classrooms, upgrade to a paid CPU Space (never a GPU) — funded from pilot revenue, not upfront.
