Exception Message: Cannot generate a cpu tensor from a generator of type cuda.
Stack Trace
File "M:\new222_ComfyUI\ComfyUI_windows_portable\ComfyUI\execution.py", line 323, 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 "M:\new222_ComfyUI\ComfyUI_windows_portable\ComfyUI\execution.py", line 198, 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 "M:\new222_ComfyUI\ComfyUI_windows_portable\ComfyUI\execution.py", line 169, in _map_node_over_list
process_inputs(input_dict, i)
File "M:\new222_ComfyUI\ComfyUI_windows_portable\ComfyUI\execution.py", line 158, in process_inputs
results.append(getattr(obj, func)(**inputs))
File "M:\new222_ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI_HelloMeme\meme.py", line 352, in sample
res_frames = pipeline(
File "M:\new222_ComfyUI\ComfyUI_windows_portable\.venv\lib\site-packages\torch\utils\_contextlib.py", line 116, in decorate_context
return func(*args, **kwargs)
File "M:\new222_ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI_HelloMeme\hellomeme\piplines\pipline_hm_video.py", line 251, in __call__
chunk_noise = randn_tensor([batch_size, c, 1, h, w], dtype=prompt_embeds.dtype, generator=generator).to(
File "M:\new222_ComfyUI\ComfyUI_windows_portable\.venv\lib\site-packages\diffusers\utils\torch_utils.py", line 67, in randn_tensor
raise ValueError(f"Cannot generate a {device} tensor from a generator of type {gen_device_type}.")
ComfyUI Error Report
Error Details
Exception Message: Cannot generate a cpu tensor from a generator of type cuda.
Stack Trace