@@ -14,6 +14,7 @@ COPY ./patches/raylight_for_multi_arc.patch /tmp/
1414COPY ./patches/xinference_device_utils.patch /tmp/
1515COPY ./patches/comfyui_for_multi_arc.patch /tmp/
1616COPY ./patches/comfyui_voxcpm_for_xpu.patch /tmp/
17+ COPY ./patches/comfyui_hunyuan3d_for_xpu.patch /tmp/
1718
1819
1920# Add Intel oneAPI repo and PPA for GPU support
@@ -67,6 +68,7 @@ RUN wget -O- https://apt.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRO
6768 cd raylight && \
6869 git checkout ff8e90ba1f2c2d23e3ac23746910ddfb523fc8f1 && \
6970 git apply /tmp/raylight_for_multi_arc.patch && \
71+ pip install ray==2.49.2 && \
7072 pip install -r requirements.txt && \
7173 cd .. && \
7274 git clone https://github.com/yolain/ComfyUI-Easy-Use.git comfyui-easy-use && \
@@ -83,14 +85,31 @@ RUN wget -O- https://apt.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRO
8385 git checkout 044dd93c0effc9090fb279117de5db4cd90242a0 && \
8486 git apply /tmp/comfyui_voxcpm_for_xpu.patch && \
8587 pip install -r requirements.txt && \
88+ cd .. && \
89+ git clone https://github.com/visualbruno/ComfyUI-Hunyuan3d-2-1.git && \
90+ cd ComfyUI-Hunyuan3d-2-1 && \
91+ git checkout 9d7ef32509101495a7840b3ae8e718c8d1183305 && \
92+ git apply /tmp/comfyui_hunyuan3d_for_xpu.patch && \
93+ pip install bigdl-core==2.4.0b1 rembg realesrgan && \
94+ pip install -r requirements.txt && \
95+ cd hy3dpaint/custom_rasterizer && \
96+ python setup.py install && \
97+ cd ../DifferentiableRenderer && \
98+ python setup.py install && \
99+ cd /llm/ComfyUI/custom_nodes && \
86100# Install Xinference
87101 pip install "xinference[transformers]" && \
88102 patch /usr/local/lib/python3.10/dist-packages/xinference/device_utils.py < /tmp/xinference_device_utils.patch && \
89103 pip install kokoro Jinja2==3.1.6 jieba ordered-set pypinyin cn2an pypinyin-dict && \
90104 # Clean
91105 rm -rf /tmp/*
106+ RUN cd /llm/ComfyUI/custom_nodes && \
107+ git clone https://github.com/kijai/ComfyUI-KJNodes.git && \
108+ cd ComfyUI-KJNodes && \
109+ pip install -r requirements.txt
92110
93111COPY ./workflows/* /llm/ComfyUI/user/default/workflows/
94112COPY ./example_inputs/* /llm/ComfyUI/input/
113+ COPY ./tools/* /llm/tools/
95114
96115WORKDIR /llm/ComfyUI
0 commit comments