James Leung 梁韜智 (@JLdork) header
James Leung 梁韜智 (@JLdork) profile picture

Energy Vampire

DC | NYC
Joined July 2009
Photo by James Leung 梁韜智 (@JLdork)Photo by James Leung 梁韜智 (@JLdork)Photo by James Leung 梁韜智 (@JLdork)Photo by James Leung 梁韜智 (@JLdork)Photo by James Leung 梁韜智 (@JLdork)Photo by James Leung 梁韜智 (@JLdork)Photo by James Leung 梁韜智 (@JLdork)Photo by James Leung 梁韜智 (@JLdork)Photo by James Leung 梁韜智 (@JLdork)Photo by James Leung 梁韜智 (@JLdork)
James Leung 梁韜智 retweeted
Multi-agent swarms shouldn't have to read context more than once. Introducing speculative encoding, one 2.35B MoE that directly translates between any model's hidden states. Across 7 models, it keeps 96.9% of base accuracy and cuts prefill latency by up to 7.5× on long documents.
58
69
63
1,138
122,751
James Leung 梁韜智 retweeted
Today I learned if you try to sing along with a toddler when you have not been invited to do so, it is a sign of great disrespect in their culture.
25
183
16
3,928
210,003
James Leung 梁韜智 retweeted
You don't need $20k in hardware to run the best open models Introducing Magnitude - an open source inference engine that spreads models across your GPU, RAM, and SSD so they run on everyday Macs and PCs This is possible because most open models are ultra sparse MoEs. They're split into hundreds of small parts called experts, and only ~5% are used for each token Magnitude splits the model into tiers: 1. GPU VRAM holds the shared model layers and most used experts 2. System RAM holds the next tier of frequently used experts 3. NVMe SSD holds the rest of the model and streams what's needed on demand On every token, the GPU needs the right experts in VRAM to run its math, so missing experts cascade up from SSD to RAM to VRAM Other engines can pull experts from RAM into VRAM, but hit a wall once a model outgrows RAM. Magnitude extends that all the way to the SSD, predicting and prefetching upcoming experts from disk before they're needed And since it's 100% read-only, there's zero SSD wear VRAM needs to fit at least the active experts. Beyond that, the more experts you can cache in VRAM / RAM, the faster it will be. And for whatever spills to disk, a faster SSD (like PCIe 5.0) makes a real difference Here's what you can expect across some common setups (2-bit quants, 64k context): - Mac mini M5 Pro (48 GB): 54 tok/s Qwen 3.8 Flash Next - RTX 3090 + 64 GB RAM + PCIe 4.0 SSD: 41 tok/s Qwen 3.8 Flash Next - DGX Spark (128 GB): 28 tok/s GLM 5.3 Flash - RTX 5090 + 128 GB RAM + PCIe 4.0 SSD: 17 tok/s DeepSeek V4.1 Flash These are the worst these speeds will ever be. Next up: - Aggressively hill climbing prefill and decode speeds across all backends - Adding Inkling 2 Small and Mini support (we're writing the kernels now!) - A full agent harness designed specifically around local models Magnitude ships with a native desktop app (macOS, Windows, and Linux) and CLI It's free and open source (Apache 2.0) Try it on your hardware: magnitude.dev/download GitHub here: github.com/magnitudedev/magn…
121
147
44
1,606
147,599
James Leung 梁韜智 retweeted
My entire feed is members of Congress melting down over Nvidia's reinstated CEO and chip sales to China as some giant national security threat. 28 million Americans have no health insurance. More than half the country is living paycheck to paycheck. And THIS is what our reps are focused on? Americans want healthcare and an end to the Iran war. They didn’t wake up this morning anxious about whether Chinese companies can buy microchips designed by an American company and made in Taiwan. China-gate has officially launched. If this isn't challenged now, Democrats will spend their blue tsunami mandate waving around an unproven Marco Rubio spy memo to justify escalating war with China in the race to see who can make killer robots faster. This is a disaster. The insurgents who just won seats in Congress need to push back unequivocally against the hawkish consensus forming right now.
187
491
40
2,428
61,271
James Leung 梁韜智 retweeted
Did a landlord write this question? There’s a rumor that a huge number of rent-stabilized apartments are vacant because landlords can’t raise the rent. That’s not true. And it’s dangerous.
2,427
3,849
423
44,445
4,741,029
James Leung 梁韜智 retweeted
WSJ corrects the record. Alice Huang’s - Connections to CCP state intel were circumstantial - No smoking gun she was actively collecting intel - No definitive evidence she was specifically targeting NVIDIA - No real intel was gathered either way - No hard evidence she was actively engaged in espionage
394
971
281
4,268
528,643
James Leung 梁韜智 retweeted
3Blue1Brown walked so we could run
GLM-5.4 can turn any arXiv paper into a 2-minute, 3Blue1Brown-style video While many models are hillclimbing research tasks, it is important that models be competent at explaining research itself Trending papers on alphaXiv now have video you can watch right on the homepage
32
371
12
6,663
237,197
James Leung 梁韜智 retweeted
if you come for the king, you best not miss
1,260
5,353
1,291
70,582
20,638,309
James Leung 梁韜智 retweeted
BREAKING: Jensen Huang reportedly told an employee "High five!" and held his hand up while the employee high-fived him. Next Jensen put his hand down with the palm of his hand facing up while he said "Down low." As the employee attempted to connect with his hand jensen proceeded to exclaim "TOO SLOW!!!" as he pulled his hand back causing the employee to miss his hand totaly embarassing the employee. Is this the kind of thing you would see in a good leader? Disgusting.
937
1,485
206
23,514
2,697,618
James Leung 梁韜智 retweeted
Replying to @ruima
@ruima @freqflyer_ck will try to answer as best I can in the below thread 🧵 1/n gr1d.us/insights/data-center… in the United States, most hyperscalers wanting to build AIDCs had to start with pre-existing ("brownfield") infrastructure that already had grid connectivity. that limits the starting list of options - since going through the permitting process for a new ("greenfield") campus was already so onerous, any greenfield submissions in 2024 probably wouldn't break ground until 2027/2028, if at all
Replying to @freqflyer_ck
I don't get it either, but I'm guessing because of the power infrastructure? @rydcunningham Probably has answers
9
34
11
165
35,664
James Leung 梁韜智 retweeted
Replying to @MTSlive
Define "Chinese." If I download Qwen from Hugging Face, fine-tune it, and call it my custom model, is it still Chinese? And how would anyone prove it?
3
1
81
10,677
let the witch hunt begin
BREAKING: AMD stock, $AMD, crashes -13% in 30 minutes after Hunterbrook Media accuses the company of illegally selling chips to China. Hunterbrook Capital also disclosed a short position in AMD.
28
James Leung 梁韜智 retweeted
gta 6 is insane. you can even start a b2b saas company where you turn unstructured data into actionable insights
131
1,111
61
20,346
583,888
James Leung 梁韜智 retweeted
1 week after Nvidia fired Jensen Huang, TSMC suddenly wants cash up front for excess orders. That's Morris Chang's 30-year drinking buddy out the door, and right on cue TSMC announces that orders above credit limits must be paid in cash, with some customers forced to pay upfront to lock capacity. With circular money bouncing between AI labs, clouds, and chipmakers, TSMC isn't taking IOUs from a boardroom run by accountants anymore. "Jensen is just another CEO" lasted about 7 days before the foundry reminded everyone who actually holds the leverage in Silicon Valley. teapawt.org/minhnguyen/status/2122…
>"jensen is just another CEO" >TSMC 1 week after you remove Morris Chang's drinking buddy of the past 30 years:
160
1,136
119
10,295
1,035,462
James Leung 梁韜智 retweeted
Both the Biden and Trump administrations allowed the export of less powerful GPUs to China while reserving the most advanced chips for America. This has been a clear national security success. Per Grok and Claude, the US-to-China AI FLOPs ratio has grown from 2.8x in 2023 to 8.8x in 2026 and is modeled to reach 14.1x in 2027. Our advantage in compute has grown dramatically and American AI labs have stayed well ahead of Chinese labs the entire time. Chinese labs prefer these less powerful American GPUs to domestic accelerators from Huawei and others. That preference has slowed China’s hardware industry: AI chips improve through intensive use by leading labs, and the ready availability of American alternatives has limited that feedback loop for Chinese AI hardware. Chinese labs can also access capacity in Southeast Asian clouds run by American hyperscalers. Those zones can be shut off instantly in a conflict, giving the US signficant leverage. This dependence is advantageous in every way. A complete ban on GPU exports and Southeast Asian cloud access might be deeply damaging to long-term American national security. It would force Chinese labs onto the Huawei AI hardware ecosystem. China is not power-constrained, and Huawei is developing extremely power-hungry, large optical scale-up domains that may approach American state-of-the-art systems through brute force rather than architectural elegance and efficiency. And China has a lot of power. Having Chinese labs optimize models for this different architecture is risky as nothing prevents China from sharing this hardware and associated models with Russia, North Korea, or Iran. We would lose any ability to cut off their AI in a conflict. Policies now under discussion in Washington carry serious, uncertain risks. Reasonable minds can disagree, but treating this as a simple black-and-white issue does America a disservice. If China closes the installed FLOPs gap as its domestic hardware matures rapidly as a result of increased Chinese lab usage after stricter export controls, we will know this new policy was a mistake. If Russia, Iran, or North Korea later field comparable Chinese AI hardware systems that are used to run AI targeting models against Ukrainian or American troops, we will know stricter controls were a *terrible* mistake. The current reality is one where China is consistently behind America thanks to the export of less powerful GPUs and we have immense leverage over China in any future conflict. We know that the current policy is working. We have no idea what the consequences of stricter controls might be. This is why China is currently restricting imports of roughly 600,000 H200s sitting in Hong Kong warehouses. China Hawks should consider why Beijing agrees with them and why China *restricts* the sales American GPUs inside China. The current policy has worked spectacularly. The alternative is extremely risky with unknown consequences.
140
232
53
1,655
352,910
James Leung 梁韜智 retweeted
NYT on reactions in Taiwan: "He went to great lengths to show his appreciation for business partners — and get what he wanted. Last November, when he needed TSMC to allocate more production capacity to Nvidia, he flew to Taiwan and sat down for hot pot with its senior executives, Liang-Rong Chen, a tech journalist who was there, told me. He patiently signed whiskey bottles for its employees. Mr. Chen explained why that mattered. Squeezing more chips out of a busy factory took many managers willing to rearrange production and staff willing to work overtime. Mr. Chen, who writes the newsletter Tech Taiwan, suspected they would not have been as eager to do it for other American tech giants because none of them had gone to the great lengths as Mr. Huang in cultivating relationships. A longtime semiconductor analyst, who was not authorized to speak publicly, told me that without Nvidia there would be no A.I. as we see it today. Suppliers have grown accustomed to taking their cues from Mr. Huang, he said, who had a sense of where the technology was headed and was able to persuade the companies to go along with him despite the risks at times. With him gone, the analyst wondered whose judgment they would trust."
18
73
10
689
68,820
James Leung 梁韜智 retweeted
读《纽约时报》那几篇关于黄仁勋的文章时,我感到一种近乎生理性的不适。 不是因为黄仁勋不能被批评,更不是因为一个身家千亿美元的科技巨头需要特殊保护。而是当一位记者可以把一个人悄悄留下的1000美元小费解释成自恋型人格的自我取悦,当另一位专栏作家开始拿他的皮衣、身体和性欲写那些自以为幽默的段子,我实在很难从中感受到多少新闻业引以为傲的正义感,只看到一种居高临下、毫不掩饰的轻蔑。 尤其令人反感的,是那种不容置疑的道德优越感。仿佛只要站在正确的位置上,就有权替别人解释一切动机,连慷慨都可以是伪善,连出身都可以成为笑柄。 于是,我开始往回翻。 先去看写下这些文字的人,他们的出身、履历、思想观念,以及他们与黄仁勋之间曾经发生过什么;再去看决定这些文章能否刊出的编辑,以及《纽约时报》对其他陷入类似丑闻的科技富豪,是否也使用过同样的语言。 接着是这家报纸自己。控制它一百多年的家族,有着怎样的私生活与特权;它的千万订户有着怎样的政治偏好;它正在打哪些涉及 AI 的官司,又从哪些科技公司那里收取授权费。 再往外,是流向欧美新闻机构的 AI 风险研究资助,是大报背后那些同时拥有科技生意的亿万富翁,是传统媒体与硅谷新贵各自掌握的舆论机器,以及这些人之间远比读者想象中复杂的利益纠葛。 我想让读者看到,那些习惯于解释世界、审判他人的机构,本身也生活在怎样的金钱、权力与意识形态之中。 而我想批评的,从来不只是几篇恶毒的文章,而是一种早已习以为常的傲慢,有些人似乎天然拥有定义别人品格的权力,却很少需要向公众解释自身的立场与利益。 既然《纽约时报》如此热衷于扒掉别人的体面,审视别人的人格,那么这一次,不妨也把同样的目光投向它自己。 毕竟,坐在审判席上的人,也不该永远免于审视。
45
149
14
991
38,589
James Leung 梁韜智 retweeted
Whenever you bring this up, though, you'll always run into folks who have drunk the Anthropic led Kool-Aid and tell you that this is not the point. Their point is basically that there is one magical track of superintelligence and we are going to reach it first. No one else can ever reach it because, once we achieve it, it will be some combination of self-improving or so all-powerful that it will basically prevent anyone else from developing anything competitive. They don't need to prove this to you, by the way. You just need to imagine that the chance of this happening is non-zero, so that you can never refute it. By not refuting them, you are basically accepting that it can happen. Through the magic of expected value, the value of infinite power times some non-zero probability is, well, still infinite power. Good luck trying to convince them there is any outcome more important to protect against than this. Therefore, it's really difficult to fight against them because they will put all of their time and resources into ensuring this happens. There is no higher outcome, right? And of course, we have to trust them because only they can understand how to bring it about and how to make sure "we can use it to stay permanently the rulers of the world." And if you ever push back, then it's because you don't want to be the rulers, but the permanently ruled. And not just that, but be permanently ruled by the evil Chinese.
Replying to @wholemars
We are naive if we think China can’t catch up on chips. With Jensen out, Huawei will catch up even faster. Not only chips, China has: - More data (easier to collect) - Efficient algorithms - Cheap abundant power - Mass data centers (soon) - Domestic foundries - CANN vs CUDA - SMEE vs ASML
9
19
5
172
11,492
James Leung 梁韜智 retweeted
JUST IN: Nvidia Insiders claim that Jensen Huang was prone to anger, recalling one time an executive contradicted him and he closed his eyes and took a loud and deep breath inwards with an audible exhalation.
2,618
1,220
524
39,450
2,121,142
James Leung 梁韜智 retweeted
Anthony, the "spy" story appears to be as fake as Russiagate. Here are the facts as I understand them. (1) First, Alice Huang was at a company called Megaspeed[1], which everyone agrees bought Nvidia chips to sell to Southeast Asian companies called neoclouds. This is in itself completely legal under US law. (2) However, some both inside and outside the admin didn't like this. They want to block Chinese nationals from accessing cloud services with Nvidia GPUs even if those servers are located outside China. Fine, but the so-called Remote Access Security Act (RASA) to block this has passed the House but not the Senate, and is not law[2]. (3) Singapore's government also looked into this when Alice Huang was on their soil[3] and didn't find any evidence that Megaspeed was actually selling chips to China illegally — let alone that she was a "Chinese spy." They did give her an entry ban, but that's like a visa denial. (4) The related point is that it's not actually illegal to sell Nvidia chips to China! Since the Biden admin, there has been a complex and constantly-shifting set of export restrictions on chips. As of right now, Nvidia is allowed to sell H200s[4] to China, and indeed has designed these to comply with applicable law. (5) But you know what...China actually also doesn't want Nvidia chips in China [5,6], because they want to build up their homegrown chip industry. The Nvidia chips are so good that China doesn't want to remain dependent on American chips, or vulnerable to possible US backdoors. (6) The broader point is that this is an argument between nationalists and capitalists. Nationalists argue that US companies shouldn't even get close to selling to China, and shouldn't even be selling to neoclouds, even if it's "technically" legal. Capitalists argue that it's impossible for American companies to dominate world markets without, you know, being allowed to dominate world markets by actually competing in them. And that it's one thing to restrict physical sales to China, and quite another to require proof-of-citizenship for every single cloud access. (7) Here's the thing: it doesn't make sense for one of the (few!) industries where America has a trade surplus with China to be summarily cut off, if you're worried about trade surpluses. It doesn't make sense to remove your number one AI CEO, if you want to be number one in AI. And it truly doesn't make sense to do to Jensen Huang what the communists did to Jack Ma[7], if your goal is fighting communism. (8) So, to summarize: there's no proof of spying, as Blanche at DOJ has admitted[8], which rebuts your FBI/DOJ points. The Wachtell investigation you raise is just an in-house thing[9] ordered by the Nvidia board. And so all that's left is some affairs, which society has agreed is not disqualifying, given the realities of both Clinton and Trump. In short: do you want a communist society like China, where Jack Ma's company can be stolen from him overnight on false pretenses? Or do you want some semblance of rule of law? If so, you should support the restoration of Jensen Huang to the company he built. Citations follow in the next tweet.
The tech bros want Jensen back. Not happening. This isn't a sex scandal. It's an FBI counterintelligence review, DOJ probes into chip smuggling, a Wachtell investigation and a relationship with a direct report. No board can reinstate a CEO it is still investigating. A suspected Chinese intelligence operative got close to the man running the most strategically important company in America. The FBI is on it. DOJ is probing the chip pipeline to China. Congress wants him under oath. Shareholders are suing. The board hired Wachtell to investigate him. You don't come back from that with an apology tour. Until every one of those probes closes, no director with a fiduciary duty can vote to bring him back. Genius doesn't buy you an exemption from national security.
271
715
113
4,917
514,377