@TheAhmadOsman: You don’t “run a model” You run Kernels The model is just a graph The Inference Engine is scheduler / optimizer / execu…
Summary
The tweet explains that running AI models is really about running optimized kernels, and that inference engines and their kernel implementations are critical for performance, not just the model or hardware.
View Cached Full Text
Cached at: 06/08/26, 11:19 AM
You don’t “run a model” You run Kernels
The model is just a graph
The Inference Engine is scheduler / optimizer / executor
But the actual work? That happens in the Kernels
- MatMul Kernels
- Attention Kernels
- RMSNorm Kernels
- KV cache Kernels
- Quantized linear Kernels
- Sampling Kernels
- Fused “please don’t write this back to memory 9 times” Kernels
Same model, same GPU, same VRAM Wildly different performance
Because one stack is using optimized fused Kernels that understand your hardware
And the other stack is playing hot potato with tensors through 47 tiny launches and pretending the GPU is the problem
Bad Kernels make people say: “this model is slow”
Good Kernels make people say: “wait how is this running locally?”
This is why Inference Engines and the Kernels implemented within them matter
The model is the recipe The hardware is the kitchen The Kernels are the knives, pans, burners, and the chef not cutting onions with a spoon
Most people benchmark models The real ones benchmark the Kernels underneath
Similar Articles
@TheAhmadOsman: You wanna learn how do these AI kernels work? Start here
Tweet by @TheAhmadOsman pointing to a resource for learning how AI kernels work.
@TheAhmadOsman: Local AI is the future Learning how to run Opensource models (Inference), how to evaluate them systematically (Evals), …
A tweet from @TheAhmadOsman emphasizes that local AI is the future and recommends learning skills like running open-source models, conducting evals, and customizing models through fine-tuning.
The best model is the one you can actually run
The article argues that the best AI model is not necessarily the most powerful, but the one that can be practically deployed and run efficiently, emphasizing the importance of considering real-world constraints like cost and hardware requirements.
@sohailmo: if you read this and understand all the concepts you have the 80/20 of inference optimization fundamentals
NVIDIA launches a series on AI Model Co-Design, starting with how model dimensions affect GPU performance, which the author says covers the 80/20 of inference optimization fundamentals.
@TheAhmadOsman: But does Opensource AI matter if people cannot find or afford hardware to run the models locally? Yes it does. This que…
The tweet argues that open-source AI remains valuable even if hardware is currently scarce, because models will become more efficient and cheaper hardware will become available.