Live data from Hacker News

Making deep learning go brrrr from first principles (2022)

horace.io

71–72 of 72 posts

Re: Making deep learning go brrrr from first principles (2022)

#71
post #63
post #44

I feel like there is no portable advice for performance. A torch model exported as onnx is a different model. That onnx model run using onnxruntime with cuda ep is a different model than the one run with TRT ep. And even among the same runtime, depending on the target hardware and the memory available during tuning, the model behaves differently. It is a humongous mess

That's interesting as I was considering GGUF --> ONNX conversions (via Olive), but if this creates unknown distortions in the effectiveness and stability, it might be a dead-end idea.

Just to clarify: I mean VRAM, RAM and runtime performance, not the numerical outputs (even though those also vary to some degree, haha)

Re: Making deep learning go brrrr from first principles (2022)

#72

Deep learning is just glorified linear algebra. Master the progression: Feed-forward CNN RNN LSTM Attention. You don't even need a GPU to understand the climax; Karpathy’s llama2.c implements a full transformer inference engine in just ~300 lines of C using SIMD pragmas for CPU execution.

So you created a new account to blatantly plagiarize another comment from this same page? What's even going on here?

I just saw this. Hilarious
Post reply on HN