Text-to-Video
Diffusers
Safetensors
WanPipeline

demo能不能亲自跑一下,成功了再发出来?

#8
by cloudyu - opened

按照你们的demo,总是报错,浪费时间。

Multiple distributions found for package optimum. Picked distribution: optimum
[2025-08-27 10:25:14,730] INFO: Generation job args: Namespace(task='i2v-A14B', size='1280*720', frame_num=81, ckpt_dir='../Wan2.2-T2V-A14B', offload_model=True, ulysses_size=1, t5_fsdp=False, t5_cpu=False, dit_fsdp=False, save_file=None, prompt="Summer beach vacation style, a white cat wearing sunglasses sits on a surfboard. The fluffy-furred feline gazes directly at the camera with a relaxed expression. Blurred beach scenery forms the background featuring crystal-clear waters, distant green hills, and a blue sky dotted with white clouds. The cat assumes a naturally relaxed posture, as if savoring the sea breeze and warm sunlight. A close-up shot highlights the feline's intricate details and the refreshing atmosphere of the seaside.", use_prompt_extend=False, prompt_extend_method='local_qwen', prompt_extend_model=None, prompt_extend_target_lang='zh', base_seed=8871004446999546671, image='examples/i2v_input.JPG', sample_solver='unipc', sample_steps=40, sample_shift=5.0, sample_guide_scale=(3.5, 3.5), convert_model_dtype=True, num_clip=None, audio=None, pose_video=None, start_from_ref=False, infer_frames=80)
[2025-08-27 10:25:14,730] INFO: Generation model config: {'name': 'Config: Wan I2V A14B', 't5_model': 'umt5_xxl', 't5_dtype': torch.bfloat16, 'text_len': 512, 'param_dtype': torch.bfloat16, 'num_train_timesteps': 1000, 'sample_fps': 16, 'sample_neg_prompt': '色调艳丽,过曝,静态,细节模糊不清,字幕,风格,作品,画作,画面,静止,整体发灰,最差质量,低质量,JPEG压缩残留,丑陋的,残缺的,多余的手指,画得不好的手部,画得不好的脸部,畸形的,毁容的,形态畸形的肢体,手指融合,静止不动的画面,杂乱的背景,三条腿,背景人很多,倒着走', 'frame_num': 81, 't5_checkpoint': 'models_t5_umt5-xxl-enc-bf16.pth', 't5_tokenizer': 'google/umt5-xxl', 'vae_checkpoint': 'Wan2.1_VAE.pth', 'vae_stride': (4, 8, 8), 'patch_size': (1, 2, 2), 'dim': 5120, 'ffn_dim': 13824, 'freq_dim': 256, 'num_heads': 40, 'num_layers': 40, 'window_size': (-1, -1), 'qk_norm': True, 'cross_attn_norm': True, 'eps': 1e-06, 'low_noise_checkpoint': 'low_noise_model', 'high_noise_checkpoint': 'high_noise_model', 'sample_shift': 5.0, 'sample_steps': 40, 'boundary': 0.9, 'sample_guide_scale': (3.5, 3.5)}
[2025-08-27 10:25:14,730] INFO: Input prompt: Summer beach vacation style, a white cat wearing sunglasses sits on a surfboard. The fluffy-furred feline gazes directly at the camera with a relaxed expression. Blurred beach scenery forms the background featuring crystal-clear waters, distant green hills, and a blue sky dotted with white clouds. The cat assumes a naturally relaxed posture, as if savoring the sea breeze and warm sunlight. A close-up shot highlights the feline's intricate details and the refreshing atmosphere of the seaside.
[2025-08-27 10:25:14,744] INFO: Input image: examples/i2v_input.JPG
[2025-08-27 10:25:14,744] INFO: Creating WanI2V pipeline.
[2025-08-27 10:26:10,506] INFO: loading ../Wan2.2-T2V-A14B/models_t5_umt5-xxl-enc-bf16.pth
[2025-08-27 10:26:48,428] INFO: loading ../Wan2.2-T2V-A14B/Wan2.1_VAE.pth
[2025-08-27 10:26:56,240] INFO: Creating WanModel from ../Wan2.2-T2V-A14B

FileNotFoundError: ../Wan2.2-T2V-A14B/low_noise_model does not appear to have a file named ../Wan2.2-T2V-A14B/low_noise_model/diffusion_pytorch_model-00001-of-00006.safetensors which is required according to the checkpoint index.

command:
python3.10 generate.py --task i2v-A14B --size 1280*720 --ckpt_dir ../Wan2.2-T2V-A14B --offload_model True --convert_model_dtype --image examples/i2v_input.JPG --prompt "Summer beach vacation style, a white cat wearing sunglasses sits on a surfboard. The fluffy-furred feline gazes directly at the camera with a relaxed expression. Blurred beach scenery forms the background featuring crystal-clear waters, distant green hills, and a blue sky dotted with white clouds. The cat assumes a naturally relaxed posture, as if savoring the sea breeze and warm sunlight. A close-up shot highlights the feline's intricate details and the refreshing atmosphere of the seaside."

命名的一点也不规范。
ls -alh ../Wan2.2-T2V-A14B/low_noise_model/
total 27G
drwxrwxr-x 2 cloudyu cloudyu 4.0K 8月 27 09:03 .
drwxrwxr-x 6 cloudyu cloudyu 4.0K 8月 27 09:14 ..
-rw-rw-r-- 1 cloudyu cloudyu 250 8月 27 07:45 config.json
-rw-rw-r-- 1 cloudyu cloudyu 4.7G 8月 27 08:34 diffusion_pytorch_model-00001-of-00006-bf16.safetensors
-rw-rw-r-- 1 cloudyu cloudyu 4.7G 8月 27 08:41 diffusion_pytorch_model-00002-of-00006-bf16.safetensors
-rw-rw-r-- 1 cloudyu cloudyu 4.7G 8月 27 08:35 diffusion_pytorch_model-00003-of-00006-bf16.safetensors
-rw-rw-r-- 1 cloudyu cloudyu 4.6G 8月 27 08:31 diffusion_pytorch_model-00004-of-00006-bf16.safetensors
-rw-rw-r-- 1 cloudyu cloudyu 4.6G 8月 27 09:03 diffusion_pytorch_model-00005-of-00006-bf16.safetensors
-rw-rw-r-- 1 cloudyu cloudyu 3.6G 8月 27 08:59 diffusion_pytorch_model-00006-of-00006-bf16.safetensors

Sign up or log in to comment