Spaces:
Runtime error
Runtime error
# Copyright 2024-2025 The Alibaba Wan Team Authors. All rights reserved. | |
import torch | |
from easydict import EasyDict | |
from .shared_config import wan_shared_cfg | |
#------------------------ Wan I2V 14B ------------------------# | |
i2v_14B = EasyDict(__name__='Config: Wan I2V 14B') | |
i2v_14B.update(wan_shared_cfg) | |
i2v_14B.sample_neg_prompt = "镜头晃动," + i2v_14B.sample_neg_prompt | |
i2v_14B.t5_checkpoint = 'models_t5_umt5-xxl-enc-bf16.pth' | |
i2v_14B.t5_tokenizer = 'google/umt5-xxl' | |
# clip | |
i2v_14B.clip_model = 'clip_xlm_roberta_vit_h_14' | |
i2v_14B.clip_dtype = torch.float16 | |
i2v_14B.clip_checkpoint = 'models_clip_open-clip-xlm-roberta-large-vit-huge-14.pth' | |
i2v_14B.clip_tokenizer = 'xlm-roberta-large' | |
# vae | |
i2v_14B.vae_checkpoint = 'Wan2.1_VAE.pth' | |
i2v_14B.vae_stride = (4, 8, 8) | |