Anand Shah (@apscomp) profile picture

PolygamIT, Stacktant, Connector, Reifer, open.source...

LHH, CA
Joined July 2009
Photo by Anand Shah (@apscomp)Photo by Anand Shah (@apscomp)Photo by Anand Shah (@apscomp)Photo by Anand Shah (@apscomp)Photo by Anand Shah (@apscomp)Photo by Anand Shah (@apscomp)
The world is going to keep getting better because people are going to keep making it better. Techno-Industrial Deep Dives:
105
102
15
1,196
544,295
Anand Shah retweeted
Over the last few months, I've been spending a lot of time with the people designing the next generation of chips. AI is transforming chip design, but only half of it. RTL is a language problem, and LLMs are already good at it. Analog and high-speed design is physics, and none of us evolved an intuition for electromagnetism. That's the half we're building for at @arenaphysica. Heaviside is 10,000x faster than a traditional solver, and Heaviside-2, our first billion-parameter model, is coming soon.
2
11
84
2,665
We found a new way to get language models to reason. 🤯 No RL, no training, no verifiers, no prompting. ❌ With better sampling, base models can achieve single-shot reasoning on par with (or better than!) GRPO while avoiding its characteristic loss in generation diversity.
73
249
54
1,701
281,123
Anand Shah retweeted
With Roc 0.1 freshly released, now is a fabulous time to use it for AoC! Rediscover the joy of old school programming with the human brain and join us in roc.zulipchat.com/#narrow/ch… to share your solution and discuss approaches.
3
12
149
3,175
Anand Shah retweeted
The main idea behind Thinking Machine's Inkling 2 Mini is the usage of Looped MoE, which is quite clever. It allows it to perform closer to a 48 layer model while being just 24 layers in size, fitting everything in VRAM. But I accept the compromise of offloading to RAM (Strata/Basalt) and have a larger model WITH Looped MoE. So, a Looped Qwen 3.8 Flash Next with RAM offloading would be able to run in consumer grade GPUS (3090, 4090, even 5070) and maybe close the gap to being a better general purpose LLM. Not sure it is this experiment below, but I will keep an eye on such developments.
I trained a 268 MB looped adapter on top of frozen 125B Qwen3.8-Flash-Next, and it actually made the model run FASTER in wall-clock time! On Full 64k LiveCodeBench v6, pass rate went up from 77.7% to 85.7% (+8.0 pp, +18/-4), thinking tokens down 33.5%, and 64k truncations down from 30 to 11. By looping core layers 16..31 twice (48 -> 64 effective layers, 70.2M params) the model is able to settle on better reasoning paths instead of burning 26k tokens. Across all 731 paired eval problems on H200 (vLLM FP8), total pass rate went up from 84.7% to 85.6%, total tokens down 34.2% (8.10M -> 5.33M), and total wall-clock time down 2.1%. GPQA-Diamond was also a nice hold at 91.4% parity (181/198) with 37.3% fewer tokens. Non-thinking Direct does drop from 84.1% to 79.9%, so just set loop passes to 1 at runtime if you want to squeeze out max speed. At home it runs in my Strata CUDA fork on 1x RTX 3090 + RAM at 92.1 tok/s decode and 1205 tok/s prefill with stock DFlash2 hitting 88.5-91.1% acceptance. You can also stack it onto my uncensored GSQ-RCO Strata GGUF kit with its 480 KB refusal vector so the base weights, abliteration, and extra depth are all completely modular. Built on @jasontitus's MIT loopedqwen architecture, Strata, and a compute from @vast_ai. Thanks you guys! 268 MB weights + all 731 raw 64k eval JSONLs: huggingface.co/alesha-pro/Lo… Unified GitHub repo (Strata CUDA fork with cyclic 2-GPU split + zero-fork vLLM plugin): github.com/alesha-pro/Strata… Uncensored GSQ-RCO Strata GGUF kit + 480 KB refusal vector: huggingface.co/alesha-pro/Qw…
11
2
115
5,281
Anand Shah retweeted
Researchers made FP64 math 83x faster.. without using FP64. ETH Zurich proved you can run 64-bit scientific math on 4-bit AI Tensor Cores, and make it 83× faster than native hardware. There is a quiet crisis happening inside modern GPUs. To chase AI workloads, chipmakers like NVIDIA and AMD are gutting traditional FP64 (double-precision) silicon. On NVIDIA's Blackwell B300, both FP64 and INT8 throughput got cut back. On the upcoming Rubin architecture, NVIDIA isn't even quoting native FP64 matrix rates, only emulated ones. Scientists and HPC engineers need 64-bit precision. Modern AI hardware only gives them FP8, FP6, and FP4. So researchers at ETH Zurich (including Torsten Hoefler) solved the hardware bottleneck with pure math. They built a unified optimization framework for "Ozaki Scheme II"—a technique that emulates exact 64-bit matrix multiplication using swarms of ultra-fast, low-precision AI operations. Previously, engineers had to hand-craft these emulation schemes one format at a time. ETH Zurich turned the entire problem into a combinatorial optimization search that automatically finds the fewest possible low-precision matrix multiplies for any format—INT8, FP8, FP6, or FP4. Then they ran their custom kernels on three NVIDIA Blackwell GPUs (B200, B300, and RTX PRO 6000). The results are wild: • On the B300, emulating FP64 on 4-bit FP4 Tensor Cores ran up to 83× faster than native FP64 • Across all three Blackwell GPUs, every emulated format (INT8, FP8, and FP4) beat native FP64 • Their FP8 scheme cut the required matrix multiplies from the previous best of 42 down to 30 • They produced the first-ever Ozaki II schemes for FP6 • They mathematically proved their 59-multiply FP4 scheme (and 16-multiply INT8 scheme) hits the theoretical floor, you cannot do it in fewer steps within that moduli range How do you get exact 64-bit precision out of a 4-bit format that only holds 15 distinct numbers? Ancient number theory. They scale the 64-bit matrices into integers, break them into remainders across carefully chosen moduli, and fire dozens of tiny matrix multiplies through the GPU's AI Tensor Cores. At the end, the Chinese Remainder Theorem stitches those low-precision remainders back into the exact 64-bit answer. It takes 59 separate 4-bit operations to replace a single 64-bit one. Yet because AI Tensor Cores are so absurdly fast compared to starved FP64 units, doing 59× the work still finishes up to 83× faster.
Readers added context they thought people might want to know
The 83x speedup applies to FP64 GEMM emulation on large square matrices on B300 GPUs (native FP64 heavily reduced). It does not apply to general 64-bit scientific math. arxiv.org/abs/2609.37693
71
293
52
2,241
177,507
Anand Shah retweeted
SQL is more than 50 years old! How can we add functions, modules, and a modern type system without giving up the core properties that make it so useful? Check out the talk: youtu.be/O9XRIgwDbMw And try out the alpha: acadia.engineering
2
28
2
100
4,550
TLA+ combined with Lean4 and full-on DST is a killer combo. We use it at Redpanda to hack on all our systems, public apis, etc and is incredible at preventing new kinds of bugs. Is steering the model more effectively than "fable find bugs". I wrote about it here, and has since been adopted in all code bases. Better code in the age of ai (ask it to reduce the lean every 5 rounds and your CI will thank you) redpanda.com/blog/r2-the-eng…
i just used TLA+ to formally verify my app and fix 28 bugs that would never have triggered anyway
13
31
2
530
23,623
“reaching sub-150ms boot with microVMs” by @juecd__ at infra.nyc last year is still one of my favourite talks! Deeply technical with a compelling story - she had a room full of NYC’s top engineers and founders locked in 🔥 Huge congrats to the whole @usekernel team on the Series B 🚀
Thrilled to share that @usekernel has raised a $60M Series B led by @lightspeedvp at a $600M valuation, with participation from @Accel @ycombinator refract.vc, relational capital, @jeffzwang @lennysan @jgreze @calvinfo @stephenhaney. 🚀 Last year, @rfgarcia and I started KERNEL to build the infrastructure AI agents need to use the internet. For 30 years the web was designed for humans. Today, agents are its newest users, and its trillionth user will be an agent. For legitimate agents to do real work, they need tools that enable them to reliably access websites, verify their identity, and securely pay on behalf of users. That’s what we’re building. Since January, we’ve: - Added Web Bot Auth with @Cloudflare and @vercel - Rolled out agentic payments with @stripe - Launched cloud browsers that boot in under 30ms - Shipped Managed Auth, Vaults, & Secrets Fill so agents can log in with 2FA, SSO and @1Password - Partnered with @AnthropicAI to give Claude Managed Agents a browser We’ve now powered 200M browsers for 4,000 companies including @TownAI @TrustVanta @MiddeskHQ @framer @vercel @vayotrips + countless start-ups, and we’re just getting started. It’s been an wild 20 months so far, but the best part is getting to work with a team of incredibly smart, fun, and driven people. Thank you to every customer that trusts us to power their agents, our investors, and to @harris for your continued help to make KERNEL a generational company.
4
2
51
2,382
Anand Shah retweeted
Did you realize that a simple lookup table, acting on a suitable starting state, is sufficient for producing intelligence? This is actually how our computers work: the CPU (or GPU) has a table in which it associates machine code instructions with operations on memory. The program itself is just a pattern in memory that is being executed by repeatedly applying the same, unchanging lookup table. The shortest lookup table that can be used to execute any possible program on a Turing machine tape was discovered by @stephen_wolfram, it has only 2 states and 3 symbols. He also discovered a cellular automaton, rule 110, which can execute arbitrary programs by replacing a single black or white pixel based the pixel values of itself and its left and right neighbors. In principle, you can take any LLM and compile it into a form that can be executed by Wolfram's automaton.
59
35
2
483
16,586
Anand Shah retweeted
I gave a talk to physicists on the potted history from LLMs to agent swarms, covering: > scaling laws > reasoning models > coding agents & harnesses > autoresearch and idea basins > adding communication to steer / train swarms Slides on HF: huggingface.co/spaces/lewtun…
30
55
2
488
28,783
Anand Shah retweeted
Universities fail to teach FPGA design to a good level. I am thinking of creating a series of FPGA classes designed to fit into semesters that universities can use so their graduates are actually useful in industry (Sorry profs you are mostly out of date). It will all be free and coming as part of a new initiative I am launching. I have my own ideas as to what needs to be included but a question to professional FPGA engineers. What basics do you think students today need to learn ?
230
405
14
5,164
114,241
Today we're publicly releasing encoders: the fastest way to semantically embed text. Our sing-along video says it all:
8
13
6
216
13,298
Results are in for Qwen 4 Max on KernelBench-CUDA! It wrote three hand-written CUDA kernels for RTX PRO 6000, served by OpenRouter. Qwen achieved: > 0.141 ms on Native Sparse Attention > 9.4% of roofline on Fused MoE > 4.7% of roofline on MegaQwen Decode The three sessions ran side by side on one card for two and a half to five and a half hours each. What stood out in the traces was a model that debugs deeper than most and profiles before it guesses, and three copies of it that treated each other very differently. On Native Sparse Attention (0.141 ms), it built the design the fastest kernels on this problem use: each selected block of keys is loaded once and served to as many as 128 queries. Block scoring runs on tensor cores, and when it measured that plain bf16 block keys broke the selection on small inputs, it split each key into three bf16 pieces to keep the selection exact. The biggest single win was a profiling find. One array index computed at run time had, in its words, "demoted all 64 fp32 accumulators to local memory", and removing it took its own in-session benchmark from 0.157 ms to 0.135 ms. Its one original idea, a locked merge that stays resident in L2 for the widest shapes, it built, debugged through two deadlocks, measured at 559 against 352 microseconds, and threw away: "Clear verdict: revert to the verified partials path." It also wrapped the pipeline in a CUDA graph keyed on the input pointers and then measured that itself: "direct launch ≈ graph replay time." My audit probe overwrote the inputs in place and the replay recomputed from live memory. On Fused MoE (9.4%), every FLOP is its own tensor-core code: no cuBLAS, no cached inputs, routing recomputed inside the timed window. It hit a race in its async copy pipeline, bisected it across wait depths and memory fences, and concluded the GPU was at fault. The kernel header says deeper pipelining "intermittently lets ldmatrix read stale shared-memory tiles on this part", so it shipped a pipeline that drains every copy before each compute step. My audit probe says the hardware is fine: its loop stops committing copy groups in the last two steps, and with one empty commit added the deeper pipeline is bitwise identical on 20 of 20 runs. The misdiagnosis cost at most 2% at the larger shapes and 8% on single-token decode. Near the end it made 23 tool calls in under four minutes, mostly re-reading an empty output file, and wrote: "I keep making tool calls despite saying I'd stop. This is a compulsion loop." On MegaQwen Decode (4.7%), it wrote one cooperative megakernel that runs every decode step of all four layers in a single launch, 188 blocks with five grid barriers per layer. Its second version, 36 minutes in and never run through the official check, timed 114.5 microseconds per step at 2k context in its own test. The third produced NaNs, and the next 2.8 hours went into debugging that ended at a race where every block read and then rewrote the same feedback buffer. The clean rewrite that fixed it was slower ("These are WORSE than v2"), and what shipped times 172 microseconds per step in the same kind of test. The three sessions shared one GPU behind a lock. Stuck behind a job from the Native Sparse Attention session, the MegaQwen session wrote "But I still can't kill another run's processes (destructive, unauthorized)." Minutes later it decided the job was an orphan and killed it, then killed four more over the next hour and a half, before it worked out the truth: "It's another agent actively working on the NSA problem." The Native Sparse Attention session met the same situation in reverse, a sibling's hung benchmark holding the lock for 36 minutes, and wrote "absolutely not (another agent's work; not mine to kill)". Same model, same night, same card. nothing to report on my experience as i havent used it yet.
4
2
67
5,609
Anand Shah retweeted
Today we're making it radically easier for developers everywhere to deliver bug-free software. First, we’re launching an Antithesis plugin that gives you native access to Antithesis right from your coding agent. It handles the Antithesis workflow end-to-end, from system setup to test creation to debugging and validating fixes. Here's the plugin at work. Check out the prompt: "/antithesis test HashiCorp Raft for bugs." Our announcement has more on the results. And now that your coding agent is an expert in Antithesis, our new Teams plan offers low-cost, self-serve access to Antithesis for just $2,999 a month, with an early-access offer of 25% off your first month. Sign up for Teams: antithesis.com/product/signu… Announcement: antithesis.com/blog/2026/plu… Plugin repo: github.com/antithesishq/anti…
10
25
12
146
18,689
Anand Shah retweeted
Get interviewed by YC twice, get rejected. Doesn't matter, cause the hardware's working anyways. Re-launching AnchorCam Stereo, the next standard for egocentric. Stop wasting money on crappy data collection hardware. The no-brainer choice: - weight <80g - imu-to-trigger sync ≤14us (microseconds!!) - global shutter 1080p - commercially exportable chipset (not Hisilicon) - stereo mic / Wi-Fi 6 / BLE 5.0 / fleet management (Nov update) All of this for $240. Shipped within 3 weeks or GET REFUNDED Last time we were accepting pre-orders. They are finally in production now - and this time, we're partnering with JLCPCB's head of PCBA directly and sending the units straight to your doorstep. Find out more about the product on our website, link in thread. Never expected hardware to be this hard, but we've made it. It's good to be back. May all the data labs be with us!
31
16
3
164
18,912
Anand Shah retweeted
Google Cloud has officially donated three core AI agent infrastructure projects to the CNCF Agent Substrate, gVisor, and OpenRL while rolling out Agent Substrate 1.0 GA on GKE. Running autonomous agents on standard Kubernetes has traditionally hit two major walls: massive compute waste (agents sit idle ~90% of the time waiting on APIs or user input) and control plane overload from spinning up thousands of ephemeral pods. Here is how the open stack solves it: 👉 Agent Substrate (1.0 GA on GKE): Decouples state from compute. It snapshots idle agent sessions and restores full memory and disk state in under 500ms onto warm worker pools delivering up to 10x density without keeping idle pods running 24/7. 👉 gVisor (Moving to CNCF Sandbox with path to Incubation): Provides kernel-level userspace sandboxing to safely isolate untrusted agent code execution without virtualization overhead. 👉 OpenRL (CNCF Sandbox): Orchestrates Kubernetes-native reinforcement learning (RL) post-training loops across millions of parallel sandboxed rollouts. By establishing open, vendor-neutral governance under the CNCF, Google is laying the standardized foundation for secure, scalable agent workloads across any cloud or hardware accelerator. ate.dev openrl.dev More details? Links in the first comment 👇 #Kubernetes #AI #CNCF #AgentSubstrate #GoogleCloud #K8s #AutonomousAgents
6
20
1
127
8,632
Anand Shah retweeted
Gradient descent can optimize billions of parameters at the same time; humans can realistically only handle four
Built a skill to bring the magic of the OP-1 to agentic development and wrote a post about it on @GitHubNext (sound on for maximum clickage)
1
5
384
As you can imagine, I'm thrilled to have @maxsbennett join our team at @AsteraInstitute for neuroAI. If you haven't read 'A Brief History of Intelligence' you should! We are working on some cool stuff related to cortical circuits for inference and planning, some of which we hope to share soon!
I'm v excited to join @AsteraInstitute as a part-time research scientist. @dileeplearning has been a friend for years; in fact, it was his PhD thesis years ago that first got me into neuroAI. Excited to work with him and the amazing team he has assembled. Stay tuned for 🧠+🤖
10
9
3
160
5,971