delagarde

ComfyUI Error

Dec 5th, 2024
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.07 KB | None | 0 0
  1. got prompt
  2. Using xformers attention in VAE
  3. Using xformers attention in VAE
  4. Requested to load FluxClipModel_
  5. Loading 1 new model
  6. loaded completely 0.0 9319.23095703125 True
  7. clip missing: ['text_projection.weight']
  8. Requested to load AutoencodingEngine
  9. Loading 1 new model
  10. loaded completely 0.0 159.87335777282715 True
  11. model weight dtype torch.bfloat16, manual cast: None
  12. model_type FLUX
  13. !!! Exception during processing !!! Error(s) in loading state_dict for Flux:
  14. size mismatch for img_in.weight: copying a param with shape torch.Size([3072, 384]) from checkpoint, the shape in current model is torch.Size([3072, 64]).
  15. Traceback (most recent call last):
  16. File "C:\ai\ComfyUI-Windows-Portable-01\ComfyUI\execution.py", line 323, in execute
  17. 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)
  18. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  19. File "C:\ai\ComfyUI-Windows-Portable-01\ComfyUI\execution.py", line 198, in get_output_data
  20. 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)
  21. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  22. File "C:\ai\ComfyUI-Windows-Portable-01\ComfyUI\execution.py", line 169, in _map_node_over_list
  23. process_inputs(input_dict, i)
  24. File "C:\ai\ComfyUI-Windows-Portable-01\ComfyUI\execution.py", line 158, in process_inputs
  25. results.append(getattr(obj, func)(**inputs))
  26. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  27. File "C:\ai\ComfyUI-Windows-Portable-01\ComfyUI\nodes.py", line 885, in load_unet
  28. model = comfy.sd.load_diffusion_model(unet_path, model_options=model_options)
  29. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  30. File "C:\ai\ComfyUI-Windows-Portable-01\ComfyUI\comfy\sd.py", line 740, in load_diffusion_model
  31. model = load_diffusion_model_state_dict(sd, model_options=model_options)
  32. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  33. File "C:\ai\ComfyUI-Windows-Portable-01\ComfyUI\comfy\sd.py", line 731, in load_diffusion_model_state_dict
  34. model.load_model_weights(new_sd, "")
  35. File "C:\ai\ComfyUI-Windows-Portable-01\ComfyUI\comfy\model_base.py", line 224, in load_model_weights
  36. m, u = self.diffusion_model.load_state_dict(to_load, strict=False)
  37. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  38. File "C:\ai\ComfyUI-Windows-Portable-01\python_embeded\Lib\site-packages\torch\nn\modules\module.py", line 2584, in load_state_dict
  39. raise RuntimeError(
  40. RuntimeError: Error(s) in loading state_dict for Flux:
  41. size mismatch for img_in.weight: copying a param with shape torch.Size([3072, 384]) from checkpoint, the shape in current model is torch.Size([3072, 64]).
  42.  
  43. Prompt executed in 76.85 seconds
Advertisement
Add Comment
Please, Sign In to add comment