Instructions to use hf-internal-testing/tiny-sdxl-modular with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use hf-internal-testing/tiny-sdxl-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-sdxl-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
Update modular_model_index.json
Browse files- modular_model_index.json +2 -2
modular_model_index.json
CHANGED
|
@@ -6,9 +6,9 @@
|
|
| 6 |
null,
|
| 7 |
null,
|
| 8 |
{
|
| 9 |
-
"repo": "hf-internal-testing/tiny-
|
| 10 |
"revision": null,
|
| 11 |
-
"subfolder":
|
| 12 |
"type_hint": [
|
| 13 |
"diffusers",
|
| 14 |
"ControlNetModel"
|
|
|
|
| 6 |
null,
|
| 7 |
null,
|
| 8 |
{
|
| 9 |
+
"repo": "hf-internal-testing/tiny-sdxl-modular",
|
| 10 |
"revision": null,
|
| 11 |
+
"subfolder": "controlnet",
|
| 12 |
"type_hint": [
|
| 13 |
"diffusers",
|
| 14 |
"ControlNetModel"
|