r/MachineLearning • u/AutoModerator • Oct 02 '26
Discussion [D] Self-Promotion Thread
Please post your personal projects, startups, product placements, collaboration needs, blogs etc.
Please mention the payment and pricing requirements for products and services.
Please do not post link shorteners, link aggregator websites , or auto-subscribe links.
--
Any abuse of trust will lead to bans.
Encourage others who create new posts for questions to post here instead!
Thread will stay alive until next one so keep posting after the date in the title.
--
Meta: This is an experiment. If the community doesnt like this, we will cancel it. This is to encourage those in the community to promote their work by not spamming the main threads.
View all comments
1
u/atronos_kronios Oct 18 '26
Sharing my new, free blog on learning AI/ML maths and systems through implementations and experiments. The first post builds GPT-2 small and a KV cache in PyTorch, with correctness checks and NVIDIA A40 measurements (fp32, TF32 off, batch 1).
At 1,000 tokens of context: roughly 1,000x less estimated arithmetic, but 29.69 ms to 4.95 ms per token; full generation improves about 2.9x. I also cover a cache-ordering bug that passed a single-token test and a memory baseline contaminated by the lazily allocated cuBLAS workspace. The latency-floor explanation is still a hypothesis pending profiling.
Post: https://angry-kratos.github.io/posts/2026-10-kv-cache/
Code: https://github.com/angry-kratos/angry-kratos.github.io/tree/main/code/kv-cache
I am the author; no paywall or signup required. Feedback on experimental methodology is welcome. AI assistance was used for editing and tooling.