Instructions to use YiYiXu/modular-diffdiff-0704 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use YiYiXu/modular-diffdiff-0704 with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("YiYiXu/modular-diffdiff-0704", 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 StableDiffusionXLModularPipeline
Browse files- modular_model_index.json +4 -3
modular_model_index.json
CHANGED
|
@@ -1,6 +1,7 @@
|
|
| 1 |
{
|
|
|
|
| 2 |
"_class_name": "StableDiffusionXLModularPipeline",
|
| 3 |
-
"_diffusers_version": "0.
|
| 4 |
"controlnet": [
|
| 5 |
null,
|
| 6 |
null,
|
|
@@ -16,8 +17,8 @@
|
|
| 16 |
}
|
| 17 |
],
|
| 18 |
"feature_extractor": [
|
| 19 |
-
|
| 20 |
-
|
| 21 |
{
|
| 22 |
"repo": null,
|
| 23 |
"revision": null,
|
|
|
|
| 1 |
{
|
| 2 |
+
"_blocks_class_name": "DiffDiffBlocks",
|
| 3 |
"_class_name": "StableDiffusionXLModularPipeline",
|
| 4 |
+
"_diffusers_version": "0.35.0.dev0",
|
| 5 |
"controlnet": [
|
| 6 |
null,
|
| 7 |
null,
|
|
|
|
| 17 |
}
|
| 18 |
],
|
| 19 |
"feature_extractor": [
|
| 20 |
+
null,
|
| 21 |
+
null,
|
| 22 |
{
|
| 23 |
"repo": null,
|
| 24 |
"revision": null,
|