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

- Xet hash:
- b9ada5f2982361a5228822baafb7a39e14607105f7892cde8790b4e344025ab6
- Size of remote file:
- 104 kB
- SHA256:
- 006ffd46c709b73f48da335dd20746638f665f058c1f8ea7e7b04ecc7719a808
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.