This video locally installs NVIDIA SANA which is a text-to-image framework that can efficiently generate images up to 4096 × 4096 resolution.
Code:
git clone https://github.com/NVlabs/Sana.git && cd Sana
./environment_setup.sh sana
pip install huggingface_hub
huggingface-cli login <Get read token from huggingface.co also accept access to
google gemma model on huggingface>
# official online demo
DEMO_PORT=15432 \
python3 app/app_sana.py \
--share \
--config=configs/sana_config/1024ms/Sana_1600M_img1024.yaml \
--model_path=hf://Efficient-Large-Model/Sana_1600M_1024px/checkpoints/Sana_1600M_1024px.pth \
--image_size=1024
Access demo at http://localhost:15432
No comments:
Post a Comment