Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error in last step skyreel i2v workflow:RuntimeError: stack expects a non-empty TensorList #390

Open
TigerHH6866 opened this issue Feb 20, 2025 · 2 comments

Comments

@TigerHH6866
Copy link

the workflow should be right but got error

Image

Error occurred during transfer: Array must not contain infs or NaNs
!!! Exception during processing !!! stack expects a non-empty TensorList
Traceback (most recent call last):
File "/root/autodl-tmp/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 "/root/autodl-tmp/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 "/root/autodl-tmp/ComfyUI/execution.py", line 174, in _map_node_over_list
process_inputs(input_dict, i)
File "/root/autodl-tmp/ComfyUI/execution.py", line 163, in process_inputs
results.append(getattr(obj, func)(**inputs))
File "/root/autodl-tmp/ComfyUI/custom_nodes/comfyui-kjnodes/nodes/image_nodes.py", line 123, in colormatch
out = torch.stack(out, dim=0).to(torch.float32)
RuntimeError: stack expects a non-empty TensorList

@kijai
Copy link
Owner

kijai commented Feb 20, 2025

What torch version are you using? If you connect the decode output directly to the video combine, it's just black right? This would indicate you need to update your pytorch to at least 2.5.0, 2.6.0 is recommended.

@TigerHH6866
Copy link
Author

What torch version are you using? If you connect the decode output directly to the video combine, it's just black right? This would indicate you need to update your pytorch to at least 2.5.0, 2.6.0 is recommended.

ok with 2.5.0+

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants