Instructions to use Yakonrus/SDXL_Controlnet_Tile_Realistic_v2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Yakonrus/SDXL_Controlnet_Tile_Realistic_v2 with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("Yakonrus/SDXL_Controlnet_Tile_Realistic_v2", 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 README.md
Browse files
README.md
CHANGED
|
@@ -1,3 +1,17 @@
|
|
| 1 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2 |
license: openrail
|
| 3 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
+
library_name: diffusers
|
| 3 |
+
pipeline_tag: image-feature-extraction
|
| 4 |
+
tags:
|
| 5 |
+
- Controlnet
|
| 6 |
+
- Tile
|
| 7 |
+
- stable diffustion
|
| 8 |
license: openrail
|
| 9 |
---
|
| 10 |
+
|
| 11 |
+
This is just a renamed copy of the original controlnet https://huggingface.co/TTPlanet/TTPLanet_SDXL_Controlnet_Tile_Realistic (V2) that works out of the box with diffusers in fp16 mode.
|
| 12 |
+
|
| 13 |
+
```py
|
| 14 |
+
controlnet = ControlNetModel.from_pretrained(
|
| 15 |
+
"Yakonrus/SDXL_Controlnet_Tile_Realistic_v2", torch_dtype=torch.float16, variant="fp16"
|
| 16 |
+
)
|
| 17 |
+
```
|