Загрузка видео...

Не удалось загрузить видео

На главную

We built Talos - a full CNN inference engine running directly on silicon. Every multiply, buffer, and data path lives as real digital logic on the FPGA. This is what deep learning looks like when the model becomes hardware👇

92,700 просмотров • 8 месяцев назад •via X (Twitter)

Комментарии: 60

Фото профиля luthira
luthira8 месяцев назад

this was one hell of a ride. building it alongside @krish_chhajer made it even more special. if you want the full story, check out: full hardware repo is open too. systemverilog, docs, .mif weights, testbenches, all of it:

Фото профиля luthira
luthira8 месяцев назад

the funny part is that the simulation worked in a couple weeks. getting it onto real silicon took months. that gap is the whole story. in simulation you fight logic which on hardware you fight physics. routing, timing closure, memory limits, clock budgets. things you don’t see until the chip says no.

Фото профиля luthira
luthira8 месяцев назад

the model is tiny on paper. 28×28 input - 4 conv kernels - pool - flatten - fully connected to 10 classes but on an fpga every multiply, every buffer, every bus has to exist physically. you don’t “allocate tensors”. you build them.

Фото профиля luthira
luthira8 месяцев назад

one moment that really felt like we started thinking in hardware: we reordered the layers. software: conv → relu → maxpool talos: conv → maxpool → relu initialize maxpool at zero and relu comes for free. same math, thousands of cycles saved.

Фото профиля luthira
luthira8 месяцев назад

our first real architecture was honestly naive. parallel everything. multiple cnn blocks, wide neuron buses, all firing at once. and the worst part? it simulated perfectly. then we tried to put it on the chip, but Quartus refused to fit it. not slow, not buggy, it was just physically impossible to place and route.

Фото профиля luthira
luthira8 месяцев назад

so we stepped back and rethought the whole thing. instead of brute forcing parallelism, we leaned into time. one cnn, one maxpool, four passes, all driven by a tiny finite state machine which lets you do the same math, way less silicon. that’s the real fpga tradeoff you don’t appreciate until you live it: you’re always trading time against area.

Фото профиля luthira
luthira8 месяцев назад

the next breakthrough was realizing we were still thinking too much like software. we were storing pooled activations, planning to feed them into the fc layer later. but on hardware, buffers are expensive. so we just… stopped storing them. each pooled value streamed straight into 10 parallel mac accumulators. no intermediate memory, no giant buses, just data flowing forward and getting absorbed immediately. that single decision shrunk the design more than anything else.

Фото профиля luthira
luthira8 месяцев назад

after that, memory became the final boss. 676 weights per neuron doesn’t sound like much until routing blows up. keeping them in logic was creating absolute chaos for the fitter. moving everything into m10k rom blocks with a shared address bus changed everything. utilization dropped, routing cleaned up, and for the first time the design actually fit.

Фото профиля luthira
luthira8 месяцев назад

this project completely changed how we see deep learning. in software, models look like graphs. in hardware, they become pipelines. latency stops being a metric and starts being geometry. you’re not writing code anymore, you’re shaping math into silicon. and once you build it this way, it’s obvious: under all the abstraction, modern ai is still macs and memory movement. talos just made that impossible to ignore.

Фото профиля luthira
luthira8 месяцев назад

working demo example:

Фото профиля Udula Abeykoon
Udula Abeykoon8 месяцев назад

@taalas_inc

Фото профиля Udula Abeykoon
Udula Abeykoon8 месяцев назад

what happens when the goats of ece come together. absolute heat🔥

Фото профиля luthira
luthira8 месяцев назад

🤝🤝

Фото профиля Kenny Guo
Kenny Guo8 месяцев назад

double the goats on this proj🐐🐐

Фото профиля luthira
luthira8 месяцев назад

ur the goat twin

Фото профиля Xander Chin
Xander Chin8 месяцев назад

sick project and the animations are fire

Фото профиля luthira
luthira8 месяцев назад

tysm bro

Фото профиля Satvik Garimella
Satvik Garimella8 месяцев назад

@suryasure05 This is 🔥🔥🔥

Фото профиля richa 👩‍💻
richa 👩‍💻8 месяцев назад

