ComfyUI-I2VGenXL icon indicating copy to clipboard operation
ComfyUI-I2VGenXL copied to clipboard

opencv-python and accelerate are needed, but no in the requirements.txt

Open davyzhang opened this issue 1 year ago • 1 comments

pip install opencv-python pip install accelerate

davyzhang avatar Feb 07 '24 01:02 davyzhang

seems so, I got this after running the simple workflow. I'll try installing accelerate.

Error occurred when executing I2VGenXL_ModelLoader_Zho:

`enable_model_cpu_offload` requires `accelerate v0.17.0` or higher.

File "H:\AI\pinokio\api\comfyui.git\app\execution.py", line 152, in recursive_execute
output_data, output_ui = get_output_data(obj, input_data_all)
File "H:\AI\pinokio\api\comfyui.git\app\execution.py", line 82, in get_output_data
return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True)
File "H:\AI\pinokio\api\comfyui.git\app\execution.py", line 75, in map_node_over_list
results.append(getattr(obj, func)(**slice_dict(input_data_all, i)))
File "H:\AI\pinokio\api\comfyui.git\app\custom_nodes\ComfyUI-I2VGenXL\I2VGenXL.py", line 38, in load_model
pipe.enable_model_cpu_offload()
File "H:\AI\pinokio\api\comfyui.git\app\env\lib\site-packages\diffusers\pipelines\pipeline_utils.py", line 1432, in enable_model_cpu_offload
raise ImportError("`enable_model_cpu_offload` requires `accelerate v0.17.0` or higher.")

edit: yep, that worked.

Kryptonic83 avatar Feb 07 '24 19:02 Kryptonic83