Han Shen (@thuHanShen) header
Han Shen (@thuHanShen) profile picture

MTS@Moonshot AI

Joined August 2013
Photo by Han Shen (@thuHanShen)Photo by Han Shen (@thuHanShen)
Spent half a year of spare time building HuggingArch — a "compiler" that doesn't run tensors, but computes FLOPs, memory traffic & KV cache for any HuggingFace model. Agent writes the spec → sympy evaluates → one click gives theoretical perf across GPUs & parallel configs. No GPU. No weights. No runtime. web: huggingarch.com blog: shenhan.cc/blog/huggingarch.… github: github.com/shenh10/HuggingAr… Star ⭐ & come build it with me!
6
29
2
181
15,236
Han Shen retweeted
以前写一套大模型推理引擎,是顶级底层团队才敢碰的硬骨头。但开发者 tensorfish 刚刚示范了另一种玩法:把 Gemini 4 Neon 指向推理优化 Skill 和自家的 RTX 5090 放手让它跑,直接攒出了一个零 Python 依赖的 Zig + Blackwell CUDA(sm_120a)单二进制推理引擎 squid5090。 翻看仓库源码,它针对 Inkling-2-Mini 模型和 5090 架构做了极其暴力的专属压榨:从寄存器重排的 mma.m16n8k16 解码算子、cp.async 异步预填充,到 CUDA Graph 设备端自适应投机采样一应俱全。 实测单用户生成速度飙到 370–440 tok/s(约 4 倍于通用 llama.cpp),仅占 22.7 GB 显存就能塞进完整 1M 上下文且零溢出。 通用推理框架为了兼容成百上千种硬件和模型,不得不背负沉重的抽象包袱。而当 AI 智能体把底层算子调优的门槛夷为平地,我们正在告别“一套通用引擎打天下”的时代——今后每个人都能针对自己桌上的那张显卡,零成本定制一台只服务于特定模型的极限推理引擎。 开源地址:github.com/tensorfish/squid5…
15
26
1
215
13,496
Over the past week, I’ve been overwhelmed by the love and support of friends, industry colleagues, and people I've never met. Thank you to everyone who has shown kindness to my family and me. It means the world to me. I came to the United States 53 years ago, and becoming an American citizen is one of the greatest gifts and proudest moments of my life. NVIDIA has been my life’s work. Building it into the company it is today alongside my colleagues has been a privilege and an honor. Nowhere but in America could a company like NVIDIA be possible. I love our country, and I love NVIDIA. I did not live up to the standards expected of everyone at NVIDIA, and I have made serious mistakes in my personal life. I created problems for the Board that I deeply regret. I own my mistakes completely, and I am committed to cooperating with the Board’s independent investigation. Since my departure, I’ve seen an outpouring of calls from NVIDIA’s employees, investors, business partners, and customers for me to return as CEO. Many continue to reach out to me directly as the company navigates complex technology, market, competitive, and geopolitical dynamics. NVIDIA is a once-in-a-generation company. If the Board of Directors decides that my return is in the best interest of our shareholders, our employees, the company, and America, I would be honored to answer these calls and return as CEO. Thank you again to everyone who has shared their good wishes. I am profoundly humbled by your support. To my family: I love you, and I will spend the rest of my life being worthy of yours. Jensen
65,143
122,565
24,844
1,186,753
61,958,865
Looking for GPU sponsorship for an open-source project 🙏 HuggingArch computes KV cache capacity & theoretical Pareto curves for any HF model — no weights downloaded, no GPU needed. KernelBench plugs into multiple operator/inference-engine backends and archives real profiling data. What's needed: at most one machine per GPU type. Only communication kernels need multi-GPU data; everything else benchmarks fine on a single card. What it unlocks: measured data points showing exactly how far each runtime sits from its SOL ceiling — aligning theory with the actual achievable upper bound, for the whole community. DM open 🙏 🔗 huggingarch.com
Spent half a year of spare time building HuggingArch — a "compiler" that doesn't run tensors, but computes FLOPs, memory traffic & KV cache for any HuggingFace model. Agent writes the spec → sympy evaluates → one click gives theoretical perf across GPUs & parallel configs. No GPU. No weights. No runtime. web: huggingarch.com blog: shenhan.cc/blog/huggingarch.… github: github.com/shenh10/HuggingAr… Star ⭐ & come build it with me!
7
6
1
65
3,419
Han Shen retweeted
Spent half a year of spare time building HuggingArch — a "compiler" that doesn't run tensors, but computes FLOPs, memory traffic & KV cache for any HuggingFace model. Agent writes the spec → sympy evaluates → one click gives theoretical perf across GPUs & parallel configs. No GPU. No weights. No runtime. web: huggingarch.com blog: shenhan.cc/blog/huggingarch.… github: github.com/shenh10/HuggingAr… Star ⭐ & come build it with me!
6
29
2
181
15,236