Instructions to use digitalbrain79/sdxl-lightning-4step-controlnet-coreml-6bits-compiled with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use digitalbrain79/sdxl-lightning-4step-controlnet-coreml-6bits-compiled with Diffusers:
pip install -U diffusers transformers accelerate
from diffusers import ControlNetModel, StableDiffusionControlNetPipeline controlnet = ControlNetModel.from_pretrained("digitalbrain79/sdxl-lightning-4step-controlnet-coreml-6bits-compiled") pipe = StableDiffusionControlNetPipeline.from_pretrained( "fill-in-base-model", controlnet=controlnet ) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
Download vae_decoder/config.json from digitalbrain79/sdxl-lightning-4step-controlnet-coreml-6bits-compiled: direct link, hf CLI and curl.
- Browser
- Download file 609 Bytes
-
https://huggingface.co/digitalbrain79/sdxl-lightning-4step-controlnet-coreml-6bits-compiled/resolve/main/vae_decoder/config.json
- Command line
-
hf download hf://digitalbrain79/sdxl-lightning-4step-controlnet-coreml-6bits-compiled/vae_decoder/config.json
-
curl -L -o config.json https://huggingface.co/digitalbrain79/sdxl-lightning-4step-controlnet-coreml-6bits-compiled/resolve/main/vae_decoder/config.json
609 Bytes
| { | |
| "_class_name": "AutoencoderKL", | |
| "_diffusers_version": "0.19.0.dev0", | |
| "act_fn": "silu", | |
| "block_out_channels": [ | |
| 128, | |
| 256, | |
| 512, | |
| 512 | |
| ], | |
| "down_block_types": [ | |
| "DownEncoderBlock2D", | |
| "DownEncoderBlock2D", | |
| "DownEncoderBlock2D", | |
| "DownEncoderBlock2D" | |
| ], | |
| "force_upcast": false, | |
| "in_channels": 3, | |
| "latent_channels": 4, | |
| "layers_per_block": 2, | |
| "norm_num_groups": 32, | |
| "out_channels": 3, | |
| "sample_size": 1024, | |
| "scaling_factor": 0.13025, | |
| "up_block_types": [ | |
| "UpDecoderBlock2D", | |
| "UpDecoderBlock2D", | |
| "UpDecoderBlock2D", | |
| "UpDecoderBlock2D" | |
| ] | |
| } | |