🔥🔥🔥 qualcomm stock is going to go up in may

Фото профиля luthira
luthira8 месяцев назад

you already know 📈

Фото профиля Gawtham Senthil
Gawtham Senthil8 месяцев назад

THE hardware guy

Фото профиля luthira
luthira8 месяцев назад

the talker

Фото профиля Nengjia Li
Nengjia Li8 месяцев назад

so goated

Фото профиля luthira
luthira8 месяцев назад

🪿

Фото профиля Angela Woo
Angela Woo8 месяцев назад

let’s goo!!

Фото профиля surya
surya8 месяцев назад

@xgawtham very cool

Фото профиля luthira
luthira8 месяцев назад

@xgawtham appreciate it bro

Фото профиля krupa
krupa8 месяцев назад

This is so fricking cool!!

Фото профиля luthira
luthira8 месяцев назад

thank uuu

Фото профиля Extruder Pro
Extruder Pro8 месяцев назад

That looks really cool 😎 FPGA implementations are next level.

Фото профиля luthira
luthira8 месяцев назад

🙏

Фото профиля evan
evan8 месяцев назад

oh shit this is sick

Фото профиля luthira
luthira8 месяцев назад

thanks evan!

Фото профиля Alex Shibu
Alex Shibu8 месяцев назад

sick!!!

Фото профиля luthira
luthira8 месяцев назад

🙏

Фото профиля saksham
saksham8 месяцев назад

insane!!!!!

Фото профиля luthira
luthira8 месяцев назад

🙌

Фото профиля Krish Chhajer
Krish Chhajer8 месяцев назад

always fun to team up with the one and only @luthiraabeykoon many more to come 🚀

Фото профиля luthira
luthira8 месяцев назад

take it to the moon

Фото профиля The Canaanite
The Canaanite8 месяцев назад

Oh wow, so you are using FPGAs... Amazing

Фото профиля Kaival Shah 🤔
Kaival Shah 🤔8 месяцев назад

Epic stuff!

Фото профиля Brooke Joseph
Brooke Joseph8 месяцев назад

very fun work! I worked at a startup in Sweden and we did very similar research!

Фото профиля luthira
luthira8 месяцев назад

thanks brooke! always nice to run into someone who’s been in the same trenches

Фото профиля Dev Patel
Dev Patel8 месяцев назад

How much different from talaas

Фото профиля KalashB
KalashB8 месяцев назад

hmmmmm sounds a bit too familiar hahhaha

Фото профиля andre --dangerously-skip-permissions
andre --dangerously-skip-permissions8 месяцев назад

extremely based, love seeing uoft winning

Фото профиля luthira
luthira8 месяцев назад

you already know!

Фото профиля Joshua Poddoku
Joshua Poddoku8 месяцев назад

Talos: goat-level work redefining on-chip inference

Фото профиля luthira
luthira8 месяцев назад

🙌🙏

Фото профиля PositivityGenerator
PositivityGenerator8 месяцев назад

Nova is very similar to this and took me a few days... Things are accelerating quickly lol

Фото профиля Anupam Chettimada
Anupam Chettimada8 месяцев назад

super cool!

Фото профиля luthira
luthira8 месяцев назад

🙌

Фото профиля Cliff Lattner
Cliff Lattner8 месяцев назад

Awesome project, DM if you’re interested in an internship working on even realer hardware (ASIC)

Фото профиля ikan laut
ikan laut8 месяцев назад

this is very interesting

Фото профиля ani
ani8 месяцев назад

So cool!! Love the use of FPGA!

Фото профиля Sayak Chowdhury
Sayak Chowdhury8 месяцев назад

that is pretty cool!

Фото профиля Lindsay Rex
Lindsay Rex8 месяцев назад

if you build software with physics and maths as a first class citizen using design by contract and hypothesis testing to enforce i shouldn't be that hard to just output whatever your coding in python or research world straight to SYCL/ intel one API and then you can target any fabric you want.

Фото профиля Furkan Gözükara
Furkan Gözükara8 месяцев назад

How do you manufacture the chips? It must be a lot of iteration

Фото профиля Sebastian Beyer
Sebastian Beyer8 месяцев назад

