Skip to content

Error occurred when executing DownloadInstanceDiffusionModels: invalid load key, '`'. #16

@Licia-123

Description

@Licia-123

Error occurred when executing DownloadInstanceDiffusionModels:

invalid load key, '`'.

File "/workspace/ComfyUI/execution.py", line 316, 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 "/workspace/ComfyUI/execution.py", line 191, 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 "/workspace/ComfyUI/execution.py", line 168, in _map_node_over_list
process_inputs(input_dict, i)
File "/workspace/ComfyUI/execution.py", line 157, in process_inputs
results.append(getattr(obj, func)(**inputs))
File "/workspace/ComfyUI/custom_nodes/ComfyUI-InstanceDiffusion/nodes/download_and_load_models.py", line 62, in load_model
fusers_checkpoint = comfy.utils.load_torch_file(fusers_file, safe_load=True)
File "/workspace/ComfyUI/comfy/utils.py", line 43, in load_torch_file
pl_sd = torch.load(ckpt, map_location=device, pickle_module=comfy.checkpoint_pickle)
File "/workspace/environments/python/comfyui/lib/python3.10/site-packages/ultralytics/utils/patches.py", line 86, in torch_load
return _torch_load(*args, **kwargs)
File "/workspace/environments/python/comfyui/lib/python3.10/site-packages/torch/serialization.py", line 1040, in load
return _legacy_load(opened_file, map_location, pickle_module, **pickle_load_args)
File "/workspace/environments/python/comfyui/lib/python3.10/site-packages/torch/serialization.py", line 1262, in _legacy_load
magic_number = pickle_module.load(f, **pickle_load_args)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions