Bert Maher retweeted
I am a proud American, and I’m proud to work at Anthropic. Labeling Claude a supply chain risk will only harm America’s lead in AI. It’s not un-American to support AI guardrails that protect our civil liberties.
A statement on the comments from Secretary of War Pete Hegseth.
anthropic.com/news/statement…
Bert Maher retweeted
Replying to @fermatslibrary
One of the most common flaws of math textbooks is that they present only the logic, without the intuition. They give you the later, cleaned up version of the idea, which hides the way it was discovered.
Bert Maher retweeted
Introducing Claude Sonnet 4.5—the best coding model in the world.
It's the strongest model for building complex agents. It's the best model at using computers. And it shows substantial gains on tests of reasoning and math.
Bert Maher retweeted
The most important skill for a researcher is not technical ability. It's taste. The ability to identify interesting and tractable problems, and recognize important ideas when they show up.
This can't be taught directly. It's cultivated through curiosity and broad reading.
Bert Maher retweeted
I was talking to @tensorbert about why so many Chinese talent on AI especially on the engineering side. It’s because of a deep engineering / implementation/ optimization culture in the STEM education system that favors incrementally a lot more than innovation. DeepSeek was an outlier (its founder was heavily influenced by Renaissance)
Bert Maher retweeted
getting a phd is mostly about developing a system for maximizing the time you spend in flow state, over several years
Bert Maher retweeted
Replying to @joey072shx @teortaxesTex
This is hilarious, the random activation function I made up for this talk because it demonstrated fusion well is actually useful 😂
Bert Maher retweeted
Prompted by investigations by Boyue Li and @tensorbert, I reduced the kernel launch latency of the open-source compiler github.com/openai/triton by a factor of 7 yesterday, from 105μs to 15μs.
Admiral Grace Hopper explains the importance of microseconds in youtu.be/9eyFDBPk4Yw
Bert Maher retweeted
Happy New Years Everybody! 🥳
One year ago today, I had:
- Never trained any model
- Did not know the first thing about AI
- Never worked in Tech
- Had 8 followers on twitter? (probably)
One year later and here I am!
Met many of my heroes and legends in tech and worked with hundreds of amazingly talented and influential people, went on some amazing trips to SF and NeurIPS and met so many of you, worked at three tech co's, built Nous Research with @theemozilla @karan4d and Shivani, made several of the worlds SOTA OS models, became a pro data engineer, got cited in at least 14 papers, and so much more!
Imagine where we'll be in a year from now, I'm optimistic I'll be able to continue contributing to the Open Source future!
Bert Maher retweeted
Ok I’m at NeurIPs to talk about our in person competition workshop on LLM efficiency on Friday Dec 15 between 1:30 - 4:30 pm CST
Competitors had to fine tune 1 LLM in 1 day on 1 GPU and the reception was incredible. This was one of the most popular ML competitions of the year.
If you’re interested in the foundations of eval and fine-tuning come learn from the best @jeremyphoward @rasbt and most importantly which techniques actually worked from the winners themselves!
Stacked lineup ->
neurips.cc/virtual/2023/comp…
Bert Maher retweeted
Replying to @MistralAI
@MistralAI model is hot: with mixture-of-experts, like GPT-4!
It promises faster speed and lower cost than model of the same size and quality
Fascinatingly, the speed-up is unevenly distributed: running on a laptop or the biggest GPU server benefit the most. Here’s why 🧵 1/7
Bert Maher retweeted
Language is an imperfect, incomplete, and low-bandwidth serialization protocol for the internal data structures we call thoughts.
Bert Maher retweeted
In past companies, contributing to LLVM, there was a huge quality-gap between internal LLVM-code and LLVM public one.
As an engineer, OSS code reviews were protecting me against skewed short-term internal incentives and manager pushing for "just land it as-is and improve later".
Bert Maher retweeted
There's a huge opportunity to use ML to replace hand-written heuristics in compilers.
Want to try? Check out this @kaggle
contest organized by Ashley Chow, Bryan Perozzi, HCL-Jevster, inversion, Mangpo Phothilimthana, and Sami Abu-El-Haija!
kaggle.com/competitions/pred…
Bert Maher retweeted
Speculative execution for LLMs is an excellent inference-time optimization.
It hinges on the following unintuitive observation: forwarding an LLM on a single input token takes about as much time as forwarding an LLM on K input tokens in a batch (for larger K than you might think). This unintuitive fact is because sampling is heavily memory bound: most of the "work" is not doing compute, it is reading in the weights of the transformer from VRAM into on-chip cache for processing. So if you're going to do all that work of reading in all those weights, you might as well apply them to a whole batch of input vectors. I went into more detail in an earlier thread:
teapaw.org/karpathy/status/…
The reason we can't naively use this fact to sample in chunks of K tokens at a time is that every N-th token depends on what token we sample at time at step N-1. There is a serial dependency, so the baseline implementation just goes one by one left to right.
Now the clever idea is to use a small and cheap draft model to first generate a candidate sequence of K tokens - a "draft". Then we feed all of these together through the big model in a batch. This is almost as fast as feeding in just one token, per the above. Then we go from left to right over the logits predicted by the model and sample tokens. Any sample that agrees with the draft allows us to immediately skip forward to the next token. If there is a disagreement then we throw the draft away and eat the cost of doing some throwaway work (sampling the draft and the forward passing for all the later tokens).
The reason this works in practice is that most of the time the draft tokens get accepted, because they are easy, so even a much smaller draft model gets them. As these easy tokens get accepted, we skip through those parts in leaps. The hard tokens where the big model disagrees "fall back" to original speed, but actually a bit slower because of all the extra work.
So TLDR: this one weird trick works because LLMs are memory bound at inference time, in the "batch size 1" setting of sampling a single sequence of interest, that a large fraction of "local LLM" use cases fall into. And because most tokens are "easy".
References
arxiv.org/abs/2302.01318
arxiv.org/abs/1811.03115
arxiv.org/abs/2211.17192






























