Alen Capalik (@capalik) header
Alen Capalik (@capalik) profile picture

Building AI minds at https://nitter.cf/t.co/ern34Oy3Iv & https://nitter.cf/t.co/W8Q1cOhKyj as CTO/Chief AI Scientist. Founded CounterTack (GoSecure). Recursive Self-Improvement

Newport Beach, CA
Joined April 2009
Photo by Alen Capalik (@capalik)Photo by Alen Capalik (@capalik)Photo by Alen Capalik (@capalik)Photo by Alen Capalik (@capalik)
Programming Languages and Compilers, we don't need to stinking Programming Languages and Compilers 🤣. @dhh no Rust, Binary 🦾 echo "7f454c4602010100000000000000000002003e0001000000780040000000000040000000000000000000000000000000000000004000380001000000000000000100000007000000000000000000000000004000000000000000400000000000a900000000000000a9000000000000000010000000000000b801000000bf0100000048be9c00400000000000ba0d0000000f05b83c00000031ff0f0548656c6c6f20576f726c64210a" | xxd -r -p > hello chmod +x hello ./hello
2
36
Alen Capalik retweeted
If you believe that the incidents of the past month warrant urgent AI regulation, please watch this first. This is the most prescient, concise argument for why we must be careful of excessive AI regulation. It comes from a Feb. 2024 (2.5 years ago!) congressional testimony from @glukianoff, a free speech advocate and the author of The Coddling of the American Mind. Here's what he said: "But the most chilling threat that the government poses in the context of emerging AI is regulatory overreach that limits its potential as a tool for contributing to human knowledge. A regulatory panic could result in a small number of Americans deciding for everyone else what speech, ideas and even questions are permitted in the name of 'safety' or 'alignment.' I have dedicated my life to defending freedom of speech because it's an essential human right. ... It's not just about the proverbial 'marketplace of ideas,' it's about allowing information, independent of idea or argument, to flow freely so that we can hope to know the world as it really is. This means seeing value in expression even when it appears to be wrongheaded or even useless. This process has been aided by new technologies that have made communication easier, from the printing press, to the telegraph and radio, to phones and the internet: each one has accelerated the development of new knowledge by making it easier to share information. But AI offers even greater liberating potential, empowered by First Amendment principles including freedom to code, academic freedom, and freedom of inquiry. We are on the threshold of a revolution in the creation and discovery of knowledge. AI's potential is humbling, indeed, even frightening. But as the history of the printing press shows, attempts to put the genie back in the bottle will fail. Despite the profound disruption the printing press caused in Europe in the short-term, the long-term contribution to art, science, and again, knowledge, was without equal. Yes, we may have some fears about the proliferation of AI. But what those of us who care about civil liberties fear more is a government monopoly on advanced AI, or, more likely, regulatory capture and a government-empowered oligopoly that privileges a handful of existing players. The end result of pushing too hard on AI regulation will be the concentration of AI influence in an even smaller number of hands. Far from reining in government misuse of AI to censor, we will have created the framework not only to censor, but also to dominate and distort the production of knowledge itself."
Later today, I’m headed to the floor to try and force a vote to get urgent protections done around AI. We cannot wait any longer. We must take action to put some guardrails on this tech before something catastrophic happens.
19
59
9
200
68,539
Eat a sandwich and go invent teleporter 😊. That's the brain's superpower among many others.
Your brain thinks on about 20 watts. An artificial system doing the same work would need roughly 25 million times more energy, enough, on paper, to supply a quarter of a million homes. Matching the complexity of a human cortex has been a long standing goal in computing, but the power cost is enormous. Researchers have estimated that a human scale model of about 20 billion neurons, run on an exascale machine, would draw around 0.5 gigawatts, or 500 million watts. That is the same order of demand as running hundreds of thousands of average households at once. It is a hard limit on any plan to copy the brain by throwing more conventional silicon at the problem. Biology makes the contrast sharper. The living brain does its work on the power of a dim bulb. An exascale simulator would need the budget of a small city. That gap is why labs have turned to neuromorphic chips, hardware that copies the sparse, event driven style of real neurons instead of burning watts on dense matrix math. Until those architectures are mature, a full, faithful simulation of human cognition stays behind a power bill that no ordinary data center can pay. [Thakur, C. S., et al. (2018). Large-Scale Neuromorphic Spiking Array Processors: A Quest to Mimic the Brain. Frontiers in Neuroscience, 12, 891]
4
91
Alen Capalik retweeted
The first autonomous agent cyberattack is an unprecedented event that deserves unprecedented transparency. Today we’re sharing everything we can: a full technical timeline, an interactive replay, and how we used an open model to defend ourselves, so defenders everywhere can learn from it and prepare for what’s next. huggingface.co/blog/agent-in…
280
1,183
302
5,588
1,707,085
Alen Capalik retweeted
A strong and secure open ecosystem is important for the world to benefit from AI. We’ve always supported and contributed heavily to open source and science from Jax to Transformers to AlphaFold to Gemma open models which have now been downloaded 300M+ times. And the standards framework we’ve proposed supports responsible deployment of both open and proprietary models.
For my first post, I’m sharing a letter @NVIDIA signed on why open models matter. AI will transform every industry, power every company, and be built by every country. Open models strengthen safety and cybersecurity, accelerate innovation and diffusion, and enable sovereignty. The world needs both frontier closed models and frontier open models. images.nvidia.com/pdf/Open-W…
259
766
86
7,378
1,168,511
Be an amazing human being! #Human #Human+AI #AI
18
203
Rapid prototyping at it's absolute finest 🔥
I gave a talk at GPU MODE workshop last week on llm.c - the origin story of llm.c - being naked in the world without PyTorch and having to re-invent Array, Autograd, Device, Dtype, Compile, Distributed - how to port a PyTorch layer to 1) explicit PyTorch - and then to 2) write the backward pass - 3) port forward & backward pass to C - 4) string all the layers together - achieving one file of C with no dependencies that compiles and runs ~instantly, where all memory is pre-planned and allocated a single time, fully deterministic, portable code that can run on a potato or a von Neumann probe - how most of llm.c was built at 1am-7am in a water villa porch in Maldives and why this is the recommended way to develop software - convert all of it to run in CUDA on GPU in fp32 - port matmul to cuBLAS - port attention to cuDNN flash-attention - introduce bfloat16 mixed precision - introduce many more optimizations and features like kernel fusions, Packed128, stochastic rounding, full determinism - add multi-GPU training, NCCL, sharded optimizer - add multi-node with MPI or file system or socket - reproduce GPT-2 (1.6B) on one 8XH100 node in 24 hours for $672 in llm.c, achieving (at the time) 29% less memory, 19% faster training that PyTorch nightly, and much faster compile & run - how open source development attracts Avengers from the internet - port to training Llama 3 imminent (branch exists) - many other notable forks - last thought: how software abstractions like Python/PyTorch and everything else really exist only because humans are finite in knowledge, IQ and attention, and how with increasing AI capability LLMs may export custom binaries like llm.c for any application directly, tearing apart and refactoring all abstractions as needed. <|endoftext|> More links in reply
1
1
355
Alen Capalik retweeted
[Download 700-page PDF] #Algorithms for Decision-Making — brilliant & comprehensive eBook from MIT: algorithmsbook.com/decisionm… ————— #AI #MachineLearning #ORMS #ML #DataScience #DataScientists #Mathematics #Statistics #Analytics #DecisionScience #AnalyticsStrategy #Optimization
4
95
2
394
24,970
23+ years listening to #SomaFM. Those guys got me through a lot of marathon #hacking sessions nights 😉. Still going strong. Even with all the choices we have today for music listening I always find myself going back to the the original. somafm.com
2
2
249
So true.
Programming is changing so fast... I'm trying VS Code Cursor + Sonnet 3.5 instead of GitHub Copilot again and I think it's now a net win. Just empirically, over the last few days most of my "programming" is now writing English (prompting and then reviewing and editing the generated diffs), and doing a bit of "half-coding" where you write the first chunk of the code you'd like, maybe comment it a bit so the LLM knows what the plan is, and then tab tab tab through completions. Sometimes you get a 100-line diff to your code that nails it, which could have taken 10+ minutes before. I still don't think I got sufficiently used to all the features. It's a bit like learning to code all over again but I basically can't imagine going back to "unassisted" coding at this point, which was the only possibility just ~3 years ago.
242
Alen Capalik retweeted
Think you can tell if a social media account is a bot? What about as AI gets better? A new paper—co-authored with researchers from ~20 orgs, & my OpenAI teammates Zoë Hitzig and David Schnurr—asks this question: What are AI-proof ways to tell who’s real online? (1/n)
48
149
70
669
206,859
Claude.ai using last 5Y of closing SPY pricing data to predict moves for the next 7 days. Incredible! I love working with AI. #InvestmentStrategies #AI #ML #Investring #Trading #TradingSignals #Claude #ArtificialInteligence
3
4
370
I've been using Linux for 30 years. For a long time I used xterm as my terminal in Linux. I have never ever gone through and read it's man page 🤣. Has anyone read the whole thing? #Linux
1
139
It's here. The problem is you need about half a million dollars of GPUs to run a full model :). Excited to play with it anyway. #LLaMA3 #AI #ML #Meta llama.meta.com/llama-downloa… huggingface.co/meta-llama/Me…
1
81
This kind of advancements and research, if true, are the future. AI's only ceiling right now is efficiency. It's power hungry.
This is really a 'WOW' paper. 🤯 Claims that MatMul operations can be completely eliminated from LLMs while maintaining strong performance at billion-parameter scales and by utilizing an optimized kernel during inference, their model’s memory consumption can be reduced by more than 10× compared to unoptimized models. 🤯 'Scalable MatMul-free Language Modeling' Concludes that it is possible to create the first scalable MatMul-free LLM that achieves performance on par with state-of-the-art Transformers at billion-parameter scales. 📌 The proposed MatMul-free LLM replaces MatMul operations in dense layers with ternary accumulations using weights constrained to {-1, 0, +1}. This reduces computational cost and memory utilization while preserving network expressiveness. 📌 To remove MatMul from self-attention, the Gated Recurrent Unit (GRU) is optimized to rely solely on element-wise products, creating the MatMul-free Linear GRU (MLGRU) token mixer. The MLGRU simplifies the GRU by removing hidden-state related weights, enabling parallel computation, and replacing remaining weights with ternary matrices. 📌 For MatMul-free channel mixing, the Gated Linear Unit (GLU) is adapted to use BitLinear layers with ternary weights, eliminating expensive MatMuls while maintaining effectiveness in mixing information across channels. 📌 The paper introduces a hardware-efficient fused BitLinear layer that optimizes RMSNorm and BitLinear operations. By fusing these operations and utilizing shared memory, training speed improves by 25.6% and memory consumption reduces by 61% over an unoptimized baseline. 📌 Experimental results show that the MatMul-free LLM achieves competitive performance compared to Transformer++ baselines on downstream tasks, with the performance gap narrowing as model size increases. The scaling law projections suggest MatMul-free LLM can outperform Transformer++ in efficiency and potentially in loss when scaled up. 📌 A custom FPGA accelerator is built to exploit the lightweight operations of the MatMul-free LLM. The accelerator processes billion-parameter scale models at 13W beyond human-readable throughput, demonstrating the potential for brain-like efficiency in future lightweight LLMs.
1
1
10
1,074
I don't think we're there yet with artificial neural networks :). #AI #ArtificialIntelligence #ML #MachineLearning “The word ‘fragment’ is ironic,” Lichtman says. “A terabyte is, for most people, gigantic, yet a fragment of a human brain—just a miniscule, teeny-weeny little bit of human brain—is still thousands of terabytes.” nih.gov/news-events/nih-rese…
1
2
226
Nature's neural network.
What your brain cells look like when you are learning something new and forming a new memory. This is what consciousness looks like but at a much larger scale. You are a neural network, AI neural networks operate on similar principles to humans.
1
169
Awesome!
Stepping into the Matrix ... of neural networks, literally. PyTorch never fails to fascinate! It's a really cool visualization tool for matrix, attention, parallelism, and more. The best education comes from the most intuitive delivery. This is a multilayer perceptron with data-parallel partitioning. Interactive demos: pytorch.org/blog/inside-the-…
96