Text-to-Image
Diffusers
Safetensors
Chinese
English
StableDiffusionXLPipeline
stable-diffusion
kolors
Instructions to use Kwai-Kolors/Kolors-Inpainting with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Kwai-Kolors/Kolors-Inpainting 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-Inpainting", 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
Upload folder using huggingface_hub
Browse files
unet/config.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
{
|
| 2 |
"_class_name": "UNet2DConditionModel",
|
| 3 |
"_diffusers_version": "0.21.0.dev0",
|
| 4 |
-
"_name_or_path": "/mmu-vcg/wujunqiang/models/
|
| 5 |
"act_fn": "silu",
|
| 6 |
"addition_embed_type": "text_time",
|
| 7 |
"addition_embed_type_num_heads": 64,
|
|
|
|
| 1 |
{
|
| 2 |
"_class_name": "UNet2DConditionModel",
|
| 3 |
"_diffusers_version": "0.21.0.dev0",
|
| 4 |
+
"_name_or_path": "/mmu-vcg/wujunqiang/models/2_inpaint_sdxl_v4_controlNet_v0_1kw_inout_c9_norm_align_1024_v2_conti/checkpoint-18000/unet",
|
| 5 |
"act_fn": "silu",
|
| 6 |
"addition_embed_type": "text_time",
|
| 7 |
"addition_embed_type_num_heads": 64,
|
unet/diffusion_pytorch_model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 5159169040
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:235db024626d7291e5d8af6776e8f49fa719c90221da9a54b553bb746101a787
|
| 3 |
size 5159169040
|