Instructions to use hf-internal-testing/tiny-controlnet with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use hf-internal-testing/tiny-controlnet with Diffusers:
pip install -U diffusers transformers accelerate
from diffusers import ControlNetModel, StableDiffusionControlNetPipeline controlnet = ControlNetModel.from_pretrained("hf-internal-testing/tiny-controlnet") pipe = StableDiffusionControlNetPipeline.from_pretrained( "hf-internal-testing/tiny-stable-diffusion-pipe-no-safety", controlnet=controlnet ) - Notebooks
- Google Colab
- Kaggle
Download diffusion_pytorch_model.safetensors from hf-internal-testing/tiny-controlnet: direct link, hf CLI and curl.
- Browser
- Download file 2.76 MB
-
https://huggingface.co/hf-internal-testing/tiny-controlnet/resolve/refs%2Fpr%2F1/diffusion_pytorch_model.safetensors
- Command line
-
hf download hf://hf-internal-testing/tiny-controlnet@refs/pr/1/diffusion_pytorch_model.safetensors
-
curl -L -o diffusion_pytorch_model.safetensors https://huggingface.co/hf-internal-testing/tiny-controlnet/resolve/refs%2Fpr%2F1/diffusion_pytorch_model.safetensors
2.76 MB
- Xet hash:
- d65f4ae0e1020ae94992681d3a869b43c5b292ea3af0db7054655834f789a88e
- Size of remote file:
- 2.76 MB
- SHA256:
- cbf500742a2342ba322c82e30ac38f73227200954e048610dc51831d4453e519
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.