Closed sdk401 closed 7 months ago
Maybe the timm version changed? That's where the patch embed bit is from. You could try up/downgrading that package.
python -s -m pip install timm==0.6.13
Thanks a lot, that fixed everything! Must be some other node messing with the packages when installing.
Just loaded the workflow which worked before and got the error from the PixArtCheckpointLoader node:
Error occurred when executing PixArtCheckpointLoader:
PatchEmbed.init() got an unexpected keyword argument 'bias'
File "C:_sd-win\ComfyUI_new\ComfyUI\execution.py", line 151, in recursive_execute output_data, output_ui = get_output_data(obj, input_data_all) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:_sd-win\ComfyUI_new\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 "C:_sd-win\ComfyUI_new\ComfyUI\execution.py", line 74, in map_node_over_list results.append(getattr(obj, func)(slice_dict(input_data_all, i))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:_sd-win\ComfyUI_new\ComfyUI\custom_nodes\ComfyUI_ExtraModels\PixArt\nodes.py", line 29, in load_checkpoint model = load_pixart( ^^^^^^^^^^^^ File "C:_sd-win\ComfyUI_new\ComfyUI\custom_nodes\ComfyUI_ExtraModels\PixArt\loader.py", line 87, in load_pixart model.diffusion_model = PixArtMS(model_conf.unet_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:_sd-win\ComfyUI_new\ComfyUI\custom_nodes\ComfyUI_ExtraModels\PixArt\models\PixArtMS.py", line 109, in init super().init( File "C:_sd-win\ComfyUI_new\ComfyUI\custom_nodes\ComfyUI_ExtraModels\PixArt\models\PixArt.py", line 90, in init self.x_embedder = PatchEmbed(input_size, patch_size, in_channels, hidden_size, bias=True) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Tried reinstalling the nodes, restarting comfy, rebooting - still the same. Maybe there is a solution before I try to reinstall comfy from scratch?