Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Hardware
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

AnticPan
/
Anima-Role-Ref-KV

Image-to-Image
Diffusers
English
Chinese
anima
image-generation
character-reference
comfyui
lora
Model card Files Files and versions
xet
Community
1

Instructions to use AnticPan/Anima-Role-Ref-KV with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use AnticPan/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("AnticPan/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
Anima-Role-Ref-KV
1.06 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 6 commits
AnticPan's picture
AnticPan
Explain reference KV cache in both model cards
259a0dc verified 2 days ago
  • anima_role_ref_kv
    Clean inference package and unify Anima Role Ref KV naming 2 days ago
  • assets
    Restore previous showcase 2 days ago
  • comfy
    Release Anima Role Ref KV v1.0 2 days ago
  • comfyui
    Clean inference package and unify Anima Role Ref KV naming 2 days ago
  • diffusers
    Release Anima Role Ref KV v1.0 2 days ago
  • workflows
    Release Anima Role Ref KV v1.0 2 days ago
  • .gitattributes
    1.58 kB
    Release Anima Role Ref KV v1.0 2 days ago
  • LICENSE-CODE.txt
    11.4 kB
    Release Anima Role Ref KV v1.0 2 days ago
  • LICENSE-MODEL.txt
    17.7 kB
    Release Anima Role Ref KV v1.0 2 days ago
  • NOTICE.txt
    1.63 kB
    Clean inference package and unify Anima Role Ref KV naming 2 days ago
  • README.md
    3.35 kB
    Explain reference KV cache in both model cards 2 days ago
  • README.zh-CN.md
    2.79 kB
    Explain reference KV cache in both model cards 2 days ago
  • infer.py
    1.09 kB
    Clean inference package and unify Anima Role Ref KV naming 2 days ago
  • requirements-diffusers.txt
    192 Bytes
    Release Anima Role Ref KV v1.0 2 days ago