DEV Community

Cover image for It is now possible to generate 16 Megapixel (4096x4096) raw images with SANA 4K model using under 8GB VRAM and more
Furkan Gözükara
Furkan Gözükara

Posted on

2 1 1 1 1

It is now possible to generate 16 Megapixel (4096x4096) raw images with SANA 4K model using under 8GB VRAM and more

Installers : https://www.patreon.com/posts/from-nvidia-labs-116474081

New 4K Tutorial Video : https://youtu.be/GjENQfHF4W8

  • Now the APP will use Diffusers Pipeline and it has huge VRAM optimizations

  • You need to reinstall

  • The models will be downloaded into your Hugging Face cache folder when you first time generate something

  • How to Get Installation Logs and How to Change Hugging Face Cache Folder

  • Please make a fresh install

  • When you enable all 4 optimizations the VRAM usages are like below

  • Make sure shared VRAM is enabled because initial loading of the model need more VRAM

  • Enable VAE Tiling + Enable VAE Slicing + Enable Model CPU Offload +

  • Enable Sequential CPU Offload

  • 1K (1024x1024) : 4 GB GPUs

  • 2K (2048x2048) : 6 GB GPUs

  • 4K (4096x4096) : 8 GB GPUs

  • Still in any case may work on your GPU test it

  • Just Enable VAE Tiling + Enable Model CPU Offload works great in many cases

Reinvent your career. Join DEV.

It takes one minute and is worth it for your career.

Get started

Top comments (0)

Heroku

Build apps, not infrastructure.

Dealing with servers, hardware, and infrastructure can take up your valuable time. Discover the benefits of Heroku, the PaaS of choice for developers since 2007.

Visit Site

👋 Kindness is contagious

Dive into an ocean of knowledge with this thought-provoking post, revered deeply within the supportive DEV Community. Developers of all levels are welcome to join and enhance our collective intelligence.

Saying a simple "thank you" can brighten someone's day. Share your gratitude in the comments below!

On DEV, sharing ideas eases our path and fortifies our community connections. Found this helpful? Sending a quick thanks to the author can be profoundly valued.

Okay