Instructions to use Jarm01/Anima-Role-Ref-KV with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Jarm01/Anima-Role-Ref-KV 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("circlestone-labs/Anima", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("Jarm01/Anima-Role-Ref-KV") 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
- Local Apps Settings
- Draw Things
Download requirements-diffusers.txt from Jarm01/Anima-Role-Ref-KV: direct link, hf CLI and curl.
- Browser
- Download file 192 Bytes
-
https://huggingface.co/Jarm01/Anima-Role-Ref-KV/resolve/main/requirements-diffusers.txt
- Command line
-
hf download hf://Jarm01/Anima-Role-Ref-KV/requirements-diffusers.txt
-
curl -L -o requirements-diffusers.txt https://huggingface.co/Jarm01/Anima-Role-Ref-KV/resolve/main/requirements-diffusers.txt
192 Bytes
| torch>=2.6 | |
| diffusers @ git+https://github.com/huggingface/diffusers.git@5ff8e59ff9fe81c6e2df4fb4c6ea0d97a5df5ab2 | |
| transformers==5.17.0 | |
| accelerate>=1 | |
| safetensors>=0.5 | |
| sentencepiece | |
| Pillow | |
| numpy | |