What is the correct way to install custom ComfyUI nodes using Stability Matrix?
I have just started exploring Stability Matrix as a way for my students to quickly install Automatic1111, ComfyUI, etc. So far, the experience has been fantastic.
I am able to install the ControlNets models from Hugging Face using the tab model browser and I can load them in ComfyUI with the nodes However, I do not know how to properly install custom nodes, such as preprocessors. Should I just follow the instructions in https://github.com/Fannovel16/comfyui_controlnet_aux to install the nodes to the folder ...\StabilityMatrix\Data\Packages\ComfyUI\custom_nodes?
Maybe we should have added a teaching tip but there is a builtin extensions manager for ComfyUI, accessible like this:
Then just search for the node you want and install :)
@ionite34 this seems to be working well for ComfyUI so far. Nevertheless, it did not work for A111. Please, check #493.
For one of my students, ComfyUI would crash when she was running the depth estimator:
Error occurred when executing DepthAnythingPreprocessor: [Errno 2] No such file or directory: 'C:\\Users\\Abigail Panneck\\AppData\\Roaming\\StabilityMatrix\\Packages\\ComfyUI\\custom_nodes\\comfyui_controlnet_aux\\ckpts\\LiheYoung/Depth-Anything\\cache\\spaces--LiheYoung--Depth-Anything\\blobs\\6c6a383e33e51c5fdfbf31e7ebcda943973a9e6a1cbef1564afe58d7f2e8fe63.incomplete' File "C:\Users\Abigail Panneck\AppData\Roaming\StabilityMatrix\Packages\ComfyUI\execution.py", line 152, in recursive_execute output_data, output_ui = get_output_data(obj, input_data_all) File "C:\Users\Abigail Panneck\AppData\Roaming\StabilityMatrix\Packages\ComfyUI\execution.py", line 82, in get_output_data return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True) File "C:\Users\Abigail Panneck\AppData\Roaming\StabilityMatrix\Packages\ComfyUI\execution.py", line 75, in map_node_over_list results.append(getattr(obj, func)(**slice_dict(input_data_all, i))) File "C:\Users\Abigail Panneck\AppData\Roaming\StabilityMatrix\Packages\ComfyUI\custom_nodes\comfyui_controlnet_aux\node_wrappers\depth_anything.py", line 19, in execute model = DepthAnythingDetector.from_pretrained(filename=ckpt_name).to(model_management.get_torch_device()) File "C:\Users\Abigail Panneck\AppData\Roaming\StabilityMatrix\Packages\ComfyUI\custom_nodes\comfyui_controlnet_aux\src\controlnet_aux\depth_anything\__init__.py", line 40, in from_pretrained model_path = custom_hf_download(pretrained_model_or_path, filename, subfolder="checkpoints", repo_type="space") File "C:\Users\Abigail Panneck\AppData\Roaming\StabilityMatrix\Packages\ComfyUI\custom_nodes\comfyui_controlnet_aux\src\controlnet_aux\util.py", line 297, in custom_hf_download model_path = hf_hub_download(repo_id=pretrained_model_or_path, File "C:\Users\Abigail Panneck\AppData\Roaming\StabilityMatrix\Packages\ComfyUI\venv\lib\site-packages\huggingface_hub\utils\_validators.py", line 118, in _inner_fn return fn(*args, **kwargs) File "C:\Users\Abigail Panneck\AppData\Roaming\StabilityMatrix\Packages\ComfyUI\venv\lib\site-packages\huggingface_hub\file_download.py", line 1480, in hf_hub_download with temp_file_manager() as temp_file: File "contextlib.py", line 135, in __enter__ File "C:\Users\Abigail Panneck\AppData\Roaming\StabilityMatrix\Packages\ComfyUI\venv\lib\site-packages\huggingface_hub\file_download.py", line 1464, in _resumable_file_manager with open(incomplete_path, "ab") as f:
Close
This issue is stale because it has been open 30 days with no activity. Remove the stale label or comment, else this will be closed in 5 days.
This issue was closed because it has been stale for 5 days with no activity.