Instructions to use diffusers/controlnet-zoe-depth-sdxl-1.0 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use diffusers/controlnet-zoe-depth-sdxl-1.0 with Diffusers:
pip install -U diffusers transformers accelerate
from diffusers import ControlNetModel, StableDiffusionControlNetPipeline controlnet = ControlNetModel.from_pretrained("diffusers/controlnet-zoe-depth-sdxl-1.0") pipe = StableDiffusionControlNetPipeline.from_pretrained( "stabilityai/stable-diffusion-xl-base-1.0", controlnet=controlnet ) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
Fix cpu offloading
#5
by tolgacangoz - opened
Thanks a lot! These look correct to me and will save the additional moves from cpu -> cuda, and then back to cpu due to offloading. Will wait for @sayakpaul to review once as well
tolgacangoz changed pull request title from Fix cpu offload to Fix cpu offloading
a-r-r-o-w changed pull request status to merged
Thanks for merging!