|
|
发表于 2026-4-9 18:00:51
|
显示全部楼层
大佬,求助,请教个问题,执行生成时报错,第一次是提交任务失败,说是加载vae问题,手动选择了pixel_space这个之后解决了,问题1:后面又遇到问题,查资料好像说是vae默认用的wan2.1,不兼容,要用wan2.2,问题2:我下载了wan2.2放在新建的vae目录下,vae加载器选择这个又报错了,好像还是说这个vae加载用的默认就是2.1的,新建vae加载器其实也是2.1的,和wan2.2的模型不兼容,不知道我前面解决的是否正确,所有报错都贴出来了,从最初的报错开始:报错1:
“[14:55:38] [ComfyUI] got prompt
[14:55:38] [ComfyUI] Failed to validate prompt for output 51:
[14:55:38] [ComfyUI] * VAELoader 18:
[14:55:38] [ComfyUI] - Value not in list: vae_name: 'wan_2.1_vae.safetensors' not in ['pixel_space']
[14:55:38] [ComfyUI] Output will be ignored
[14:55:38] [ComfyUI] Failed to validate prompt for output 56:
[14:55:38] [ComfyUI] Output will be ignored
[14:55:38] [ComfyUI] Failed to validate prompt for output 48:
[14:55:38] [ComfyUI] Output will be ignored
[14:55:38] [ComfyUI] invalid prompt: {'type': 'prompt_outputs_failed_validation', 'message': 'Prompt outputs failed validation', 'details': '', 'extra_info': {}}
[14:55:38] [Gradio] Traceback (most recent call last):
[14:55:38] [Gradio] File "C:\AI\ComfyUI_Wan2.2-Dasiwa\deepface\Lib\site-packages\gradio\queueing.py", line 759, in process_events
[14:55:38] [Gradio] response = await route_utils.call_process_api(
[14:55:38] [Gradio] File "C:\AI\ComfyUI_Wan2.2-Dasiwa\deepface\Lib\site-packages\gradio\blocks.py", line 1623, in call_function
[14:55:38] [Gradio] prediction = await anyio.to_thread.run_sync( # type: ignore
[14:55:38] [Gradio] File "C:\AI\ComfyUI_Wan2.2-Dasiwa\deepface\Lib\site-packages\anyio\to_thread.py", line 56, in run_sync
[14:55:38] [Gradio] return await get_async_backend().run_sync_in_worker_thread(
[14:55:38] [Gradio] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[14:55:38] [Gradio] File "C:\AI\ComfyUI_Wan2.2-Dasiwa\deepface\Lib\site-packages\anyio\_backends\_asyncio.py", line 2485, in run_sync_in_worker_thread
[14:55:38] [Gradio] return await future
[14:55:38] [Gradio] ^^^^^^^^^^^^
[14:55:38] [Gradio] File "C:\AI\ComfyUI_Wan2.2-Dasiwa\deepface\Lib\site-packages\anyio\_backends\_asyncio.py", line 976, in run
[14:55:38] [Gradio] result = context.run(func, *args)
[14:55:38] [Gradio] ^^^^^^^^^^^^^^^^^^^^^^^^
[14:55:38] [Gradio] File "C:\AI\ComfyUI_Wan2.2-Dasiwa\deepface\Lib\site-packages\gradio\utils.py", line 915, in wrapper
[14:55:38] [Gradio] response = f(*args, **kwargs)
[14:55:38] [Gradio] ^^^^^^^^^^^^^^^^^^
[14:55:38] [Gradio] File "<frozen app>", line 760, in generate_i2v
[14:55:38] [Gradio] gradio.exceptions.Error: '提交任务失败'
”
报错2:
生成报错,“[15:28:29] [ComfyUI] got prompt
[15:28:29] [ComfyUI] Requested to load PixelspaceConversionVAE
[15:28:29] [ComfyUI] loaded completely 7591.3107421875 1.9073486328125e-06 True
[15:28:30] [ComfyUI] 0 models unloaded.
[15:28:30] [ComfyUI] loaded partially 128.0 127.998046875 0
[15:28:30] [ComfyUI] # 😺dzNodes: LayerStyle -> ImageScaleByAspectRatio V2 Processed 1 image(s).
[15:28:30] [ComfyUI] Initializing block swap: 0%| | 0/40 [00:00<?, ?it/s]
[15:28:30] [ComfyUI] Initializing block swap: 100%|██████████| 40/40 [00:00<00:00, 889.53it/s]
[15:28:30] [ComfyUI] !!! Exception during processing !!! The size of tensor a (81) must match the size of tensor b (16) at non-singleton dimension 1
[15:28:30] [ComfyUI] Traceback (most recent call last):
[15:28:30] [ComfyUI] File "C:\AI\ComfyUI_Wan2.2-Dasiwa\ComfyUI\execution.py", line 498, in execute
[15:28:30] [ComfyUI] output_data, output_ui, has_subgraph, has_pending_tasks = await get_output_data(prompt_id, unique_id, obj, input_data_all, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb, hidden_inputs=hidden_inputs)
[15:28:30] [ComfyUI]
[15:28:30] [ComfyUI] File "C:\AI\ComfyUI_Wan2.2-Dasiwa\ComfyUI\execution.py", line 316, in get_output_data
[15:28:30] [ComfyUI] return_values = await _async_map_node_over_list(prompt_id, unique_id, obj, input_data_all, obj.FUNCTION, allow_interrupt=True, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb, hidden_inputs=hidden_inputs)
[15:28:30] [ComfyUI]
[15:28:30] [ComfyUI]
[15:28:30] [ComfyUI] File "C:\AI\ComfyUI_Wan2.2-Dasiwa\ComfyUI\comfy\latent_formats.py", line 453, in process_in
[15:28:30] [ComfyUI] return (latent - latents_mean) * self.scale_factor / latents_std
[15:28:30] [ComfyUI] ~~~~~~~^~~~~~~~~~~~~~
[15:28:30] [ComfyUI] RuntimeError: The size of tensor a (81) must match the size of tensor b (16) at non-singleton dimension 1
[15:28:30] [ComfyUI] Prompt executed in 1.33 seconds
[15:28:41] [ComfyUI] got prompt
[15:28:41] [ComfyUI] 0 models unloaded.
[15:28:41] [ComfyUI] loaded partially 128.0 127.998046875 0
[15:28:41] [ComfyUI] Initializing block swap: 0%| | 0/40 [00:00<?, ?it/s]
[15:28:42] [ComfyUI] Initializing block swap: 100%|██████████| 40/40 [00:00<00:00, 865.38it/s]
[15:28:42] [ComfyUI] !!! Exception during processing !!! The size of tensor a (81) must match the size of tensor b (16) at non-singleton dimension 1
[15:28:42] [ComfyUI] Traceback (most recent call last):
[15:28:42] [ComfyUI] File "C:\AI\ComfyUI_Wan2.2-Dasiwa\ComfyUI\execution.py", line 498, in execute
[15:28:42] [ComfyUI] output_data, output_ui, has_subgraph, has_pending_tasks = await get_output_data(prompt_id, unique_id, obj, input_data_all, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb, hidden_inputs=hidden_inputs)
[15:28:42] [ComfyUI]
[15:28:42] [ComfyUI] File "C:\AI\ComfyUI_Wan2.2-Dasiwa\ComfyUI\comfy\model_base.py", line 1125, in concat_cond
[15:28:42] [ComfyUI] image[:, i: i + latent_dim] = self.process_latent_in(image[:, i: i + latent_dim])
[15:28:42] [ComfyUI] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[15:28:42] [ComfyUI] File "C:\AI\ComfyUI_Wan2.2-Dasiwa\ComfyUI\comfy\model_base.py", line 317, in process_latent_in
[15:28:42] [ComfyUI] return self.latent_format.process_in(latent)
[15:28:42] [ComfyUI] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[15:28:42] [ComfyUI] File "C:\AI\ComfyUI_Wan2.2-Dasiwa\ComfyUI\comfy\latent_formats.py", line 453, in process_in
[15:28:42] [ComfyUI] return (latent - latents_mean) * self.scale_factor / latents_std
[15:28:42] [ComfyUI] ~~~~~~~^~~~~~~~~~~~~~
[15:28:42] [ComfyUI] RuntimeError: The size of tensor a (81) must match the size of tensor b (16) at non-singleton dimension 1
[15:28:42] [ComfyUI] Prompt executed in 0.43 seconds
”
报错3:
我在vae加载器中选择pixel_space还是报错,选择wan2.2vae可以,但是又出现以下报错“[15:46:05] [ComfyUI] got prompt
[15:46:35] [ComfyUI] Attempting to release mmap (468)
[15:46:46] [ComfyUI] !!! Exception during processing !!! The size of tensor a (81) must match the size of tensor b (16) at non-singleton dimension 1
[15:46:46] [ComfyUI] Traceback (most recent call last):
[15:46:46] [ComfyUI] File "C:\AI\ComfyUI_Wan2.2-Dasiwa\ComfyUI\execution.py", line 498, in execute
[15:46:46] [ComfyUI] output_data, output_ui, has_subgraph, has_pending_tasks = await get_output_data(prompt_id, unique_id, obj, input_data_all, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb, hidden_inputs=hidden_inputs)
[15:46:46] [ComfyUI]
[15:46:46] [ComfyUI] File "C:\AI\ComfyUI_Wan2.2-Dasiwa\ComfyUI\execution.py", line 316, in get_output_data
[15:46:46] [ComfyUI] return_values = await _async_map_node_over_list(prompt_id, unique_id, obj, input_data_all, obj.FUNCTION, allow_interrupt=True, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb, hidden_inputs=hidden_inputs)
[15:46:46] [ComfyUI]
[15:46:46] [ComfyUI] ~~~~~~~^~~~~~~~~~~~~~
[15:46:46] [ComfyUI] RuntimeError: The size of tensor a (81) must match the size of tensor b (16) at non-singleton dimension 1
[15:46:46] [ComfyUI] Prompt executed in 40.68 seconds
[15:47:09] [ComfyUI] got prompt
[15:47:09] [ComfyUI] Using pytorch attention in VAE
[15:47:09] [ComfyUI] Using pytorch attention in VAE
[15:47:10] [ComfyUI] VAE load device: cuda:0, offload device: cpu, dtype: torch.bfloat16
[15:47:11] [ComfyUI] Requested to load WanVAE
[15:47:11] [ComfyUI] loaded completely 4394.8172607421875 1344.0869674682617 True
[15:47:19] [ComfyUI] 0 models unloaded.
[15:47:20] [ComfyUI] !!! Exception during processing !!! Given groups=1, weight of size [5120, 36, 1, 2, 2], expected input[1, 64, 21, 128, 72] to have 36 channels, but got 64 channels instead
[15:47:20] [ComfyUI] Traceback (most recent call last):
[15:47:20] [ComfyUI] File "C:\AI\ComfyUI_Wan2.2-Dasiwa\ComfyUI\execution.py", line 498, in execute
[15:47:20] [ComfyUI] output_data, output_ui, has_subgraph, has_pending_tasks = await get_output_data(prompt_id, unique_id, obj, input_data_all, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb, hidden_inputs=hidden_inputs)
[15:47:20] [ComfyUI]
[15:47:20] [ComfyUI] File "C:\AI\ComfyUI_Wan2.2-Dasiwa\ComfyUI\comfy\ops.py", line 172, in _conv_forward
[15:47:20] [ComfyUI] return super()._conv_forward(input, weight, bias, *args, **kwargs)
[15:47:20] [ComfyUI] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[15:47:20] [ComfyUI] File "C:\AI\ComfyUI_Wan2.2-Dasiwa\deepface\Lib\site-packages\torch\nn\modules\conv.py", line 720, in _conv_forward
[15:47:20] [ComfyUI] return F.conv3d(
[15:47:20] [ComfyUI] ^^^^^^^^^
[15:47:20] [ComfyUI] RuntimeError: Given groups=1, weight of size [5120, 36, 1, 2, 2], expected input[1, 64, 21, 128, 72] to have 36 channels, but got 64 channels instead
[15:47:20] [ComfyUI] Prompt executed in 11.51 seconds
”
|
|