RunpodR
Runpod13mo ago
Mert

Runpod serverless for Comfyui with custom nodes

I want to use two custom nodes in ComfyUI in runpod serverless:

ComfyUI_CatVTON_Wrapper

It requires the following dependencies:
numpy<2.0
pillow
scipy
diffusers
accelerate>=0.30.0
transformers>=4.38.2
Additionally, this node contains a nested project located at ComfyUI_CatVTON_Wrapper/py/catvton/SCHP, which specifically requires:

opencv-python==4.4.0.46
I can successfully build and use this node without any issues.

human-parser-comfyui-node

This node requires the following dependencies (defined in requirements.txt):
ninja
torch
opencv-python
numpy
The problem arises when I try to use these two custom nodes together. The Docker image build fails, likely due to conflicting dependencies between the two nodes, particularly around opencv-python and numpy.

Could you help me identify and resolve this issue so I can successfully build a Docker image that works with both custom nodes?
Was this page helpful?