Instructions to use xinsir/controlnet-union-sdxl-1.0 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use xinsir/controlnet-union-sdxl-1.0 with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("xinsir/controlnet-union-sdxl-1.0", 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
Feedback on the use of the 'controlnet-union-sdxl-1.0' model
#19
by 10086a - opened
An unknown error occurred while using the controlnet-union-sdxml-1.0 model. I downloaded the 'diffusion_pytorch_model_promax' model and put it in the 'controlnet' model library. However, when used in 'comfyui', an error appears as shown in the figure.I hope someone can answer this question, I would be very grateful to you
I double that. The same error in latest comfyui with promax.safetensor, non-promax is working just fine.
I downloaded the promax and renamed to exactly this: controlnet-union-sdxl-1.safetensors, it is working for me
