Instructions to use moeadham/stable-diffusion-3.5-large-controlnet-depth-diffusers with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use moeadham/stable-diffusion-3.5-large-controlnet-depth-diffusers with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("moeadham/stable-diffusion-3.5-large-controlnet-depth-diffusers", 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
This is a simple port of stabilityai/stable-diffusion-3.5-large-controlnet-depth for compatibility with the diffusers library.
Check out https://github.com/visibl-ai/sd3.5-controlnets for use.
apt update && apt install git-lfs
pip install diffusers
pip install -U "huggingface_hub[cli]"
git clone https://huggingface.com/moeadham/stable-diffusion-3.5-large-controlnet-depth-diffusers
git clone https://github.com/huggingface/diffusers.git
cd diffusers
python scripts/convert_sd3_controlnet_to_diffusers.py --checkpoint_path "../models/sd3.5_large_controlnet_depth.safetensors" --output_path "../stable-diffusion-3.5-large-controlnet-depth-diffusers"
cd ../stable-diffusion-3.5-large-controlnet-depth-diffusers
huggingface-cli lfs-enable-largefiles .
git lfs track diffusion_pytorch_model.safetensors
git add .
git commit -m "add model"
git push origin main
- Downloads last month
- 1
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐ Ask for provider support