Loading video...

Video Failed to Load

Go Home

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 views • 8 months ago •via X (Twitter)

60 Comments

luthira's profile picture
luthira8 months ago

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's profile picture
luthira8 months ago

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's profile picture
luthira8 months ago

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's profile picture
luthira8 months ago

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's profile picture
luthira8 months ago

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's profile picture
luthira8 months ago

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's profile picture
luthira8 months ago

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's profile picture
luthira8 months ago

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's profile picture
luthira8 months ago

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's profile picture
luthira8 months ago

working demo example:

Udula Abeykoon's profile picture
Udula Abeykoon8 months ago

@taalas_inc

Udula Abeykoon's profile picture
Udula Abeykoon8 months ago

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

luthira's profile picture
luthira8 months ago

🤝🤝

Kenny Guo's profile picture
Kenny Guo8 months ago

double the goats on this proj🐐🐐

luthira's profile picture
luthira8 months ago

ur the goat twin

Xander Chin's profile picture
Xander Chin8 months ago

sick project and the animations are fire

luthira's profile picture
luthira8 months ago

tysm bro

Satvik Garimella's profile picture
Satvik Garimella8 months ago

@suryasure05 This is 🔥🔥🔥

richa 👩‍💻's profile picture
richa 👩‍💻8 months ago

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

luthira's profile picture
luthira8 months ago

you already know 📈

Gawtham Senthil's profile picture
Gawtham Senthil8 months ago

THE hardware guy

luthira's profile picture
luthira8 months ago

the talker

Nengjia Li's profile picture
Nengjia Li8 months ago

so goated

luthira's profile picture
luthira8 months ago

🪿

Angela Woo's profile picture
Angela Woo8 months ago

let’s goo!!

surya's profile picture
surya8 months ago

@xgawtham very cool

luthira's profile picture
luthira8 months ago

@xgawtham appreciate it bro

krupa's profile picture
krupa8 months ago

This is so fricking cool!!

luthira's profile picture
luthira8 months ago

thank uuu

Extruder Pro's profile picture
Extruder Pro8 months ago

That looks really cool 😎 FPGA implementations are next level.

luthira's profile picture
luthira8 months ago

🙏

evan's profile picture
evan8 months ago

oh shit this is sick

luthira's profile picture
luthira8 months ago

thanks evan!

Alex Shibu's profile picture
Alex Shibu8 months ago

sick!!!

luthira's profile picture
luthira8 months ago

🙏

saksham's profile picture
saksham8 months ago

insane!!!!!

luthira's profile picture
luthira8 months ago

🙌

Krish Chhajer's profile picture
Krish Chhajer8 months ago

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

luthira's profile picture
luthira8 months ago

take it to the moon

The Canaanite's profile picture
The Canaanite8 months ago

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

Kaival Shah 🤔's profile picture
Kaival Shah 🤔8 months ago

Epic stuff!

Brooke Joseph's profile picture
Brooke Joseph8 months ago

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

luthira's profile picture
luthira8 months ago

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

Dev Patel's profile picture
Dev Patel8 months ago

How much different from talaas

KalashB's profile picture
KalashB8 months ago

hmmmmm sounds a bit too familiar hahhaha

andre --dangerously-skip-permissions's profile picture
andre --dangerously-skip-permissions8 months ago

extremely based, love seeing uoft winning

luthira's profile picture
luthira8 months ago

you already know!

Joshua Poddoku's profile picture
Joshua Poddoku8 months ago

Talos: goat-level work redefining on-chip inference

luthira's profile picture
luthira8 months ago

🙌🙏

PositivityGenerator's profile picture
PositivityGenerator8 months ago

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

Anupam Chettimada's profile picture
Anupam Chettimada8 months ago

super cool!

luthira's profile picture
luthira8 months ago

🙌

Cliff Lattner's profile picture
Cliff Lattner8 months ago

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

ikan laut's profile picture
ikan laut8 months ago

this is very interesting

ani's profile picture
ani8 months ago

So cool!! Love the use of FPGA!

Sayak Chowdhury's profile picture
Sayak Chowdhury8 months ago

that is pretty cool!

Lindsay Rex's profile picture
Lindsay Rex8 months ago

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's profile picture
Furkan Gözükara8 months ago

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

Sebastian Beyer's profile picture
Sebastian Beyer8 months ago

CNNs are so 2015

Ram's profile picture
Ram8 months ago

Does it also runs transformer networks?

Related Videos

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 views • 6 months ago