Register and share your invite link to earn from video plays and referrals.

handongxue
@likev
after 80'/气象工作者/不苟同/关注天气变化/向往自由/热爱科学、互联网、编程 Node.js Web C++ Julia Python
5K Following    4.6K Followers
Chinese people find the AC debate in France and EU hard to understand when even pigsty in China has AC:
0
384
10.1K
950
Forward to community
attention is all you need but if you want to reduce the cost attention less and share it
I read the GLM-5.2 report and saw they use IndexShare, which is a cool, simple trick. Regular attention makes every token look at every other token, which is the quadratic cost everyone keeps trying to kill. Sparse attention is a workaround where each token only looks at a small set of relevant tokens instead of all of them. In DSA the way you pick that set is a small "indexer" that scores the keys and keeps the top-k. The indexer stays cheap but still picks well because it's trained to imitate the real attention distribution with a KL loss, and ranking which tokens matter turns out to be a much easier job than computing the exact attention, so it can run in FP8. The problem is that the indexer is itself quadratic, and it runs at every layer. so at 1M context most of your compute goes into deciding what to attend to, not into the attention. The trick with IndexShare is that instead of running it every layer, you share one indexer across a group of 4 layers and let the other 3 reuse that selection. they got 2.9x fewer FLOPs per token at 1M! the idea is betting the set of tokens worth attending to barely changes from one layer to the next, so recomputing it every layer is wasted work. This idea of sharing across different layers is not new, of course. things like HySparse or Kascade do similar reuse but keep a few real dense-attention layers around to compute the "true" selection. GLM takes it one step further and reuses the output of an indexer that was already an approximation, and it holds up because the model is trained that way from mid-training, not switched on at inference. Super simple!
Show more
The US government, citing national security authorities, has issued an export control directive to suspend all access to Fable 5 and Mythos 5 by any foreign national, whether inside or outside the United States, including foreign national Anthropic employees. The net effect of this order is that we must abruptly disable Fable 5 and Mythos 5 for all our customers to ensure compliance. Access to all other Claude models is not affected. We apologize for this disruption to our customers. We believe this is a misunderstanding and are working to restore access as soon as possible. Read our full statement:
Show more
0
12.5K
87.7K
25.4K
Forward to community
🚨 AI Addiction Alert I am addicted to using AI almost 24/7 I have about 8 conversations going at any one time - 5 PRs, 1-2 research and 1-2 media I need to add a daily limit. 🥹
the world is changing, and we need to be aware of it, and discuss how to handle this change.
this is my personal singularity moment this post may sound like a paid ad. I only wish. I'm concerned, more so than happy. the world is changing, and, among the scenarios where AI goes terribly wrong, inequality is the most realistic, yet, the one Anthropic seems to be the least concerned about. I'm glad OpenAI is taking the opposite stance: *personal AGI for everyone*. I think this is a commendable position in the times we live. but who am I in the queue of the bread? anyway, Fable is here, so I'll just report my first-hour experience first of all, all my pet prompts are solved. → λ-calculus puzzles → bug questions → one-shot apps all are trivial to it. I don't have anything harder other than my ongoing work so, in the last several days, I've been toying with HVM5, a new interaction net evaluator with a faster loop. after writing the first version, I left 32 GPT-5 agents working for ~20 hours each. this resulted in up to 2x speedups, but the file size increased by 2-fold and quality decreased significantly. I then simplified the whole thing into an even simpler core, and left Opus 4.8 and GPT 5.5 optimizing it for 8 hours. Opus got a legit 6% - 34% speedup in most benches. GPT got better results, but, sadly, an unusable file. I then asked Fable to optimize it. 2 hours later, it landed a 1770% speedup in one case, 100%+ in other 4, and 22% in average. yes, in 2 hours it outperformed me, opus 4.8 and a swarm of gpt 5.5 agents, by one order of magnitude. that could not possibly be legit. "it must be hardcoding the benchmarks" (GPT trauma). so I read its explanation and what it did was, indeed, the most high impact optimization one could try first. seems like HVM5 was wasting a lot of time garbage-collecting unused branches of pattern-match nodes. I had optimized that for static mats, but not for dynamic mats. skill issue. Fable figured how to do it for these, resulting in a massive speedup in some benches but wait, is that *correct*? I'm not sure yet, it is credible, but this is the kind of thing that is very easy to get wrong on interaction nets. the problem is, when I was ready to start auditing Fable's solution so I could tell whether it was buggy or legit, it interrupted me to tell me it had found a massive bug on the code *I* had written. ... wait, what? so... for garbage collection purposes, I stored a bit on lambda term pointers that meant "the variable bound by this lambda has been freed, so, its lambda must free whatever argument it is applied to". that's fine. yet, on duplicator nodes, I also used the same bit to mean "one of the duplicated variables was freed, so, treat this dup as a passthrough no-op". so, if a lambda entered a duplicator, it would mistake the lambda's collection bit for its own, resulting in corrupted interaction! that's a mouthful, why I'm writing this? just so you can appreciate the sheer absurdity of what just happened. I didn't ask it to find bugs. I asked it for an optimization. and even if I did ask it to find bugs, this bug is so astonishingly subtle and specific, identifying it takes mastering the domain to an extent that it beyond even me. I'd easily need hours or days to fix it, *if* I ever came across it. chances are it would just go unnoticed. and Fable found it and fixed it like it was nothing, while it was busy adding a 17x speedup to a file that neither I, nor Opus 4.8, nor a fleet of GPT 5.5 managed to barely make 2x faster. oh and there is also another tab where it is also ripping through Bend's codebase and finishing everything I had to do I don't know what to say anymore this isn't about Anthropic or OpenAI, this is about our collective future as a species. the world is changing, and we need to be aware of it, and discuss how to handle this change. receipt below . . .
Show more