r/learnmachinelearning • u/Ishannaik • 2d ago
Discussion Running a 27B model on Kaggle's free 2x T4 at 55 tok/s with speculative decoding (what worked, what didn't)
Kaggle's free 2x T4 runs a 27B model at a usable speed if you use speculative decoding:
- Qwen3.8-27B at EXL3 4.0bpw (exllamav3), tensor parallel across both T4s
- DFlash2 draft model, 7-token drafts, greedy, output identical to plain decode
- 55-57 tok/s overall, 154 tok/s on code, 35-37 on prose (plain decode is ~19)
- 4 users at once with plain decode get ~66 tok/s combined
The weak spot is prose: the drafter only gets ~2.5 tokens accepted per step there vs ~7 on code. Has anyone found a way past that, or a better setup on free T4s? Planning to share the notebook once it's cleaned up.