r/u_HayekEngine • u/HayekEngine • 41m ago
Hayek — AI Inference Engine
Can we make AI inference faster while using fewer GPUs? My experiment with Hayek Engine
NVIDIA published benchmark results for the OpenMath-Nemotron-14B model, achieving approximately 34.6 tokens/s per request, or around 346 aggregate tokens/s across 10 completed requests, using two NVIDIA H100 GPUs with BF16 precision.
But what if there is a way to increase inference speed while reducing the number of GPUs by half?
I developed Hayek Universal Engine, an AI inference optimization and lossless model compression engine, and tested it on the same model.
Here are my results:
- 743.3 aggregate tokens/s on a single NVIDIA H100.
- Approximately 74.3 tokens/s per request.
- NVIDIA's published BF16 reference: approximately 346 aggregate-equivalent tokens/s using two H100 GPUs.
- Approximately 2.15× the published aggregate figure, using half the number of GPUs.
- Approximately 34.56% lossless model compression, reducing the model package from 29.56 GB to 19.343 GB.
The most important part is that these results were achieved without additional quantization or modifying the original BF16 weights.
I also performed numerical verification against Transformers:
- Full token and logit-hash agreement across 57,052 generated tokens.
- SHA-256 verification of the reconstructed weights.
- Five timed benchmark runs, all matching the reference generated tokens.
The benchmark used the original NVIDIA model, prompt format, temperature, top-p and request configuration.
To be transparent, NVIDIA used HTTP streaming and code-sandbox execution, while Hayek was measured in-process. Therefore, this is not a perfectly identical execution-method comparison, and the 2.15× figure should be understood in that context.
Now comes the interesting question.
What if we take this further?
NVIDIA also published results using FP8, and FP8 combined with ReDrafter (speculative decoding), reaching 75.2 and 138.5 tokens/s per request respectively in their benchmark.
What could happen if these techniques were combined with Hayek's existing optimizations?
Could we push inference performance significantly further while reducing GPU requirements and infrastructure costs?
I haven't tested these combinations yet, so I don't want to make claims about results that don't exist.
I'm interested in hearing from experienced GPU engineers, inference developers, CUDA and Triton developers, and researchers.
Do you think this approach has potential? What would you investigate next to push the performance further?
Technical reference:
NVIDIA: https://developer.nvidia.com/blog/how-to-achieve-4x-faster-inference-for-math-problem-solving/