Instructions to use AiArtLab/sdxs-1b with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use AiArtLab/sdxs-1b with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("AiArtLab/sdxs-1b", dtype=torch.bfloat16, device_map="cuda") prompt = "sdxs-1b" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
File size: 1,940 Bytes
c607323 a3e8f8d c607323 4ec1b32 c76a3e2 c607323 b2dc238 c607323 0b6ba40 | 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 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 | ---
license: apache-2.0
pipeline_tag: text-to-image
datasets:
- CaptionEmporium/midjourney-niji-1m-llavanext
---
# Simple Diffusion XS
*XS Size, Excess Quality*
At AiArtLab, we strive to create a free, compact and fast model that can be trained on consumer graphics cards.
- Model: 0.8b parameters [stable-diffusion unet](https://huggingface.co/CompVis/stable-diffusion-v1-4)
- Text encoder: [LongCLIP with 248 tokens](https://huggingface.co/zer0int/CLIP-KO-LITE-TypoAttack-Attn-Dropout-ViT-L-14)
- VAE: 16x16ch, Simple VAE

### Example
```
import torch
from diffusers import DiffusionPipeline
device = "cuda" if torch.cuda.is_available() else "cpu"
dtype = torch.float16 if torch.cuda.is_available() else torch.float32
pipe_id = "AiArtLab/sdxs-08b"
pipe = DiffusionPipeline.from_pretrained(
pipe_id,
torch_dtype=dtype,
trust_remote_code=True
).to(device)
prompt = "girl, smiling, red eyes, blue hair, white shirt"
negative_prompt="low quality, bad quality"
image = pipe(
prompt=prompt,
negative_prompt = negative_prompt,
).images[0]
image.show(image)
```
### Model Limitations:
- Limited concept coverage due to the small dataset (1kk).
## Acknowledgments
- **[Stan](https://t.me/Stangle)** — Key investor. Thank you for believing in us when others called it madness.
- **Captainsaturnus**
- **Love. Death. Transformers.**
- **TOPAPEC**
## Datasets
- **[CaptionEmporium](https://huggingface.co/CaptionEmporium)**
## Donations
Please contact with us if you may provide some GPU's or money on training
DOGE: DEw2DR8C7BnF8GgcrfTzUjSnGkuMeJhg83
BTC: 3JHv9Hb8kEW8zMAccdgCdZGfrHeMhH1rpN
## Contacts
[recoilme](https://t.me/recoilme) *prefered way
mail at aiartlab.org (slow response)
## Citation
```bibtex
@misc{sdxs,
title={Simple Diffusion XS},
author={recoilme with help of AiArtLab Team},
url={https://huggingface.co/AiArtLab/sdxs-08b},
year={2026}
}
``` |