--- title: SANA emoji: 🖼 colorFrom: blue colorTo: indigo sdk: gradio sdk_version: 4.44.0 app_file: app.py pinned: false license: apache-2.0 short_description: Nvidia Sana --- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference # Links * [GitHub NVlabs/Sana](https://github.com/NVlabs/Sana) * [Arxiv - Sana: Efficient High-Resolution Image Synthesis with Linear Diffusion Transformer](https://arxiv.org/abs/2410.10629) # Depending * PyTorch version: 2.4.0+cu121 * Google gemma-2b-it - text_encoder * skd_version: 4.44.0 # ChangeLogs * Enabling API endpoint --> Updated this document: sdk_version 4.44.0 * Increased img_num, default width and height * Reduced safety check (<0.75) * Got an error of app.norm_ip() function --> Made clone * Got an error of device --> Fixing app_pipeline.py --> patched gemma-2 forwarding * Got an error from Gemma --> HF_TOKEN was implemented * Got an error from app_sana.py default arguments * Location error of app_sana.py etc in app dir # Ported by [Gen Mariendorf](https://huggingface.co/gen6scp)