Instructions to use Kwai-Kolors/Kolors-diffusers with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Kwai-Kolors/Kolors-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("Kwai-Kolors/Kolors-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
Upload t2i.png
Browse files- .gitattributes +1 -0
- imgs/t2i.png +3 -0
.gitattributes
CHANGED
|
@@ -35,3 +35,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
tokenizer/vocab.txt filter=lfs diff=lfs merge=lfs -text
|
| 37 |
imgs/head_final3.png filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
tokenizer/vocab.txt filter=lfs diff=lfs merge=lfs -text
|
| 37 |
imgs/head_final3.png filter=lfs diff=lfs merge=lfs -text
|
| 38 |
+
imgs/t2i.png filter=lfs diff=lfs merge=lfs -text
|
imgs/t2i.png
ADDED
|
Git LFS Details
|