CNNs are so 2015

Фото профиля Ram
Ram8 месяцев назад

Does it also runs transformer networks?

Похожие видео

The Machine That Learns The Law Behind The Data A very very interesting US Patent US10963540B2 - Physics Informed Learning Machine describes a learning system that does not begin with data alone. It begins with a physical model, usually written as a differential equation (or PDE) dx/dt = f(x,t) A normal Machine Learning model sees scattered data and tries to fit it. A physics-informed learning machine starts with a law. Then it treats the data as evidence that updates what the model believes about the physical system. For this application, I use the patent idea on NASA C-MAPSS Turbofan engine data. The machine watches multivariate telemetry from a degrading engine and infers a hidden health state that is not measured directly. From that posterior belief, it estimates the engine’s remaining useful life. In the main 3D scene, the engine lifetime is turned into a tunnel. The spiral ribbons are real sensor channels evolving over cycle-time. The glowing core is the inferred health state. The surrounding cloud is uncertainty. The orange wall ahead is the predicted failure horizon. So the big picture is: sensor evidence comes in, posterior belief tightens, and the machine moves from uncertainty toward a concrete failure prediction. The inset posteriors make that explicit. The health posterior shows where the model believes the hidden engine condition sits at the current moment, and how sharply it believes it. The RUL posterior shows the same idea for remaining life... early on it is broad, later it shifts left and narrows as the machine becomes more certain about how close failure is. This idea is not limited to engines. The same idea can apply to data centers, CPUs, GPUs, cooling systems, power grids, robotics, batteries, and any machine that produces telemetry while obeying physical constraints. In an age where machine learning runs on massive hardware infrastructure, this kind of model matters: it can turn noisy sensor streams into early warnings before expensive systems fail.

Mathelirium

17,843 просмотров • 6 месяцев назад

After 8+ years on the Tesla Autopilot team and 3 years at Intel, I started Apex Compute to design a new architecture for efficient AI inference. For the past 9 months, we’ve been building our custom inference accelerator. Today we’re releasing Unified Engine v1. Last June we raised our seed round with Maxitech , DeepFin Research, Soma Capital and an incredible group of angel investors. In less than 9 months, we completed our RTL architecture and brought our first pre-silicon prototype to life on FPGA. Our architecture combines systolic array and vector processing in a single compute engine with multiple architectural optimizations, achieving very high FLOPs utilization. A single engine is super lean and it uses less than 90K LUTs and 1 MB Block RAM. It may also be one of the smallest logic-footprint compute engines developed so far. Our Unified Engine v1 supports: -matrix-matrix multiplication (~95% FLOPs utilization) -softmax (~90% FLOPs utilization) -broadcast and element-wise operations -RMSNorm / LayerNorm -block quantization/dequantization (fp4, int4) -multi-engine synchronization and many other operations. We even implemented memory-efficient attention similar to FlashAttention, reaching ~90% FLOP utilization. Full benchmarks and the software stack are available on our GitHub: We have basic compiler written in Python and it supports PyTorch tensors directly to easily test and transfer tensors between the accelerator and host using bf16, fp4 and int4 formats. Our FPGA prototype can already run LLM inference and outperform NVIDIA Jetson Orin Nano, even on a mid-tier FPGA setup (6.4x lower memory bandwidth, 18% slower clock speed at 4.5 Watts). Check the side-by-side comparison video below. Our GitHub includes low-level operator implementations, examples for tiled matrix multiplication, operation chaining, tensor parallelism, attention kernel and a full Gemma 3 1B model implementation. Many more models(Vision Transformers and VLA) are coming soon. Our accelerator IP is AXI-ready for deployment on any AMD(Xilinx) FPGA platform today. Even better, our two-engine prototype runs on an entry-level AMD(Xilinx) FPGA as a PCIe accelerator card. You can purchase it here for $50 to experiment our pre-silicon prototype on your desktop PC or Raspberry Pi 5. We will be releasing hardware bitstream updates as the architecture gets new features. More to come soon! We are expanding our team and looking for compiler engineers and floating-point hardware design engineers. If you're interested, please send me a DM.

Hasan

37,748 просмотров • 7 месяцев назад