Instructions to use AliceKJ/BLOCKv0.5 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use AliceKJ/BLOCKv0.5 with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline from diffusers.utils import load_image # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("AliceKJ/BLOCKv0.5", dtype=torch.bfloat16, device_map="cuda") prompt = "Turn this cat into a dog" input_image = load_image("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/diffusers/cat.png") image = pipe(image=input_image, prompt=prompt).images[0] - Notebooks
- Google Colab
- Kaggle
Download examples/ex1_skin.png from AliceKJ/BLOCKv0.5: direct link, hf CLI and curl.
- Browser
- Download file 276 kB
-
https://huggingface.co/AliceKJ/BLOCKv0.5/resolve/main/examples/ex1_skin.png
- Command line
-
hf download hf://AliceKJ/BLOCKv0.5/examples/ex1_skin.png
-
curl -L -o ex1_skin.png https://huggingface.co/AliceKJ/BLOCKv0.5/resolve/main/examples/ex1_skin.png
276 kB

- Xet hash:
- 58cee5b405ecb959d113accf50b8bd50e73ad5080c8329e181c79fdea4c88a40
- Size of remote file:
- 276 kB
- SHA256:
- 3d1fde8948037e1c62e3c66b3e61fb03458f05833aa84ed79650ea8e46b75b68
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.