Instructions to use hf-internal-testing/tiny-qwenimage-edit-modular with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use hf-internal-testing/tiny-qwenimage-edit-modular with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("hf-internal-testing/tiny-qwenimage-edit-modular", 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
Record QwenImageEditModularPipeline / QwenImageEditAutoBlocks for this Edit checkpoint
Browse files- modular_model_index.json +3 -3
modular_model_index.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
| 1 |
{
|
| 2 |
-
"_blocks_class_name": "
|
| 3 |
-
"_class_name": "
|
| 4 |
"_diffusers_version": "0.36.0.dev0",
|
| 5 |
"processor": [
|
| 6 |
"transformers",
|
|
@@ -74,4 +74,4 @@
|
|
| 74 |
"variant": null
|
| 75 |
}
|
| 76 |
]
|
| 77 |
-
}
|
|
|
|
| 1 |
{
|
| 2 |
+
"_blocks_class_name": "QwenImageEditAutoBlocks",
|
| 3 |
+
"_class_name": "QwenImageEditModularPipeline",
|
| 4 |
"_diffusers_version": "0.36.0.dev0",
|
| 5 |
"processor": [
|
| 6 |
"transformers",
|
|
|
|
| 74 |
"variant": null
|
| 75 |
}
|
| 76 |
]
|
| 77 |
+
}
|