Settings

Theme

Surpassing vLLM with a Generated Inference Stack

infinity.inc

28 points by lukebechtel 7 hours ago · 8 comments

Reader

storus 13 minutes ago

Does it support page attention like vLLM though? Without that they will run into memory fragmentation quickly.

  • lukebechtelOP 12 minutes ago

    Yes, great question!

    The system started without paged attention, and recreated its own paged attention implementation automatically once it realized it was a bottleneck.

    Pretty cool!

ntonozzi 3 hours ago

Why do they need to run benchmarks to confirm performance? Can't they run an example prompt and verify they get the exact same output token probabilities for all prompts? The fact that they are not doing this makes me suspicious that they are in fact not doing the exact same thing as vLLM.

It is also a bit weird that they are not incorporating speculative decoding, that seems like a critical performance optimization, especially for decode heavy workloads.

  • lukebechtelOP 3 hours ago

    Yes, speculative decoding will make both us and VLLM faster, but we believe it would be a relatively even bump on both sides, so we didn't include it in this comparison. Worth another test!

rfw300 3 hours ago

OK... we need way more information than this to validate this claim! I can run Qwen-8B at 1 billion tokens per second if you don't check the model's output quality. No information is given about the source code, correctness, batching, benchmark results, quantization, etc. etc. etc.

  • lukebechtelOP 3 hours ago

    We validate with MMLU and Hellaswag presently, and are getting this independently verified by a 3rd party.

    We have considered open-sourcing some of our optimized inference libraries in the future, but have not yet come to a decision on this.

    Also if you need a rough intuition as to why this is possible: it's because this entire inference stack was built for exactly one model, and thus we can really tune the entire framework accordingly.

acuozzo 2 hours ago

Luke: Do you have benchmarks for BF16?

  • lukebechtelOP 2 hours ago

    Unfortunately, not at present; we went for FP8 because we believed it was generally the best tradeoff of quality and speed. Allowed faster iteration as well.

    We believe our improvements would hold on BF16, but let me check.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection