Re:Stable Diffusion in pure C/C++
by brucethemoose2 on Saturday August 19, 2023 @10:45AM
(#37189327)
> Has the whole thing been all about memory bandwidth all along
Yeah, sort of.
LLMs like llama at a batch size of 1 are hilariously bandwidth bound.
Stable Diffusion less so. Its still bandwidth heavy on GPUs, but compute is much more of a bottleneck.
In addition to compute the GPU architecture is one that somewhat colocates working memory alongside compute. Units have local memories that sync with global memory. Is that a big part of why GPUs are so good for this?