HNHacker News
TopNewBestAskShowJobs

shreyansh26

11 karma · joined August 18, 2017

submissionscomments
shreyansh26··on [dead]
What’s covered:

1. Hierarchical scans: block-local scan → write block totals → scan totals → carry-in add 2. Single-pass scans: the "domino" idea, and why naive inter-block propagation can stall / deadlock without the right coordination 3. Decoupled lookbacks: how modern single-pass scans coordinate across blocks safely 4. Warp-window lookback optimization: scanning lookback metadata in warp-sized chunks (and why it helps)

I also include H100 timings and compare against CUB for context.

shreyansh26··on Understanding Multi-Head Latent Attention (From DeepSeek)
A short deep-dive on Multi-Head Latent Attention (MLA) (from DeepSeek): intuition + math, then a walk from MHA → GQA → MQA → MLA, with PyTorch code and the fusion/absorption optimizations for KV-cache efficiency.
shreyansh26··on FlashAttention in PyTorch
A simplified implementation of FlashAttention in PyTorch for educational purpose.
shreyansh26··on A hyper-fast local vector database for use with LLM Agents
Haha, so all one has to do is to add some fancy terms like LLMs, vectors, hyper-fast and 300+ Github stars. What a a joke lol!
shreyansh26··on OpenAI is now everything it promised not to be: closed-source and for-profit
OpenAI is actually the one which has made AI so open and accessible for all. Perhaps not open source but all the developers building cool AI products these days are mostly due to OpenAI.
shreyansh26··on Ask HN: What are some good resources on Recommender Systems?
That's helpful. Thanks!
shreyansh26··on Including “And. And. And. And. And.” in a Google doc causes it to crash
Reproduced on Edge on Windows 11 as well. What a bug! Really need to know the root cause of this.
shreyansh26··on Ask HN: Which book can attract anyone towards your field of study?
Someone post something about astronomy also please!