Break down for me memory usage during inference in Stable Diffusion models (XL ideally).…
- User
Break down for me memory usage during inference in Stable Diffusion models (XL ideally). If you don't remember the paper, here's the basic description of hyperparameters:
of UNet params 2.6B
Transformer blocks [0, 2, 10] Channel mult. [1, 2, 4] Text encoder CLIP ViT-L & OpenCLIP ViT-bigG Context dim. 2048 Pooled text emb. OpenCLIP ViT-bigG
I want to use 2 GPUs, so they would need to share activations after each layer. They're just connected to the motherboard, and one of them is only PCIE 3.0 x1, which is about 1 GB/sec throughput. I'm worried how much it would bottleneck the compute.
- Assistant