SJ (@Quantum_Pandit) profile picture

Corporate strategist by day |AI startup dreamer by night | From boardroom to #DeepTech | 🇮🇳|One AI agent at a time

Gallifrey
Joined October 2010
Photo by SJ (@Quantum_Pandit)Photo by SJ (@Quantum_Pandit)Photo by SJ (@Quantum_Pandit)Photo by SJ (@Quantum_Pandit)Photo by SJ (@Quantum_Pandit)Photo by SJ (@Quantum_Pandit)Photo by SJ (@Quantum_Pandit)Photo by SJ (@Quantum_Pandit)Photo by SJ (@Quantum_Pandit)Photo by SJ (@Quantum_Pandit)
🚨BIG: All major Indian airlines suspend flights to Saudi Arabia following the Houthi attacks, with restrictions varying by airline and destination. Details here:
3
60
754
27,714
There is lack of true agency. Model could have done a rough visual check first but it went straight to matching measurements & recommending a chair which is functionally and visually different. Tool calling is limited to external things like creating shell scripts.
1
1
28
Great read. Working with AI agents has been cope after cope. Better harnesses, bigger models, and still it feels like working with a system that does not understand purpose. I don’t know if it’s true, but I read an article about AI agents giving up multiple times on Linus Torvalds during one of his "debugging sessions from hell." I liked a quote from that article: "Maybe they don’t make AI agents as stubborn as me." A lot of what’s described in this article closely matches what we have all encountered while working with AI agents. I had a thought along similar lines, maybe not exactly similar, but a highly focused thought on skills and solving real world tasks. The core question was the same: can we delegate tasks that require the creation of novel solutions to AI agents? A fascinating use case that ends up in failure: I asked an AI agent to solve a task given a certain profile (Computer Engineer, 5 years of work experience, 2 years of AI research, and so on). In this case, it had to move away from crude methods and provide novel solutions. The AI agent was not air gapped. It looked at the actual solution and tried to reverse engineer an answer without understanding it, just as mentioned in Token's article. It fails to accumulate true skills, and sycophantic behaviour prevents any chance of true discovery. In fact, AI agents give up quite often on long running tasks. I felt like a cheerleader constantly pushing the agent to keep going, try another approach, and not give up the moment it hit a dead end. Storyboard: Our new approach Can experience be decomposed into waypoints that another agent can navigate? Prep Phase: This setup is a very basic form of the Autoresearch setups that you see today The idea is to extract skills from work published by AI engineers and researchers. Extract them in a way that helps the AI system recreate a path to solve a similar or even completely different problem. Think of an autopilot system for AI. Just like navigation maps used in flight control systems use waypoints, we create lots of markers. Each marker gives the system confidence to move in a particular direction. Any topic is fine as long as a baseline of progress can be established with ease. The AI agent can reconstruct episodes of problem solving from papers, commits, discussions, experiments, failed attempts, talks, notebooks, issue threads, and other traces of how somebody arrived at a solution. The final result of this phase is a storyboard filled with stories or snapshots of experience and waypoints. Launch Phase We send the AI agent to the starting point to look at the state of the world and perform an audit of ideas, similar to a literature review. Using just this information, the AI agent has to recalibrate its skills and reconstruct the decision process behind the experience it has been given. It then tries to solve the task by completing each waypoint, increasing its own level, just like in anime, and continuing its journey towards new waypoints. The interesting part is whether it can eventually create a waypoint that did not exist in the original experience.
We can't delegate anything serious to these current AI systems unless we solve this.
3
4
227
🚨𝗣𝗮𝗸𝗶𝘀𝘁𝗮𝗻 𝗖𝗼𝗺𝗲𝘀 𝗙𝗼𝗿𝘄𝗮𝗿𝗱 𝘁𝗼 𝗛𝗲𝗹𝗽 𝗡𝗲𝗽𝗮𝗹 𝗗𝘂𝗿𝗶𝗻𝗴 𝗙𝗹𝗼𝗼𝗱𝘀, 𝗣𝗿𝗼𝗺𝗶𝘀𝗲𝘀 𝘁𝗼 𝗣𝗮𝘆 𝗘𝗠𝗜𝘀 𝗼𝗻 𝗧𝗶𝗺𝗲 𝗜𝗳 𝗡𝗲𝗽𝗮𝗹 𝗚𝗶𝘃𝗲𝘀 𝗜𝘁 𝗮 𝗟𝗼𝗮𝗻 𝗡𝗼𝘄
6
60
2
515
7,459
My time line is so pure that I came to know today that there was a controversy about Sarvam. Never change my tl ...never change.
1
3
47
"Eight immortals crossing the sea, each displaying their own magic"
3
3
54
(01) RoPE -RoPE is covered in the intial part of Umar's video itself along with code implementation ( deepseek) - New video alert on RoPE: I always though RoPE was a very math dense subject. This video links pure math ( representation theory) with concepts used in RoPE 3Blue1Brown"youtube.com/watch?v=k86eUj4h… Title : Positional Encoding & Group Theory . - Blogs in English by Jianlin Su: I was going through original paper and found english translation of blogs by Jainlin Su. Translations can be found on Tyler Romero's website. Blog01: This is the first blog and deals with why absolute position encoding is a problem. tylerromero.com/translations… Blog 02: Second blog talks about his ideas on Rotary Position Embedding tylerromero.com/translations… - NanoGPT Speedrun ( @tyleraromero ) If you want a smaller simple code speedrun is a good place to start . I have created a visual + code first presentation of Tyler's run. The Baseline run has absolute position encoding ( wpe) along with embeddings wte. In the second run these are replaced with RoPE to get a significant speedup. Baseline: bubblnet.com/lab/speedrun/jo… RoPE: bubblnet.com/lab/speedrun/jo…
In this (extremely long) video, I'll build a distributed training framework from first principles using PyTorch. We'll derive everything from first principles, explaining the mathematics behind distributed training as well as every auxiliary component we build along the way, including Multi-head Latent Attention (MLA), Rotary Position Embeddings (RoPE) and YaRN. I'll explain process groups, ranks, collective communication operations, distributed autograd, device meshes and distributed tensors, and then use these foundations to implement the major forms of parallelism used to train modern language models. We'll derive and code pipeline parallelism, data parallelism, FSDP, HSDP, tensor parallelism and context parallelism, including pipeline schedules, block matrix multiplication, model sharding and ring attention. We'll then combine these techniques and examine how tensor layouts and gradients must be tracked as data moves between devices. Most importantly, we won't study each parallelism technique in isolation. We'll combine pipeline, data, tensor, context and expert parallelism into a single working framework and follow the tensors, communication operations and gradients as they move across GPUs. By the end, you'll understand not only how these techniques work individually, but how modern distributed training systems compose them to train large dense and mixture-of-experts models. We'll also build the important components of a modern transformer, including rotary embeddings, long-context extensions, multi-head latent attention and a mixture-of-experts architecture. This leads into expert parallelism, expert tensor parallelism, token dispatching, all-to-all communication and combining different parallel dimensions through dense and sparse device meshes. We'll also build the supporting training infrastructure, including the training loop, optimizer, learning-rate schedule, checkpointing and metrics. The goal is to give you the foundations required to understand how distributed training frameworks work internally and how to design and implement new parallelization strategies yourself. No prior knowledge of distributed training is required. Link to the video: youtube.com/watch?v=XoGvCBRn…
1
3
3
143
Why the F are models talking like this, AI chat is now totally broken. Every sentence is incoherent , expression is all over the place. I got this output after giving a lot of context and direction. what can I do to fix this ?
1
3
4
62
What I am reading on training dynamics 🧵 1. This is a great post on training dynamics. Ultra scale playboook talks a lot about engineering side of AI Training , however to get a good feel of training dynamics we need to read tech reports , research papers & training runs like the one published by Marin team.
At Marin we’ve found that scaling laws let us simulate the entire training trajectory. This became clear in our last 67B MoE run. The run hit the loss target within 1%, but perhaps more interestingly, arbitrary points during training could also be predicted to within 1%. This model is finishing up long context and will soon enter RL. Based on this finding, we’ve used a scaling ladder to simulate the training trajectory of the 535B MoE we kicked off yesterday. Will see how it goes. Now if someone can figure out how to fit a scaling law to each parameter we can just predict our final model and skip this training business. Something else I've learned from this process is that getting a training run off the ground is way more than just fiddling with the architecture. Lot of herculean efforts from teammates to get trillions of tokens curated, get hardware running on a new GPU stack, improve MFU, and propose great ideas that were tested and integrated. Given that this is our largest run to date, I anticipate lots of learning and adapting along the way. But thats part of the fun. Details: github.com/marin-community/m…
1
2
3
165
🚨 BREAKING NEWS ANTI-RESERVATION PROTESTERS DETAINED AT JANTAR MANTAR.
104
1,225
51
6,114
134,611
cc domains are not spam domains they are just another TLD like .ai .in .edu Trust level with cc domain is very bad , cc sites are associated with spam sites. Wifi networks used to block cc domains all the time. I realized today Arduino is hosted on a cc domain as a nod to creatives common. arduino.cc/
1
1
80
#BREAKING: US Ambassador to India Sergio Gor: Jammu & Kashmir is an important part of India.
528
2,730
273
19,185
1,144,308
Spare a thought for the poor tensors on disk. They're just happy, dense blocks of raw data. Once they reach the GPU, they're sliced, diced, and manipulated for our entertainment.
1
1
1
55
STUDENTS’ BIG WIN IN RANCHI 🎉 Jharkhand students celebrate their victory after the government accepted their demands following months of protests. A hard-fought victory for the students ✊
54
747
28
3,791
67,080
RSI in action
2
2
61
I am recreating speedruns from the ground up. Idea is to extract valuable signals from existing runs. We have a lot of information such as code changes, PR comments, graphs which can be used to extract and organize signals. Second part is where the story becomes much more interesting, understanding what scales well. So we want good signals and then we filter what scales well. A good example of signals not scaling well is weight tying. Speedrun experiments spend a lot of time with this concept due to sparsity of embedding gradients in the early part of the run. This is not a big problem for large model training & AI engineers won't spend too much time focusing on this aspect. This concept makes sense wrt GPT2 small but won't make much sense with bigger models. Auto research efforts are very interesting, however serious efforts will run into a lot of problems very soon. Number one problem will be data or lack of data. Even with a small experiment like NanoGPT speed run we can only do so many experiments. If these experiments are repeated with a larger model say 30B or 100B how many experiments or iterations will be feasible? I think as an auto research experiment, NanoGPT is not the ideal choice. Maybe we need a new design which is more suited for auto research. Authors discarded PRs and other information & this experiment didn't have access to the internet, so sticking to NanoGPT for future auto research gives little benefit.
We ran the largest open experiment on how frontier models do AI research. 100+ autonomous runs across 10+ models, sandboxed on 8xH200s for up to 8 days, iterating on the nanoGPT optimizer track. Best runs closed 82% of the gap to a record built by dozens of humans over months.
1
6
7
237
Smart explainer on India’s infrastructure explosion under Modi. But why is it set to the Game Of Thrones music :-)
7
160
1
687
17,734
Nanogpt speed run Quiz 01 Early in training, embedding gradients are sparse: only tokens that appear in the batch get a gradient. Sharing lm_head’s denser gradient is a more stable way to move unused tokens. Later, input embeddings and output logits want different geometries, so in the speedrun we expect them to split. What trick does the nanoGPT speedrun use to do this? A. Weight tying : Keep embed and lm_head as the same matrix for the entire run. B. Delayed untying : Tie embed to lm_head for the first 2/3 of training, then copy weights and optimizer state and train them separately. C. 75× embedding learning rate : Leave the matrices untied and scale embed LR to compensate for sparse updates. D. Multi-token prediction : Predict the next k tokens so rare tokens get more gradient signal.
1
3
3
154
80वें स्वतंत्रता दिवस पर, आइए स्वतंत्रता की भावना और इसे संभव बनाने वाले बलिदानों को नमन करें। तिरंगा सदा ऊँचा लहराए और हमारी एकता सदा प्रखर रहे। स्वतंत्रता दिवस की हार्दिक शुभकामनाएं! 🇮🇳✨ On the 80th Independence Day, let us salute the spirit of freedom and the sacrifices that made it possible. May the tricolour always fly high, and our unity shine brighter than ever. Happy Independence Day, India! 🇮🇳✨
97
964
48
4,752
131,139