jtydhr88 / ComfyUI-Unique3D

ComfyUI Unique3D is custom nodes that running AiuniAI/Unique3D into ComfyUI
Apache License 2.0
192 stars 13 forks source link

Error occurred when executing Unique3DLoadPipeline: Cannot load model runwayml/stable-diffusion-v1-5: model is not cached locally and an error occurred while trying to fetch metadata from the Hub. Please check out the root cause in the stacktrace above. #31

Open hongchenfengfan8888 opened 2 months ago

hongchenfengfan8888 commented 2 months ago

Error occurred when executing Unique3DLoadPipeline:

Cannot load model runwayml/stable-diffusion-v1-5: model is not cached locally and an error occurred while trying to fetch metadata from the Hub. Please check out the root cause in the stacktrace above.

File "H:\AI\ComfyUI_windows_3D\ComfyUI\execution.py", line 317, in execute 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) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "H:\AI\ComfyUI_windows_3D\ComfyUI\execution.py", line 192, in get_output_data 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) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "H:\AI\ComfyUI_windows_3D\ComfyUI\execution.py", line 169, in _map_node_over_list process_inputs(input_dict, i) File "H:\AI\ComfyUI_windows_3D\ComfyUI\execution.py", line 158, in process_inputs results.append(getattr(obj, func)(inputs)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "H:\AI\ComfyUI_windows_3D\ComfyUI\custom_nodes\ComfyUI-Unique3D\run.py", line 68, in run pipe = load_common_sd15_pipe( ^^^^^^^^^^^^^^^^^^^^^^ File "H:\AI\ComfyUI_windows_3D\ComfyUI\custom_nodes\ComfyUI-Unique3D\scripts\sd_model_zoo.py", line 90, in load_common_sd15_pipe components = load_base_model_components(base_model=base_model, torch_dtype=torch_dtype) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "H:\AI\ComfyUI_windows_3D\ComfyUI\custom_nodes\ComfyUI-Unique3D\scripts\sd_model_zoo.py", line 33, in wrapper return func(args, kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "H:\AI\ComfyUI_windows_3D\ComfyUI\custom_nodes\ComfyUI-Unique3D\scripts\sd_model_zoo.py", line 55, in load_base_model_components pipe: StableDiffusionPipeline = model_from_ckpt_or_pretrained( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "H:\AI\ComfyUI_windows_3D\ComfyUI\custom_nodes\ComfyUI-Unique3D\scripts\sd_model_zoo.py", line 44, in model_from_ckpt_or_pretrained pipe = model_cls.from_pretrained(ckpt_or_pretrained, torch_dtype=torch_dtype, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "H:\AI\ComfyUI_windows_3D\python_embeded\Lib\site-packages\huggingface_hub\utils_validators.py", line 114, in _inner_fn return fn(args, kwargs) ^^^^^^^^^^^^^^^^^^^ File "H:\AI\ComfyUI_windows_3D\python_embeded\Lib\site-packages\diffusers\pipelines\pipeline_utils.py", line 699, in from_pretrained cached_folder = cls.download( ^^^^^^^^^^^^^ File "H:\AI\ComfyUI_windows_3D\python_embeded\Lib\site-packages\huggingface_hub\utils_validators.py", line 114, in _inner_fn return fn(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^ File "H:\AI\ComfyUI_windows_3D\python_embeded\Lib\site-packages\diffusers\pipelines\pipeline_utils.py", line 1536, in download raise EnvironmentError(

cibirii commented 2 months ago

Same problem, I guess it is because Runwayml run away? runwayml/stable-diffusion-v1-5 does not exist any more.

cibirii commented 2 months ago

Same problem, I guess it is because Runwayml run away? runwayml/stable-diffusion-v1-5 does not exist any more.

Solved the problem by replacing "runwayml/stable-diffusion-v1-5" with "botp/stable-diffusion-v1-5" in below 4 files:

app/all_models.py run.py scripts/sd_model_zoo.py custum_3d_diffusion/custum_modules/unifield_processor.py

MichaelHouseKeeper commented 2 months ago

Same problem, I guess it is because Runwayml run away? runwayml/stable-diffusion-v1-5 does not exist any more.

Solved the problem by replacing "runwayml/stable-diffusion-v1-5" with "botp/stable-diffusion-v1-5" in below 4 files:

app/all_models.py run.py scripts/sd_model_zoo.py custum_3d_diffusion/custum_modules/unifield_processor.py

HI, Where can I get these 4 files? Where are these files I set locally?