News for hackers. Stuff that matters.
Re:From Deep Learning Foundations to Stable Diffusion (Part 2) by jph00 on Wednesday April 05, 2023 @02:42AM (#35450227)
Yes, after we create something from scratch, we then see how to use implementations from libraries such as PyTorch. For basic operations like convolution, whilst we do create a GPU-accelerated version, it's not as fast as PyTorch/cudnn's highly-optimised version, so we use the PyTorch implementation for the rest of the course, rather than our handmade version.

So that means that nothing is mysterious, since we know how it's all made, but we also see where and how to use existing libraries as appropriate.

In practice, during the course we end up using PyTorch for stuff like gradients, matrix multiplication, and convolutions, and our own implementations for a lot of the stuff that's at a higher level than that (e.g. we use our own ResNet, U-net, etc.)

Re:From Deep Learning Foundations to Stable Diffusion (Part 2) by detrites on Wednesday April 05, 2023 @02:44AM (#35450245)
Amazing, that's exactly what I've been looking for and what I'm sure many here will appreciate. Thank you!
Re:From Deep Learning Foundations to Stable Diffusion (Part 2) by psychoslave on Wednesday April 05, 2023 @03:42AM (#35450677)
Wow, you are really fulfilling the promise of a pragmatic approach. Awesome!
Re:From Deep Learning Foundations to Stable Diffusion (Part 2) by matsemann on Wednesday April 05, 2023 @03:46AM (#35450712)
Ah, I've been waiting for this, looking forward to going through it!

While I appreciate your top-down approach and buy your arguments for doing it this way in previous courses, I also like this new bottom-up where one really learns what lies beneath.

Re:From Deep Learning Foundations to Stable Diffusion (Part 2) by noob_eng on Wednesday April 05, 2023 @04:42AM (#35451147)
Something of this sort is also done by Andrej Karpathy in his Zero to Hero Series:https://karpathy.ai/zero-to-hero.html