Replies: 1 comment 1 reply
-
Use hf-mirror (see in README.md) to download model when you cannot access to hf directly. By the way, this error should be reported to ComfyUI repo. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
Thanks for creating this project, but unfortunately it doesn't work. I just installed your git on comfyui but when I want to run I get this error:
Error occurred when executing Instant ID Sampler:
We couldn't connect to 'https://huggingface.co' to load this model, couldn't find it in the cached files and it looks like /home/nice/cu/ComfyUI/custom_nodes/ComfyUI-InstantID/./checkpoints/ControlNetModel is not the path to a directory containing a config.json file.
Checkout your internet connection or see how to run the library in offline mode at 'https://huggingface.co/docs/diffusers/installation#offline-mode'.
File "/home/nice/cu/ComfyUI/execution.py", line 155, in recursive_execute
output_data, output_ui = get_output_data(obj, input_data_all)
File "/home/nice/cu/ComfyUI/execution.py", line 85, in get_output_data
return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True)
File "/home/nice/cu/ComfyUI/execution.py", line 78, in map_node_over_list
results.append(getattr(obj, func)(**slice_dict(input_data_all, i)))
File "/home/nice/cu/ComfyUI/custom_nodes/ComfyUI-InstantID/nodes.py", line 69, in sample
self.controlnet = ControlNetModel.from_pretrained(controlnet_path, torch_dtype=torch.float16, use_safetensors=True)
File "/home/nice/cu/ComfyUI/venv/lib/python3.10/site-packages/huggingface_hub/utils/_validators.py", line 118, in _inner_fn
return fn(*args, **kwargs)
File "/home/nice/cu/ComfyUI/venv/lib/python3.10/site-packages/diffusers/models/modeling_utils.py", line 712, in from_pretrained
config, unused_kwargs, commit_hash = cls.load_config(
File "/home/nice/cu/ComfyUI/venv/lib/python3.10/site-packages/huggingface_hub/utils/_validators.py", line 118, in _inner_fn
return fn(*args, **kwargs)
File "/home/nice/cu/ComfyUI/venv/lib/python3.10/site-packages/diffusers/configuration_utils.py", line 411, in load_config
raise EnvironmentError(
Beta Was this translation helpful? Give feedback.
All reactions