Instructions to use KuOnoda/merged-ati-anisora with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use KuOnoda/merged-ati-anisora with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline from diffusers.utils import load_image, export_to_video # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("KuOnoda/merged-ati-anisora", dtype=torch.bfloat16, device_map="cuda") pipe.to("cuda") prompt = "A man with short gray hair plays a red electric guitar." image = load_image( "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/diffusers/guitar-man.png" ) output = pipe(image=image, prompt=prompt).frames[0] export_to_video(output, "output.mp4") - Notebooks
- Google Colab
- Kaggle
Summary
This repo contains merged model weights created by applying task arithmetic to three upstream checkpoints:
[ \text{Merged} = \text{ATI} + \lambda \cdot (\text{AniSora} - \text{Wan2.1-Base}) ]
The merge used (\lambda = 1.0) in the source script.
Files in this folder
- Diffusion weights (sharded):
diffusion_pytorch_model-00001-of-00007.safetensors…diffusion_pytorch_model-00007-of-00007.safetensors - Index:
diffusion_pytorch_model.safetensors.index.json - Model config:
config.json - Aux weights / tokenizers:
Wan2.1_VAE.pthmodels_t5_umt5-xxl-enc-bf16.pthmodels_clip_open-clip-xlm-roberta-large-vit-huge-14.pth- tokenizers under
google/umt5-xxl/andxlm-roberta-large/
Upstream sources (reference)
- Wan2.1 base:
Wan-AI/Wan2.1-I2V-14B-480P - ATI:
bytedance-research/ATI - AniSora V3.1:
IndexTeam/Index-anisora(folderV3.1)
How the merge was produced (reference)
In this workspace, the merge code lives at:
Index-anisora/anisoraV3/Merge-ATI-AniSora/merge_models.py- It merges per key using safetensors and outputs to this
Merged-Model/directory.
Important behavior: the script only applies arithmetic when a key exists in both Base and AniSora; otherwise it keeps the ATI tensor for that key.
- Downloads last month
- -
Model tree for KuOnoda/merged-ati-anisora
Base model
IndexTeam/Index-anisora