Instructions to use SceneWorks/Sana_1600M_1024px_mlx with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use SceneWorks/Sana_1600M_1024px_mlx with MLX:
# Download the model from the Hub pip install huggingface_hub[hf_xet] hf download SceneWorks/Sana_1600M_1024px_mlx --local-dir Sana_1600M_1024px_mlx
- Sana
How to use SceneWorks/Sana_1600M_1024px_mlx with Sana:
# Load the model and infer image from text import torch from app.sana_pipeline import SanaPipeline from torchvision.utils import save_image sana = SanaPipeline("configs/sana_config/1024ms/Sana_1600M_img1024.yaml") sana.from_pretrained("hf://SceneWorks/Sana_1600M_1024px_mlx") image = sana( prompt='a cyberpunk cat with a neon sign that says "Sana"', height=1024, width=1024, guidance_scale=5.0, pag_guidance_scale=2.0, num_inference_steps=18, ) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- LM Studio
- Atomic Chat
Add q8 quant tier (sc-8489, epic 8506): packed Linear-DiT + Gemma-2 TE, dense DC-AE VAE
Browse files
.gitattributes
CHANGED
|
@@ -35,3 +35,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
text_encoder/tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
| 37 |
q4/text_encoder/tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
text_encoder/tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
| 37 |
q4/text_encoder/tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
| 38 |
+
q8/text_encoder/tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
q8/text_encoder/gemma-2-2b-it.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9cb63f3e9009ce6c7979b080f17b796b68d902e9d215ec90f417d83ce6200e0e
|
| 3 |
+
size 3330999611
|
q8/text_encoder/tokenizer.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3f289bc05132635a8bc7aca7aa21255efd5e18f3710f43e3cdb96bcd41be4922
|
| 3 |
+
size 17525357
|
q8/transformer/diffusion_pytorch_model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9221558c013af495498c282f49df29afe617c5b544fabf960f91b46d1a64002b
|
| 3 |
+
size 2413293898
|
q8/vae/diffusion_pytorch_model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:15a4b09e56d95b768a0ec9da50b702e21d920333fc9b3480d66bb5c7fad9d87f
|
| 3 |
+
size 1249044836
|