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
readme
Browse files
README.md
CHANGED
|
@@ -43,7 +43,7 @@ At AiArtLab, we strive to create a free, compact and fast model that can be trai
|
|
| 43 |
|
| 44 |
### Text 2 image
|
| 45 |
|
| 46 |
-
```
|
| 47 |
#!pip install -U torch torchvision
|
| 48 |
#!pip install -U diffusers accelerate transformers
|
| 49 |
|
|
@@ -106,7 +106,7 @@ Development Note: We have not provided direct comparisons with other popular ups
|
|
| 106 |
|
| 107 |
### upscale code example
|
| 108 |
|
| 109 |
-
```
|
| 110 |
import torch
|
| 111 |
import numpy as np
|
| 112 |
|
|
|
|
| 43 |
|
| 44 |
### Text 2 image
|
| 45 |
|
| 46 |
+
```python
|
| 47 |
#!pip install -U torch torchvision
|
| 48 |
#!pip install -U diffusers accelerate transformers
|
| 49 |
|
|
|
|
| 106 |
|
| 107 |
### upscale code example
|
| 108 |
|
| 109 |
+
```python
|
| 110 |
import torch
|
| 111 |
import numpy as np
|
| 112 |
|