Gewell v0.2 runs full-precision EmbeddingGemma2 in 1.13 GiB, boosts 26B prefill up to 74%

stoppableDissolution · reddit · 2026-10-12

Independent developer releases Gewell v0.2, a custom inference engine squeezing full-precision EmbeddingGemma2 (text+image) into 1.13 GiB VRAM / 0.93 GiB host RAM via workspace overlapping, host-memory embedding eviction, and a single cuBLAS handle — with image embedding fidelity (cosine 0.9997 vs reference) far above llama.cpp and vLLM. Also adds 26B-A4B support with 10–74% faster prefill than vLLM and 0.625x context VRAM, plus 20–24% tg gains for 31B at short contexts. Fun finding: FlashAttention made llama.cpp/vLLM slower on the author's machine.

Original post →

More from Infra

Infra channel →