mirror of
https://git.datalinker.icu/kijai/ComfyUI-CogVideoXWrapper.git
synced 2026-01-23 12:24:23 +08:00
don't break MZ loader for no reason
This commit is contained in:
parent
e1a784d92b
commit
d83f64aa3e
2
nodes.py
2
nodes.py
@ -870,7 +870,7 @@ class CogVideoSampler:
|
||||
base_path = pipeline["base_path"]
|
||||
|
||||
assert "fun" not in base_path.lower(), "'Fun' models not supported in 'CogVideoSampler', use the 'CogVideoXFunSampler'"
|
||||
assert ("I2V" not in pipeline["model_name"] or num_frames == 49 or context_options is not None), "I2V model can only do 49 frames"
|
||||
assert ("I2V" not in pipeline.get("model_name","") or num_frames == 49 or context_options is not None), "I2V model can only do 49 frames"
|
||||
|
||||
device = mm.get_torch_device()
|
||||
offload_device = mm.unet_offload_device()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user