Hacker News new | ask | show | jobs
by eapriv 367 days ago
I find it hilarious that “from scratch” now somehow means “in PyTorch”.
3 comments

If any "from scratch" post doesn't start with linking to a Primitive Technology video, I'm closing the tab
Unless the author was raised by chimps I'm out
Not fusing heavier elements from hydrogen? I’m out.
Pytorch is a pretty basic building block when you get to some degree of model complexity. It wouldn't really be interesting to implement autograd or some other things pytorch provides imo when the goal is to show a reimplantation of something as "higher" level as SD. It's similar to how I don't mind it when someone doesn't reimplement an OS, or a JavaScript engine when writing a web app from scratch.

And there's been a recent surge in abstractions over pytorch, and even standalone packages for models that you are just expected to import and use as an API (which are very useful, don't get me wrong!). So it's nice to see an implementation that doesn't have 10 different dependencies that each abstract over something pytorch does.

> It wouldn't really be interesting

Andrej Karpathy did exactly that, and I think it’s quite interesting.

I agree, great series of videos, but there's a dependent clause:

> ...when the goal is to show a reimplantation of something as "higher" level as SD.

Implementing autograd is interesting, but it's not directly in service to our main subject (Stable Diffusion) and would be a major yak shave. Comparable in complexity to the original project.

Yeah. Should have done it in assembly.