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
File size: 1,595 Bytes
6ac2d32 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 | ---
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] |