正在加载视频...

视频加载失败

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 个月前