kijai / ComfyUI-MimicMotionWrapper

Apache License 2.0
337 stars 27 forks source link

Error occurred when executing DownloadAndLoadMimicMotionModel: #69

Open Elekez opened 3 months ago

Elekez commented 3 months ago

Error occurred when executing DownloadAndLoadMimicMotionModel:

Using low_cpu_mem_usage=True or a device_map requires Accelerate: pip install accelerate

File "G:\SwarmUI\StableSwarmUI\dlbackend\comfy\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 "G:\SwarmUI\StableSwarmUI\dlbackend\comfy\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 "G:\SwarmUI\StableSwarmUI\dlbackend\comfy\ComfyUI\execution.py", line 168, in _map_node_over_list process_inputs(input_dict, i) File "G:\SwarmUI\StableSwarmUI\dlbackend\comfy\ComfyUI\execution.py", line 157, in process_inputs results.append(getattr(obj, func)(**inputs)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "G:\SwarmUI\StableSwarmUI\dlbackend\comfy\ComfyUI\custom_nodes\ComfyUI-MimicMotionWrapper\nodes.py", line 134, in loadmodel self.image_encoder = CLIPVisionModelWithProjection.from_pretrained(svd_path, subfolder="image_encoder", variant="fp16", low_cpu_mem_usage=True).to(dtype).to(device).eval() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "G:\SwarmUI\StableSwarmUI\dlbackend\comfy\python_embeded\Lib\site-packages\transformers\modeling_utils.py", line 3199, in from_pretrained raise ImportError(