site banner

What does Kirin 9000S tell us about the future

I've been wrong, again, pooh-poohing another Eurasian autocracy. Or so it seems.

On 29 August 2023, to great jubilation of Chinese netizens («the light boat has passed through a thousand mountains!», they cry), Huawei has announced Mate 60 and 60 Pro; the formal launch is scheduled for September 25th, commemorating the second anniversary of return of Meng Wanzhou, CFO and daughter of Huawei's founder, from her detainment in Canada. Those are nice phones of course but, specs-wise, unimpressive, as far as flagships in late 2023 go (on benchmarks, score like 50-60% of the latest iPhone while burning peak 13W so 200% of power). Now they're joined by Mate X5.

The point, however, is that they utilize Huawei's own SoC, Hisilicon Kirin 9000S, not only designed but produced in the Mainland; it even uses custom cores that inherit simultaneous multithreading from their server line (I recommend this excellent video review, also this benchmarking). Their provenance is not advertised, in fact it's not admitted at all, but now all reasonable people are in agreement that it's SMIC-Shanghai made, using their N+2 (7nm) process, with actual minimum metal pitch around 42 nm, energy efficiency at low frequencies close to Samsung's 4nm and far worse at high (overall capability in the Snapdragon 888 range, so 2020), transistor density on par with first-gen TSMC N7, maybe N7P (I'm not sure though, might well be 10% higher)… so on the border of what has been achieved with DUV (deep ultraviolet) and early EUV runs (EUV technology having been denied to China. As a side note, Huawei is also accused of building its own secret fabs).

It's also worse on net than Kirin 9000, their all-time peak achievement taped out across the strait in 2020, but it's… competitive. They apparently use self-aligned quad patterning, a DUV variant that's as finicky as it sounds, an absurd attempt to cheat optics and etch features many times smaller than the etching photons' wavelength (certain madmen went as high as 6x patterning; that said, even basic single-patterning EUV is insane and finicky, «physics experiment, not a production process»; companies on the level of Nikon exited the market in exasperation rather than pursue it; and it'll get worse). This trick was pioneered by Intel (which has failed at adopting EUV, afaik it's a fascinating corporate mismanagement story with as much strategic error as simple asshole behavior of individual executives) and is still responsible for their latest chips, though will be made obsolete in the next generations (the current node used to be called Intel's 10 nm Enhanced SuperFin, and was recently rebranded to Intel 7; note, however, that Kirin 9000S is a low-power part and requirements there are a bit more lax than in desktop/server processors). Long story short: it's 1.5-2 generations, 3-4 years behind the frontier of available devices, 5-6 years behind frontier production runs, 7-8 years after the first machines to make such chips at scale came onto market; but things weren't that much worse back then. We are, after all, in the domain of diminishing returns.

Here are the highlights from the first serious investigation, here are some leaks from it, here's the nice Asianometry overview (esp 3:50+), and the exhilarating, if breathlessly hawkish perspective of Dylan Patel, complete with detailed restrictions-tightening advice. Summarizing:

  1. This is possible because sanctions against China have tons of loopholes, and because ASML and other suppliers are not interested in sacrificing their business to American ambition. *
  2. Yes, it qualifies for 7nm in terms of critical dimensions. Yes, it's not Potemkin tulou, they likely have passable yields, both catastrophic and parametric (maybe upwards of 50% for this SoC, because low variance in stress-testing means they didn't feel the need to approve barely-functional chips, meaning there weren't too many defects) and so it's economically sustainable (might be better in that sense than e.g. Samsung's "5nm" or "4nm", because Samsung rots alive due to systemic management fraud) [I admit I doubt this point, and Dylan is known to be a hawk with motivated reasoning]. Based on known capex, they will soon be able to produce 30K wafers per month, which means 10s of millions of such chips soon (corroborated by shipment targets; concretely it's like 300 Kirins *29700 wafers so 8.9M/month, but the cycle is>1 month). And yes, they will scale it up further, and indeed they will keep polishing this tech tree and plausibly get to commercially viable "5nm" next - «the total process cost would only be ≈20% higher versus a 5nm that utilizes EUV» (probably 50%+ though).
  3. But more importantly: «Even with 50% yields, 30,000 WPM could support over 10 million Nvidia H100 GPU ASIC dies a year […] Remember GPT-4 was trained on ≈24,000 A100’s and Open AI will still have less than 1 million advanced GPUs even by the end of next year». Of course, Huawei already had been producing competitive DL accelerators back when they had access to EUV 7nm; even now I stumble upon ML papers that mention using those.
  4. As if all that were not enough, China simply keeps splurging billions on pretty good ML-optimized hardware, like Nvidia A/H800s, which abide with the current (toothless, as Patel argues) restrictions.
  5. But once again: on a bright (for Westerners) side, this means it's not so much Chinese ingenuity and industriousness (for example, they still haven't delivered a single ≤28nm lithography machine, though it's not clear if the one they're working on won't be rapidly upgraded for 20, 14, 10 and ultimately 7nm processes – after all, SMIC is currently procuring tools for «28nm», complying with sanctions, yet here we are), as it's the unpicked low-hanging fruit of trade restrictions. In fact, some Chinese doomers argue it's a specific allowance by the US Department of Commerce and overall a nothingburger, ie doesn't suggest willingness to produce more consequential things than gadgets for patriotic consumers. The usual suspects (Zeihan and his flock) take another view and smugly claim that China has once again shot itself in the foot while showing off, paper tiger, wolf warriors, only steals and copies etc.; and, the stated objective of the USG being «as large of a lead as possible», new crippling sanctions are inevitable (maybe from Patel's list). There exists a body of scholarship on semiconductor supply chain chokepoints which confirms these folks are not delusional – something as «simple» as high-end photoresist is currently beyond Chinese grasp, so the US can make use of a hefty stick.

All that being said, China does advance in on-shoring the supply chain: EDA, 28nm scanners, wafers etc.

* Note: Patel plays fast and loose with how many lithography machines exactly, and of what capacity, are delivered/serviced/ordered/shipping/planned/allowed, and it's the murkiest part in the whole narrative; for example he describes ASML's race-traitorous plans stretching to 2025-2030, but the Dutch and also the Japanese seem to already have began limiting sales of tools he lists as unwisely left unbanned, and so the August surge or imports may have been the last, and certainly most 2024+ sales are off the table I think.

All of this is a retreading of a discussion from over a year ago, when a less mature version of SMIC N7 process was used - also surreptitiously – for a Bitcoin mining ASIC, a simple, obscenely high-margin part 19.3mm² in size, which presumably would have been profitable to make even at pathetic yields, like 10%; the process back then was near-idential to TSMC N7 circa 2018-2019. 9000S is 107 mm² and lower-margin. Nvidia GH100, the new workhorse of cutting edge ML, made with 4nm TSMC node, is 814 mm²; as GPU chips are a strategic resource, it'd be sensible to subsidize their production (as it happens, H100 with its 98 MTr/mm² must be equally or a bit less dense than 9000S; A100, a perfectly adequate 7nm downgrade option, is at 65 MTr/mm² so we can be sure they'll be capable of making those, eg resurrecting Biren BR100 GPUs or things like Ascend 910). Citing Patel again, «Just like Apple is the guinea pig for TSMC process nodes and helps them ramp and achieve high yield, Huawei will likewise help SMIC in the same way […] In two years, SMIC will likely be able to produce large monolithic dies for AI and networking applications.» (In an aside, Patel laments the relative lack of gusto in strangling Chinese radio/sensor capabilities, which are more formidable and immediately scary than all that compute. However, this makes sense if we look at the ongoing chip trade war through the historical lens, with the reasonable objective being Chinese obsolescence a la what happened to the Soviet Union and its microelectronics, and arguably even Japan in the 80s, which is why ASML/Samsung/TSMC are on the map at all; Choyna military threat per se, except to Taiwan, being a distant second thought, if not a total pretext. This r/LessCredibleDefense discussion may be of interest).


So. I have also pooh-poohed the Chinese result back then, assuming that tiny crypto ASICs are as good as they will get within the bounds assigned to them, «swan song of Chinese industry», and won't achieve meaningful yields. Just as gwern de facto did in October 2022, predicting the slow death of Chinese industry in view of «Export Controls on Advanced Computing and Semiconductor Manufacturing Items to the PRC» (even mentioning the yellow bear meme). Just as I did again 4 months ago, saying to @RandomRanger «China will maybe have 7nm in 2030 or something». I maintain that it's plausible they won't have a fully indigenized supply chain for any 7nm process until 2030 (and/or will likewise fail with securing chains for necessary components other than processors: HBM, interposers etc), they may well fall below the capacity they have right now (reminder that not only do scanners break down and need consumables, but they can be remotely disabled), especially if restrictions keep ramping up and they'll keep making stupid errors, e.g. actually starting and failing an attempt at annexing Taiwan, or going for Cultural Revolution Round II: Zero Covid Boogaloo, or provoking an insurgency by force-feeding all primary school students gutter oil breakfasts… with absolute power, the possibilities are endless! My dissmissal was informed not by prejudice but years upon years of promises by Chinese industry and academia representatives to get to 7nm in 2 more weeks, and consistent failure and high-profile fraud (and in fact I found persuasive this dude's argument that by some non-absurd measures the gap has widened since the Mao's era; and there was all the graphene/quantum computing "leapfrogging" nonsense, and so on). Their actors haven't become appreciably better now.

But I won't pooh-pooh any more, because their chips have become better. I also have said: «AGI can be completed with already available hardware, and the US-led bloc has like 95% of it, and total control over means of production». This is still technically true but apparently not in a decisive way. History is still likely to repeat – that is, like the Qing China during the Industrial Revolution, like the Soviet Union in the transistor era, the nation playing catch-up will once again run into trade restrictions, fail at the domestic fundamental innovation and miss out on the new technological stage; but it is not set in stone. Hell, they may even get to EUV through that asinine 160m synchrotron-based electron beam thing – I mean, they are trying, though it still looks like ever more academic grift… but…

I have underestimated China and overestimated the West. Mea culpa. Alphanumericsprawl and others were making good points.


Where does this leave us?

It leaves us in the uncomfortable situation where China as a rival superpower will plausibly have to be defeated for real, rather then just sanctioned away or allowed to bog itself down in imperialist adventurism and incompetence. They'll have enough suitable chips, they have passable software, enough talent for 1-3 frontier companies, reams of data and their characteristically awkward ruthlessness applied to refining it (and as we've learned recently, high-quality data can compensate for a great disparity in compute). They are already running a few serious almost-OpenAI-level projects – Baidu's ERNIE, Alibaba's Tongyi Qianwen (maybe I've mentioned it already, but their Qwen-7B/VL are really good; seems like all groups in the race were obligated to release a small model for testing purposes), maybe also Tsinghua's ChatGLM, SenseTime etc.'s InternLM and smaller ones. They – well, those groups, not the red boomer Xi – are well aware of their weaknesses and optimize around them (and borrowing from the open academic culture helps, as can be often seen in the training methods section – thanks to MIT&Meta, Microsoft, Princeton et al). They are preparing for the era of machine labor, which for now is sold as means to take care of the aging population and so on (I particularly like the Fourier Intelligence's trajectory, a near-perfect inversion of Iron Man's plot – start with the medical exoskeleton, proceed to make a full humanoid; but there are other humanoids developed in parallel, eg Unitree H1, and they seem competitive with their American equivalents like Tesla Optimus, X1 Neo and so on); in general, they are not being maximally stupid with their chances.

And this, in turn, means that the culture of the next years will be – as I've predicted in Viewpoint Focus 3 years ago – likely dominated by the standoff, leading up to much more bitter economic decoupling and kinetic war; promoting bipartisan jingoism and leaving less space for «culture war» as understood here; on the upside, it'll diminish the salience of progressive campaigns that demoralize the more traditionally minded population.

It'll also presumably mean less focus on «regulation of AI risks» than some would hope for, denying this topic the uncontested succession to the Current Thing №1.

That's about all from me, thoughts?

29
Jump in the discussion.

No email address required.

What's your read on Chinese leadership even desiring a kinetic war? As husband to a very patriotic Chinese wife, I don't see it. The party line hasn't at all budged from "Taiwan is a part of a China" but also hasn't gained any addendum of "and will be reunified by any means necessary." They always make a lot of noise when America is playing at modifying or abandoning the One China policy, but of course they will, they won't let those perceived insults go completely unanswered. There's also close to zero animosity towards Taiwan or Taiwanese people, less so than there are for certain mainlanders, like how others perceive Shanghainese as haughty.

The trade restrictions likely increase the probability of war, for. at least two reasons. First, they encourages autarky, which lowers the costs of engaging in a war with states that used to provide you with the things you can now provide for yourself. Second, they makes military occupation one possible path to acquiring the denied goods, or else denying them to the one that denied them to you.

The party line hasn't at all budged from "Taiwan is a part of a China" but also hasn't gained any addendum of "and will be reunified by any means necessary."

That's been in there for some time, actually, and Xi Jinping reiterated it at the most recent party meeting to "re-elect" him. Note that article 8 is arguably triggered by the total collapse of unificationist sentiment in Taiwan following the abrogation of the Hong Kong deal in 2020.

The Paul Symon interview suggests to me that they're actively preparing for an attack; he implied that "a linear path" leads to "great-power conflict" and the most obvious explanation for that would be that the Five Eyes have detected such preparations. They could still abort, though.

My read is that not ruling out military options differs little from US policy on maintaining the option of a nuclear first strike. As a matter of strategy you don't want to broadcast exactly how much you'll allow or what your response will be. To do otherwise means adversaries toeing right up to your red line, or even worse, mildly crossing it and either forcing a response or proving you toothless.

In the past, I was making a rather confident prediction that «of course an [ex-]Communist empire with clear revanchist sentiment, under the absolute rule of a dubiously intelligent boomer, won't invade its breakaway province it's always accusing of being pawn to the hostile degenerate West, blathering about being historically their clay and "one people", conducting increasingly realistic "military exercises" in the vicinity of, and generally trying to suppress sovereign policymaking in; kinetic conflict would be straightforwardly suicidal, duh, surely they see that as well as I do and are just saber-rattling and bluffing». Now I'm looking with interest at Huawei's foldable tablet-phone, because I used to read books from a tablet that I've had to leave at home, two continents away, when said boomer did initiate the invasion.

Pardon my obliqueness.

I might be overcorrecting, sure. But I do not think the Chinese leadership is entirely rational or aware of all relevant pieces of data, this shit doesn't inspire confidence in their commitment to peaceful means of "reunification", neither does this shit, neither does this shit; and their rhetoric does incline towards "any means necessary":

All options on the table
Peaceful reunification has always been the preferred option for the Chinese Communist Party and the Chinese government in resolving the Taiwan question. China will make utmost efforts in utmost sincerity to strive for this prospect.
Yet the growing dangers of secession left China with no choice but to maintain credible deterrence against separatist adventurism and external interference.
The Anti-Secession Law promulgated in 2005 stipulates:“In the event that the ‘Taiwan independence’ secessionist forces should act under any name or by any means to cause the fact of Taiwan's secession from China, or that major incidents entailing Taiwan's secession from China should occur, or that possibilities for a peaceful reunification should be completely exhausted, the state shall employ non-peaceful means and other necessary measures to protect China's sovereignty and territorial integrity.”
In no way does this law target the people on Taiwan. Use of force would only be the last resort taken under compelling circumstances.
In recent decades, whenever the separatist forces and their American backers tried to push the envelope by provoking confrontation, China would react with firm actions to show its resolve and capabilities of upholding sovereignty and territorial integrity.
No matter whether it was Lee Teng-hui making a “private” visit to the US in June 1995 or US House Speaker insisting on visiting Taiwan in August 2022, the mainland would conduct large scale military exercises in the Taiwan Strait and adjacent waters. The only difference is China’s growing capabilities to uphold its sovereignty and territorial integrity.

I could go on. The parallels are striking in any case.

As husband to a very patriotic Chinese wife, I don't see it.

As a friend to a far-right-sympathising [redacted] officer, I saw genuine relief at the apparent cancellation of invasion plans on February 21st, 2022. People in almost any group tend to be less bloodthirsty than systems optimized for abstracting away human lives and those who imagine themselves their masters.

I suppose we shall see. After all, China is not Russia. For one thing, a major Russian chip design company went bankrupt under sanctions because it was hopelessly dependent on Taiwan. Unlike Huawei, as it turns out. Whether this makes them more or less likely to open hostilities is as of yet unknown.

I should remember to be humbled by my opinion in February 2022 that the Biden administration was blustering for some political advantage rather than responding to a real threat. Though I still maintain a small chance that this was itself statecraft aimed at kicking off hostilities: to very publicly tell Putin not to invade, when Putin had yet to broadcast a desire to invade, you change the scenario such that not invading is submission to the Americans. Moving forces to the border could have plausibly been bluster. I don't know if we've seen insider accounts that show invasion was the plan all along for weeks or months prior.

My great hope is that the incentives for Chinese leadership are such that they know playing a long peaceful game is in their best interest, and kicking the can on military conflict will be to their advantage for decades to come. My worry is that the United States knows this too, and will try its best to have a military conflict while it perceives the odds are in its favor. I wouldn't rule out a false flag operation.

I should remember to be humbled by my opinion in February 2022 that the Biden administration was blustering for some political advantage rather than responding to a real threat.

I remember watching unprecedented Russian military buildup near Ukraine before February 2022, remember OSINT sphere panicking and Russian nationalist sphere (then adjacent to Anatoly Karlin) gloating, and I should remember to be humbled by my opinion that Mosul and Kabul would be repeated, that some eastern European shithole country stands no chance against world's second superpower.

My only excuse is that I do not watch this depressing part of the world too closely and do not fancy myself to be analyst or military scientist, even amateur one.