city96 / ComfyUI_ExtraModels

Support for miscellaneous image models. Currently supports: DiT, PixArt, HunYuanDiT, MiaoBi, and a few VAEs.
Apache License 2.0
337 stars 31 forks source link

Optimisation issues regarding pixart-alpha #8

Open klossm opened 6 months ago

klossm commented 6 months ago

I saw the optimisation article about pixart-alpha in this link and tried that optimisation script, My graphics card is 1070ti ,Memory is 16G and it runs perfectly fine, hopefully this article will be helpful for ComfyUI_ExtraModels

https://www.felixsanz.dev/articles/pixart-a-with-less-than-8gb-vram

Here's another related article on optimisation ideas, not sure if that helps https://github.com/seruva19/kubin/discussions/166

city96 commented 6 months ago

Thanks, I'll look into it when I get the time. A lot of the memory management stuff is done by ComfyUI, so those parts might not be entirely applicable.