ComfyUI-WanVideoWrapper icon indicating copy to clipboard operation
ComfyUI-WanVideoWrapper copied to clipboard

WanVideoSampler- No module named 'sageattention''NoneType' object is not callable

Open ych411521894 opened this issue 1 year ago • 2 comments

Traceback (most recent call last): File "/home/featurize/work/app/comfyui/ComfyUI/execution.py", line 327, in execute output_data, output_ui, has_subgraph = get_output_data(obj, input_data_all, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/featurize/work/app/comfyui/ComfyUI/execution.py", line 202, in get_output_data return_values = _map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/featurize/work/app/comfyui/ComfyUI/execution.py", line 174, in _map_node_over_list process_inputs(input_dict, i) File "/home/featurize/work/app/comfyui/ComfyUI/execution.py", line 163, in process_inputs results.append(getattr(obj, func)(**inputs)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/featurize/work/app/comfyui/ComfyUI/custom_nodes/ComfyUI-WanVideoWrapper/nodes.py", line 853, in process noise_pred_cond = transformer( ^^^^^^^^^^^^ File "/home/featurize/work/app/comfyui/env/lib/python3.11/site-packages/torch/nn/modules/module.py", line 1739, in _wrapped_call_impl # fmt: off

File "/home/featurize/work/app/comfyui/env/lib/python3.11/site-packages/torch/nn/modules/module.py", line 1750, in _call_impl called_always_called_hooks = set() ^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/featurize/work/app/comfyui/ComfyUI/custom_nodes/ComfyUI-WanVideoWrapper/wanvideo/modules/model.py", line 593, in forward x = block(x, **kwargs) ^^^^^^^^^^^^^^^^^^ File "/home/featurize/work/app/comfyui/env/lib/python3.11/site-packages/torch/nn/modules/module.py", line 1739, in _wrapped_call_impl # fmt: off

File "/home/featurize/work/app/comfyui/env/lib/python3.11/site-packages/torch/nn/modules/module.py", line 1750, in _call_impl called_always_called_hooks = set() ^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/featurize/work/app/comfyui/ComfyUI/custom_nodes/ComfyUI-WanVideoWrapper/wanvideo/modules/model.py", line 307, in forward y = self.self_attn( ^^^^^^^^^^^^^^^ File "/home/featurize/work/app/comfyui/env/lib/python3.11/site-packages/torch/nn/modules/module.py", line 1739, in _wrapped_call_impl # fmt: off

File "/home/featurize/work/app/comfyui/env/lib/python3.11/site-packages/torch/nn/modules/module.py", line 1750, in _call_impl called_always_called_hooks = set() ^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/featurize/work/app/comfyui/ComfyUI/custom_nodes/ComfyUI-WanVideoWrapper/wanvideo/modules/model.py", line 150, in forward x = attention( ^^^^^^^^^^ File "/home/featurize/work/app/comfyui/ComfyUI/custom_nodes/ComfyUI-WanVideoWrapper/wanvideo/modules/attention.py", line 197, in attention out = sageattn_func( ^^^^^^^^^^^^^^ TypeError: 'NoneType' object is not callable start "not sageattention" pip install sageattention -i https://pypi.tuna.tsinghua.edu.cn/simple --no-cache-dir pip install torch==2.5.0 torchvision==0.20.0 torchaudio==2.5.0 -i https://pypi.tuna.tsinghua.edu.cn/simple --no-cache-dir after show this

ych411521894 avatar Feb 26 '25 03:02 ych411521894

https://github.com/kijai/ComfyUI-WanVideoWrapper/issues/10

Slymiw avatar Feb 26 '25 03:02 Slymiw

重启下好像解决了

ych411521894 avatar Feb 26 '25 08:02 ych411521894