TinyLlama 1.1B
on NVIDIA RTX 3050 6GB · tinyinfer
Summary
User reports TinyLlama-1.1B at 235 tok/s in INT4 on an RTX 3050 6GB Laptop, using their own engine tinyinfer.
Setup is tinyinfer, a hand-written C++/CUDA engine with 4-bit weights dequantized inside the GEMV, GQA-aware flash-decoding attention and the whole decode step captured in a CUDA graph.
The 235 tok/s is 77% of the card's roughly 305 tok/s memory-bandwidth ceiling; earlier versions reached 200 and 212 tok/s. The new attention kernel made Llama-2-7B slower until a one-line dispatch fix, and Llama-2-7B also fits in 6 GB at q4 at about 3.8 GB.
Compare this run
Medians of plain runs: one device, one request, no speculative decoding, the whole model in the device's memory. The report above is one setup, so read it beside them and not as one of them.