Instructions to use wsl448/yarn_art_falqon_sana_block_int8_svd_lr2e-4 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use wsl448/yarn_art_falqon_sana_block_int8_svd_lr2e-4 with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("wsl448/yarn_art_falqon_sana_block_int8_svd_lr2e-4", dtype=torch.bfloat16, device_map="cuda") prompt = "a puppy in a pond, yarn art style" image = pipe(prompt).images[0] - Sana
How to use wsl448/yarn_art_falqon_sana_block_int8_svd_lr2e-4 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://wsl448/yarn_art_falqon_sana_block_int8_svd_lr2e-4") 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
- Draw Things
- DiffusionBee
| base_model: Efficient-Large-Model/Sana_1600M_1024px_diffusers | |
| library_name: diffusers | |
| license: other | |
| instance_prompt: a puppy, yarn art style | |
| widget: | |
| - text: a puppy in a pond, yarn art style | |
| output: | |
| url: image_0.png | |
| - text: a puppy in a pond, yarn art style | |
| output: | |
| url: image_1.png | |
| - text: a puppy in a pond, yarn art style | |
| output: | |
| url: image_2.png | |
| - text: a puppy in a pond, yarn art style | |
| output: | |
| url: image_3.png | |
| tags: | |
| - text-to-image | |
| - diffusers-training | |
| - diffusers | |
| - falqon | |
| - sana | |
| - sana-diffusers | |
| <!-- This model card has been generated automatically according to the information the training script had access to. You | |
| should probably proofread and complete it, then remove this comment. --> | |
| # Sana DreamBooth FALQON - wsl448/yarn_art_falqon_sana_block_int8_svd_lr2e-4 | |
| <Gallery /> | |
| ## Model description | |
| These are wsl448/yarn_art_falqon_sana_block_int8_svd_lr2e-4 DreamBooth FALQON weights for Efficient-Large-Model/Sana_1600M_1024px_diffusers. | |
| The weights were trained using [DreamBooth](https://dreambooth.github.io/) with FALQON | |
| (FP8-Accelerated LoRA with Quantization) for efficient fine-tuning. | |
| ## Trigger words | |
| You should use `a puppy, yarn art style` to trigger the image generation. | |
| ## License | |
| Please check the base model license. | |
| ## Intended uses & limitations | |
| #### How to use | |
| ```python | |
| # TODO: add an example code snippet for running this diffusion pipeline | |
| ``` | |
| #### Limitations and bias | |
| [TODO: provide examples of latent issues and potential remediations] | |
| ## Training details | |
| [TODO: describe the data used to train the model] |