129 karma · joined Jun 11, 2026 (5mo ago) · 177 submissions
comment 4mo ago · link · parent
First, vLLM is like, we can do better than this, we need a better default target. It parses capability wrong, silently falls back on sm_80 xmma kernels when cutlass3x_sm120_bstensorprop_... CASK kernels are available, has mad Python in the hot path, emits dubious tool call syntax, and just managed to do something so off-road it tripped a driver bug that managed to wedge MMIO so bad the EC couldn't get an SBR out so the fan was going literally max until I hard pulled power. They say AMD is worse and I'll take their word for it because patching the driver and Inductor both in the same day is plenty of grief for me.
But the amazing thing and why your comment prompted me to write all this is that Qwen3.6 is insanely good, so good I am seriously questioning the MoE dogma. I was running the NVFP4 quant with the BF16 drafter, 100+ tokens a second of clean, legible reasoning trace and flawless tool calls. It's small and you can tell it hasn't memorized half the internet, but it's reasoning is like, better than most frontier. Opus has cleaner reasoning, GPT 5.x and Gemini 3.x Pro do not. If someone scaled that boi up by 5x? I get the feeling DeepSeek did so many arch innovations in one release that they just didn't quite have the convergence, this is like, the fundamentals as artistry. It's wayyyyyy stronger than GPT-4o at over a trillion parameters.
The other thing is I was using it on OpenRouter and it was all janky in the traces, stuttering and going in circles. On another day I would have been like "what do you expect it's the size of an iPhone". I wonder how many other people have drawn that conclusion too.
I'm not going to call it a conspiracy because it's explained by neglect, but we haven't even scratched the surface of the local model ceiling. With a harness that kept the data fresh, scale up the parameter count a bit, stretch context out a bit, and write an LLM serving engine that isn't hobbyist Python jank wrapped around fuckin inductor/triton jank?
That's Claude Code Opus experience on an expensive gaming box.
comment 4mo ago · link · parent
But this new "you're holding it wrong" series by people whose grasp of the system gets fuzzy somewhere in the v8 headers is a new land speed record for being vacuously correct and still an attractive nuisance for profit.
Yes, the trend towards encoding hard-won domain knowledge as property and fuzz testing and sometimes even proof system was underway before ChatGPT, and yes, the economics of this approach bend sharply under a post terrawright world.
But no, you haven't added anything except tinsel and chaff and some green css on mixpanel.
Just stop with this shit. If you knew shit about AI you'd be too busy printing cash to teach the rest of us about it.
comment 4mo ago · link · parent
It wasn't until 2014 that Orchard formalized the coeffect discharge calculus via indexed monad that makes a binary ownership semantic irretrievably sunsetted as a degenerate case.
It's my opinion. I'm not concerned about how informed that opinion is.
comment 4mo ago · link · parent
You are awfully contrarian for someone whose response to an argument is "that's not proven to my satisfaction" and when asked what citations would satisfy you replies "it's not my job to define what citations I will and won't admit".
You do you king, but it's not exactly the incandescent childlike wonder of the perpetual student's mind.
I'll wager your mind was made up before we started having a conversation.
comment 4mo ago · link · parent
But it's remarkably similar in cringe to that little "secret erection" look Amodei gets when he talks about millions of unemployed people, or or Altman rolling through Pacific Heights in a four million dollar Swedish hypercar holding the steering wheel wrong the day after yet another lecture about UBI.
It's all pretty goddamned embarassig.
comment 4mo ago · link · parent
Musk's empire of personality cult is like, idk, on slightly more cocaine?
I'm having a hard time being like: "oh, that's the bad self-appointed, self-dealing would be God Emperor. they're not all like that. why some of my very best friends are cluster B psycho con men with crime funding."
comment 4mo ago · link · parent
Whether or not a language is verbose or obscure is very much about your coordinate system. Not unlike safety.
I think C is a reasonable zero for both things.
Zig is more succinct and safer than C while still being comparably ergonomic. Rust is (mostly) safer and more succinct than Zig while being dramatically less ergonomic (take it up with Wadler memory chads, no one likes affine types).
I like lean4, which is dramatically safer, more succinct, and more ergonomic than Rust.
But I can see why some would say it's a bit too succinct.
comment 4mo ago · link · parent
The mores of the time caused them to be a little more circumspect about their pornographic rapine of the body politic, but they squeezed just as hard and their fists were stronger. Children died working in factories, diseases of poverty claimed entire city quarters, Pinkertons shot striking workers flat dead and walked away like ICE with a brisk stride before they'd even holstered their weapon the way I read it.
Just like today they paid no tax of any kind. And we're heading back there at speed. The typical person is closer to being in an Amazon warehouse where someone has died or the subject of an OSHA report that Instacart hushed up than they were five years ago, things are getting worse for most everyone.
But a few things broke the public's way, a couple of muckracking journalists tee'd it up, Upton Sinclair publishes The Jungle, you get one class traitor in the White House, and in less than thirty years the robber barons had lost it all, the economy goes into hyperdrive, the working man goes to sleep every night knowing, not hoping, that his children will live far better than him.
This one comes back around too, and the endless vulgarity and corruption on every surface that can render a photo or a sentence? That's not organic someone is paying for all that, it ebbs and flows too. I'm optimistic we can have cool R-rated movies and no banned books without hustler culture Instagram and celebrity yachting YouTube being crammed into every eligible impression.
Until then?
The worse? The better.
comment 4mo ago · link · parent
Their power grid runs at a huge margin of excess capacity and they easily bring more online because they can still do infrastructure projects.
They are rapidly overtaking the United States in domestic, sovereign, and secure semiconductor fabrication. They're a couple of nodes behind but Kirin SoCs and multi-terraweight LLM inference on Aspire look pretty hot shit to me and no one can yank them around like a dog on a leash that it'll get turned off.
Government is dramatically more participatory than the western caricature. It is substantially at the local and regional level that it is directly participatory (so, the size of the whole US). At the very top it is representative in the sense that a party guy in Beijing is considered incompetent (they care about that) if the needs of the region are not on the agenda. When's the last time you called your congressman and got change?
Innovation is plural, research is open, the university system is in the loop, the public benefits.
Real wages are going up.
The PRC gets jumped in with Putin's Kremlin by lazy Americans who don't talk to Chinese people.
It's not the Kremlin. It's JFK in a Chairman Mao hat.
comment 4mo ago · link · parent
When John Meriweather and the rest of LTCM nearly blew up the market they didn't get a bailout, and the taxpayer didn't fund the hole in the balance sheet. The New York Fed organized private money and leaned on all their counterparties to get it done, but they didn't backstop it. Meriweather and the Sheik and Scholes and the rest were wiped out, they worked it off for a couple of years for salary and then skunk away in shame (we had shame back then). Took it like men near as I can tell. I admire John Meriweather a great deal in spite of the scandal.
President Clinton was impeached and very nearly removed from office for (ultimately) consenting but untoward involvement with a young woman (they got him on lying about it technically, but the political will was there because the country was furious about the skirt chasing.
Enron. Accounting that went from aggressive to sketchy to fraudulent (most of it would pass with flying colors today). Hard time. Skilling, Fastow I think just got out like five years ago (don't take my word for the date). Ken Lay IIRC died before they locked him up which saved him dying inside.
Madoff, died in prison. Ebbers, I think he died in prison too.
When Microsoft was gearing up to strangle the web in its crib the Justice Department pulled guys off of terrorists and human traffickers to go take a pipe to Gates until he backed off, he was allowed to keep Microsoft intact by letting the web happen, the Feds weren't asking, he decided to not fuck around and find out.
Consequences for serious fucking bad shit for people who are our leaders work. A people gets exactly what it demands from it's leaders and that's exactly what a people deserves.
Right now we're choosing to settle for a lot less, China is demanding more. Which is why we're getting our asses kicked.
comment 4mo ago · link · parent
In an HBM bandwidth constrained setting you're dealing with something called "roofline analysis" (comes originally from NUMA work circa ~2009 but it's applicable to modern GPUs). Great diagram from the JAX people:
https://jax-ml.github.io/scaling-book/roofline/
In order to get your money's worth from a modern GPU (or disagg rack like an NVL72) you need to decode (the one token at a time thing) across big batches of context windows. To the left of that point where it hits "the roof" you're idling tensor units. TensorRT-LLM likes batches of 4096, so BS=4096.
In the case of one person chat prompting their local LLM, BS=1, totally bandwidth limited.
So the game is to set some latency target with some control theory primitive (PID or something) and then delay the next token until a batch is big enough to not waste tensor units. This is a real trick when a human is waiting (you've probably seen the thing in Claude.ai where it's all bursty and then they reflow the whole block with JavaScript).
Agentic workloads are huge piles of context windows where you've always got enough who want the same experts on the next token, you're always to the right of that intersection. And it doesn't really matter if it's on the other side of the world, or lags by a second, it's fine.
Claude Code soaks up all the tensor units that would be idle until they're full, and only then does it leak into the capacity reserved for highly interactive use. It's the bottom of the barrel until it's rinsed the fuck out.
They want more margin on agentic tokens. That's it. The COGS on them is the absolute lowest of anything they do.
comment 4mo ago · link · parent
This talking point from Anthropic that Claude Code sitting in a Ralph Loop is burning top sirloin interactive session tokens is bad faith hogwash and it only flies because most everyone who has run this shit at scale either already works there, sells them hardware, or hopes to be an acquisition target.
I'm none of those things, so I'm happy to tell you they're lying. I know, it's hard to swallow, but it turns out Altman and Amodei are occasionally full of shit.
comment 5mo ago · link · parent
I don't know what part of this you guys are having trouble with, but it doesn't get a whole hell of a lot more emphatic on "what the US Government thinks" than who the Pentagon is in court with to avoid doing business with that party.
Mr. Hegseth is the representative of the administration in the AI usage policy of the largest bureaucratic organization in the history of civilization. He has emphatically rejected at least one black box American AI megalab and President Trump has endorsed this action on Truth Social.
The government's stated position is not what you among other commenters are stating or implying as the government's position.
comment 5mo ago · link · parent
I don't know how much business OpenRouter does in Europe (they have some GDPR text in some settings pages I think) but it's zero in China.
You might also consider the countless companies that do nothing but open weight LLM inference: Together (of Tri Dao fame), Fireworks (founded by my old colleague), Baseten, SambaNova (of Chis Re fame), and too many more to count, there's a new one every week. Plus NVIDIA does a ton of this business via NIM and shit.
I'm trying to be reasonably polite because it's possible you literally didn't know that, but this reads as a troll, so, if it is a troll please stop.
comment 5mo ago · link · parent
Peter Hegseth, another really pro-America being powerful guy, he's dealing with a lawsuit because he doesn't want Anthropic in his military, he calls it a supply chain risk (he's right).
There is no evidence of any kind that a complex attack vector can be trained into model weights and survive all the crazy slicing and dicing that happens between published weights and running model. These things get quantized and run on mathematically imprecise kernels and sampled and LoRA-tuned and Dolphin/Orca de-tuned. Go look at what the ComfyUI community comes up with, those guys know more about WAN 2.2 than the people who trained it. Because those models run for real on a desktop, so there's mad innovation at light speed.
There is no one who wants a capriciously expensive black box run by extremely creepy people, not once the capability crosses over (in about November).
But don't take my word for it, you just had a chance at one AI IPO, and I'm sure you'll get another, so if you like how that goes, you don't need to convince me!
comment 5mo ago · link · parent
The administration could probably put some serious friction on open weight model use in the Fortune 500 for a little while, but the opposition never got such a gift right before a squeaker midterm. And outside of major enterprises with puckered ass compliance departments? Not a chance. It's popular around here to forget Uber and AirBnB and yes, OpenAI and Anthropic all got their start flagrantly breaking the law and grew lawyers and lobbyists faster than anyone could enforce it. And this time everyone from the DNC to the EFF would be holding hands wearing "Save The Models" t-shirts. Not even NVIDIA is remotely pretending they're anything but all in on GLM 5.2, they had an NVFP4 quant up by the time most people read the blog post.
And the Trump Administration isn't exactly enamored of Comrade Amodei at the moment, being as they're appealing the lawsuit Anthropic brought against the Pentagon during a shooting war.
Forcing the American proprietary AI megalab financing event was our fiscal Ukraine Special Military Operation, the market is calling the bluff and neither the capital markets nor the Federal Reserve has the dry powder to absorb this one.
The Treasury auctions will flat not clear in an orderly way. We can't raise 2-4 trillion dollars on a dime in 2026 and if CoreWeave turns out, as many suspect, to be Patient Zero? It would be that big a hole.
We play by the same rules as everyone else now. I hope we regard it as being worth it, but I fear we will not.
comment 5mo ago · link · parent
They have a staggering surplus of grid capacity and can bring more online without any difficulty. We couldn't get a serious nuclear project done if Jeffrey Epstein was offering private flights to the ribbon cutting.
In the United States at any given time more than half of the FLOPs are badly misallocated, Meta has like, a double digit percentage of the total capacity going down the drain every day and has for years. That's a conspicuous example but on OpenRouter rankings it's rare to see more than one or two American vendors in the top 10, sometimes the top 20. But 3rd, 4th, and 5th place are all merrily burning half the compute duplicating effort and missing key innovations because we stopped publishing real results. In China if DeepSeek makes a breakthrough it's at Zhupai and Moonshot and MiniMax and MiMo and Qwen that week.
Our only lever, export restrictions, seems to do nothing but breed multiply antibiotic resistant super hackers who just get more efficient and immediately propagate all of those efficiencies to the rest of the Chinese AI industry.
At the beginning of 2026 there was one Chinese lab with a model that had any real relevance fielding modern tool users. Today in July there are like, eight lagging the absolute frontier by maybe 3-6 months. Barring some massive bend in some curve 3-4 of the top 5 and 6-8 of the top 10 will be Chinese and open weight by January.
The great irony in all of this is that our current playbook is straight out of the 1960s USSR, and the PRC's current playbook is straight out of 1960s USA. We're the ones with the opaque decision making and gross resource misallocation driven by the personal agendas of a shadowy cabal of frenemies wired back channel into government in the form of the individuals rather than the offices. They're the ones with a thriving marketplace of ideas powered by robust public/private partnership and a paved path running bidirectionally to the university system.
It's going to implode because the Kruschev system does. Theirs is going to thrive because the Kennedy system puts a man on the moon before the decade is out.
comment 5mo ago · link · parent
In terms of process I don't know that I really have any unique edge or anything, I'm still very intermediate as a lean4 programmer. I was a strong Haskeller before so I had a little bit of a map. The key thing about lean4 coming from e.g Haskell is that it has a much cleaner type tower, there's no type/kind/PolyKind jank, it's just Type 0, Type 1, as high as you care to go (which usually isn't very high), so a fair bit is unlearning some of that.
A mistake I made was to try to learn lean4 in emacs, which I'm working on making more reasonable, but today lean4 is a vscode only experience IMHO, this is partially because the default Mathlib4 style is really unapproachable without the tooling (not being a professional mathematician I'll stop short of calling the style bad, maybe it's intuitive to mathematicians, but it's very ill suited for programming in the large as a hacker would approach it). Proofs of theorems are this tactic match space with a lot of implicit projection up into a big possibility space at every step, and then the next explicit tactic is grabbing things from that space often very implicitly. It's my least favorite part of the semantics (or maybe one I feel is over-used, there are ways to make it more explicit, the canonical example is probably `simp_only` which grounds in specific lemmas).
The effectful part of the language should be a pretty short hop from anything else with do-notation, it reads very naturally and the conditional/looping/match stuff sorta looks like Rust if you squint a little. One place the AI assist really shines is to go rename all the variables something reasonable, a lot of otherwise great code looks like it hybridized with a bizarre Hungarian-notation splinter faction, the keywords are fine.
There's some stuff that probably makes a lot of sense in a meta mathematical view of things that makes zero sense from a TCB standpoint. To mathematicians there is a distinction between the map coloring proof and Wiles' FLT proof. This is real and it makes sense in mathematics. But in high-assurance software having an issue with `native_decide` as opposed to `bv_decide` is a weird religion: TCB certifying them is identically compromised by a compromised compiler.
So I think it's mostly just a very small community trying to write code as the primary activity and layering on formal methods as a correctness strategy as opposed to a much bigger community doing real maths where the programming language is more of an amenity than the main show.
I suppose my approach is to be willing to go a different way in a different use case.
comment 5mo ago · link · parent
I added WASM/WASI bindings and wrote the prelude in Haskell.
Both the bindings and the prelude took less time than I already wasted on multiple attempts in Starlark that all collapsed into string goop.
It's nice to be able to bound the execution environment in a build tool but still use a serious programming language.
Given Zig has excellent support for targeting WASM, seems you'd get the same advantages.
comment 5mo ago · link · parent
Another big use case is GPU kernel compilation. I've encoded the polyhedral algebra used by CuTe and all of the stated theorems from nvfuser in lean4. From this you can recover scheduling and tiling properties that must be met to get equal or better performance to CASK (likely optimal) for many operations, and then lower that to PTX. Surprisingly often the candidate set for the fastest possible kernel turns out to be finite and enumerable, so fast inference.
Somewhat recently I started benchmarking stuff just directly in lean4 with a very small TCB shim to e.g. io_uring. I've done like the basic systems programming ABCs (I've got a reverse proxy that's lean4 and ~100 lines of C and shatters nginx, faster at every point on the histogram, memory use flat as a strap). Lithe runs on it so I can do web serving as fast as anything in the hyper ecosystem.
Now that I've got my feet with it I'm digging in on a serious project which is a hypervisor that addresses the deficiencies in firecracker. This is a place where some proven properties can really get you a lot of performance (something like firecracker has to be very defensive regarding e.g. virtqueue semantics in the presence of a malicious guest). Firecracker is an exceptional piece of code and it's carried me far but at agent scale it's time to go another turn of the crank on virtualization performance.
comment 5mo ago · link · parent
I still have a ways to go before calling myself a lean4 expert, but I don't need assist to get useful programs anymore.
The ability to start with very little knowledge and still be able to trust parts you don't fully understand is a real unlock on learning progress: it's both practical and motivating to get useful programs you can rely on with incomplete knowledge, it sort of drags you in. You're bounded by the subset of the language that describes your axiom and proposition surface, not the subset that describes the intermediate steps. Over time as your ambition goes up, you need to understand more to do more things, but you can operate safely at level N+1 in a sense.
It's also just a delightful programming language irrespective of its theorem proving role, and it's remarkably fast. I've got it bolted to io_uring and in many cases it blows the ass off of C++ with libuv or Rust with Tokio. Now and again you'll see some huge tail at the p99.99 latency or something and you go make a number fixed width or something, but you have to tune C++ and Rust too.
comment 5mo ago · link · parent
Nothing has ever been, directly or indirectly, deficit financed at this scale before. In notional or real terms, in history, by anyone.
Now maybe there's an argument that it's a good investment: we are going to beggar the Treasury to buy 2CTA on CoWoS out of Taipei and DCs the size of Manhattan. I personally think we could have done a little more engineering before deciding that the big blind was like, 5 trillion all counted, but it was going to be expensive no matter what.
What super weird is that we're running a project where the "penny" to the "dollar" is the Manhattan Project, and a couple of super weird dudes who do MDMA at Lighthaven now and again are like, in charge of it.
comment 5mo ago · link · parent
What's the steelman of djb's position and why does it fail scrutiny? To the uninitiated, it sounds like his preference for the hybrid classical/BQP scene is prudent given the marginal computational burden.
But I'm guessing, it would be better if an expert weighed in with details.
comment 5mo ago · link · parent
Personally I think that if you cranked the capability up high enough the first person you'd run into who absolutely demanded more than vibes and didn't care about your singularity thesis would be the representative of a reinsurance firm: mostly to do serious stuff without bending the law, you need insurance, and I am unaware of anyone writing serious policies (certainly not ones that make any economic sense) that underwrite the risk of AI autonomy outcomes financially.
When Swiss Re writes a policy that Anthropic Cinematic Universe or whatever iteration we're on won't fuck it up?
Now maybe we're talking. Until then you ask three practitioners and get nine answers, no one knows what they're talking about unless they're doing a really good job keeping it quiet (and that's probably what you'd do!).
comment 5mo ago · link · parent
It is unsurprising that a lot of people claim to know how to get rich quick.
I believe it is possible to solve this problem, and I have my own horses in the race which I won't threadjack to promote here, but it's the central problem of our profession at the moment. We've all seen the truly discontinuous outcomes and we've all seen allegedly national security dangerous models (which at one time was GPT-3) faceplant with it's shoelaces tied together. I wanted to see if Fable was really all that and I left it overnight on some fairly straightforward C++ (code DSv4 Flash works on with moderate supervision) and it's pretty roast worthy, I gave it a chance to redeem itself this morning and it's ticked up a bit (I still think it's roughly Opus 4.8 with a Project Zero fine tune and DRO trained off the constant gratuitous yield tic which is pretty clearly an intentional gimp).
I give all such claims 30 seconds of my time because someone is going to actually be right one of these days.
comment 5mo ago · link · parent
Correct, shared mutation is an extremely well-understood problem in the sense that there are points in the programming language design space that admit it with present technology.
As always, there are tradeoffs.
comment 5mo ago · link · parent