Instructions to use kandinskylab/Kandinsky-5.0-T2I-Lite-sft-Diffusers with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use kandinskylab/Kandinsky-5.0-T2I-Lite-sft-Diffusers with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("kandinskylab/Kandinsky-5.0-T2I-Lite-sft-Diffusers", dtype=torch.bfloat16, device_map="cuda") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
Update README.md
Browse files
README.md
CHANGED
|
@@ -96,7 +96,7 @@ Kandinsky 5.0 Image Lite:
|
|
| 96 |
|
| 97 |
```python
|
| 98 |
import torch
|
| 99 |
-
from diffusers import Kandinsky5T2IPipeline
|
| 100 |
|
| 101 |
# Load the pipeline
|
| 102 |
model_id = "kandinskylab/Kandinsky-5.0-T2I-Lite-sft-Diffusers"
|
|
|
|
| 96 |
|
| 97 |
```python
|
| 98 |
import torch
|
| 99 |
+
from diffusers import Kandinsky5T2IPipeline # use duffusers fork pip install git+https://github.com/leffff/diffusers
|
| 100 |
|
| 101 |
# Load the pipeline
|
| 102 |
model_id = "kandinskylab/Kandinsky-5.0-T2I-Lite-sft-Diffusers"
|