You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Cannot copy out of meta tensor; no data! Please use torch.nn.Module.to_empty() instead of torch.nn.Module.to() when moving module from meta to a different device.
File "/home/ubuntu/harsh/ComfyUI/execution.py", line 151, in recursive_execute
output_data, output_ui = get_output_data(obj, input_data_all)
File "/home/ubuntu/harsh/ComfyUI/execution.py", line 81, in get_output_data
return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True)
File "/home/ubuntu/harsh/ComfyUI/execution.py", line 74, in map_node_over_list
results.append(getattr(obj, func)(**slice_dict(input_data_all, i)))
File "/home/ubuntu/harsh/ComfyUI/custom_nodes/ComfyUI-SUPIR/nodes_v2.py", line 571, in condition
SUPIR_model.conditioner.to(device)
File "/home/ubuntu/harsh/ComfyUI/.venv/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1173, in to
return self._apply(convert)
File "/home/ubuntu/harsh/ComfyUI/.venv/lib/python3.10/site-packages/torch/nn/modules/module.py", line 779, in _apply
module._apply(fn)
File "/home/ubuntu/harsh/ComfyUI/.venv/lib/python3.10/site-packages/torch/nn/modules/module.py", line 779, in _apply
module._apply(fn)
File "/home/ubuntu/harsh/ComfyUI/.venv/lib/python3.10/site-packages/torch/nn/modules/module.py", line 779, in _apply
module._apply(fn)
File "/home/ubuntu/harsh/ComfyUI/.venv/lib/python3.10/site-packages/torch/nn/modules/module.py", line 804, in _apply
param_applied = fn(param)
File "/home/ubuntu/harsh/ComfyUI/.venv/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1166, in convert
raise NotImplementedError(
Never encountered any such issue , what is causing this issue ?
The text was updated successfully, but these errors were encountered:
crockrocks
changed the title
Error occurred when executing ImageResize+: 'bool' object has no attribute 'startswith'
Error occurred when executing SUPIR_conditioner:
Jun 6, 2024
I found the problem, I suspect you are having the same issue. The workflow I was using still had the legacy model loader. Switched it to v2 and it works now.
I found the problem, I suspect you are having the same issue. The workflow I was using still had the legacy model loader. Switched it to v2 and it works now.
Cannot copy out of meta tensor; no data! Please use torch.nn.Module.to_empty() instead of torch.nn.Module.to() when moving module from meta to a different device.
File "/home/ubuntu/harsh/ComfyUI/execution.py", line 151, in recursive_execute
output_data, output_ui = get_output_data(obj, input_data_all)
File "/home/ubuntu/harsh/ComfyUI/execution.py", line 81, in get_output_data
return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True)
File "/home/ubuntu/harsh/ComfyUI/execution.py", line 74, in map_node_over_list
results.append(getattr(obj, func)(**slice_dict(input_data_all, i)))
File "/home/ubuntu/harsh/ComfyUI/custom_nodes/ComfyUI-SUPIR/nodes_v2.py", line 571, in condition
SUPIR_model.conditioner.to(device)
File "/home/ubuntu/harsh/ComfyUI/.venv/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1173, in to
return self._apply(convert)
File "/home/ubuntu/harsh/ComfyUI/.venv/lib/python3.10/site-packages/torch/nn/modules/module.py", line 779, in _apply
module._apply(fn)
File "/home/ubuntu/harsh/ComfyUI/.venv/lib/python3.10/site-packages/torch/nn/modules/module.py", line 779, in _apply
module._apply(fn)
File "/home/ubuntu/harsh/ComfyUI/.venv/lib/python3.10/site-packages/torch/nn/modules/module.py", line 779, in _apply
module._apply(fn)
File "/home/ubuntu/harsh/ComfyUI/.venv/lib/python3.10/site-packages/torch/nn/modules/module.py", line 804, in _apply
param_applied = fn(param)
File "/home/ubuntu/harsh/ComfyUI/.venv/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1166, in convert
raise NotImplementedError(
Never encountered any such issue , what is causing this issue ?
The text was updated successfully, but these errors were encountered: