wan2.2 ,In the example process, lightx2v keeps reporting an error, and the process will exit directly at the last step
lora key not loaded: diffusion_model.img_emb.proj.0.diff_b lora key not loaded: diffusion_model.img_emb.proj.1.diff_b lora key not loaded: diffusion_model.img_emb.proj.1.lora_down.weight lora key not loaded: diffusion_model.img_emb.proj.1.lora_up.weight lora key not loaded: diffusion_model.img_emb.proj.3.diff_b lora key not loaded: diffusion_model.img_emb.proj.3.lora_down.weight lora key not loaded: diffusion_model.img_emb.proj.3.lora_up.weight lora key not loaded: diffusion_model.img_emb.proj.4.diff lora key not loaded: diffusion_model.img_emb.proj.4.diff_b Using 1053 LoRA weight patches for WanVideo model Could not set recompile_limit: torch._dynamo.config.recompile_limit does not exist timesteps: tensor([999, 975, 941, 888, 799, 615], device='cuda:0') sigmas: tensor([1.0000, 0.9756, 0.9412, 0.8889, 0.8000, 0.6153, 0.0000]) image_cond shape: torch.Size([20, 31, 120, 68]) Seq len: 63240 Sampling 121 frames at 544x960 with 6 steps 100%|████████████████████████████████████████████████████████████████████████████████████| 3/3 [01:06<00:00, 22.26s/it]
D:\ComfyUI-aki-v1.3>pause 请按任意键继续. . .
That's normal and can be ignored, the new model no longer has image embeds and it just complains those can't be loaded.
Why does the last step in ksample cause comfyui to exit entirely?
Why does the last step in ksample cause comfyui to exit entirely?
Generally hard crashes like that are due to running out of RAM.
That's normal and can be ignored, the new model no longer has image embeds and it just complains those can't be loaded.
So that's normal? Also, is it really necessary to use such high weights when using 2.1 wan loras? Like in your example, the lightx2v lora is set to 3 for the high noise/first sampler.
I’m asking because I’m trying to figure out the best settings for some of my other loras.
Example i set the lightx2v weight to 2, then set my other lora to 2 also, the result starts flashing.
i've been testing for few hours, and the results are either the video look static with minimal movement or it flashing.
That's normal and can be ignored, the new model no longer has image embeds and it just complains those can't be loaded.
So that's normal? Also, is it really necessary to use such high weights when using 2.1 wan loras? Like in your example, the lightx2v lora is set to 3 for the high noise/first sampler.
It's completely normal and expected in this case, you can also use the T2V version of the LoRA, I don't know which one is better. I found that only by using really high strength it started following my prompt properly, this is not necessary for the low noise model because it's much closer to the 2.1, in fact you can even use 2.1 models as the low noise model if you like.
The high noise model is just very different and going to be tough to use with old LoRAs.
Wan2.2 Like this should work, compatible with all LoRa versions of Wan 2.1:
(Wan2.2 high noise model) + (Wan2.1 model) + (Wan2.1 Lora)
Thanks for Kijai's great work! I'm also running into RAM shortage issues when using Wan2.2. Given my current computer hardware limitations, using Block Swap like I did with Wan2.1 isn't possible anymore. Would it be possible to use the High Noise and Low Noise models separately in two independent workflows? This could help manage RAM usage and also make it easier to adjust the sampling parameters.
I have 96GB RAM (+ 24 GB VRAM). Using full BF16 UMT5 + I2V FP8 scaled KJ models + merged loras (not unmerged like in workflow example), I see almost 90GB RAM peak usage (system total) if I switch LoRA's so that they need to be reapplied.
I think at one point I crashed OOM too but not sure about this.
For RAM issues main thing to do is disable the non-blocking in the block swap node:
Other than that there isn't that much to do as 2 models currently have to reside in RAM at some point in the workflow, in fp8 that's already 30GB, then add text encoder etc.
I do have text encoder disk cache option so if that's on you can run your prompt and next time (if you dont change prompt) it's automatically loaded from disk and you can even disable the T5 loader.
Thanks