Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Sana 600M load #388

Merged
merged 2 commits into from
Dec 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion sana/sana_1600M/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ model_metadata:
"num_inference_steps": 18,
"seed": 4096,
}
model_name: sana
model_name: Sana 1600M
python_version: py311
requirements:
- git+https://github.com/NVlabs/Sana.git@d7945026d8d85008aca1d1e6db5717a1069f5c84
Expand Down
2 changes: 1 addition & 1 deletion sana/sana_600M/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ model_metadata:
"num_inference_steps": 18,
"seed": 4096,
}
model_name: sana
model_name: Sana 600M
python_version: py311
requirements:
- git+https://github.com/NVlabs/Sana.git@d7945026d8d85008aca1d1e6db5717a1069f5c84
Expand Down
2 changes: 1 addition & 1 deletion sana/sana_600M/model/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def load(self):
)
logging.info("loading sana model from hf checkpoint")
self.sana.from_pretrained(
"hf://Efficient-Large-Model/Sana_1600M_1024px/checkpoints/Sana_1600M_1024px.pth"
"hf://Efficient-Large-Model/Sana_600M_1024px/checkpoints/Sana_600M_1024px_MultiLing.pth"
)
logging.info("all done loading models")
try:
Expand Down
Loading