jmanhype
commited on
Commit
Β·
6ec0d8b
1
Parent(s):
17e5bab
Install MMCM dependencies explicitly before MMCM installation
Browse files
scripts/gradio/Dockerfile
CHANGED
@@ -83,13 +83,21 @@ RUN conda run -n musev pip install --no-cache-dir \
|
|
83 |
markupsafe==2.0.1 \
|
84 |
cuid
|
85 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
86 |
# Install git dependencies incrementally
|
87 |
RUN conda run -n musev pip install --no-cache-dir git+https://github.com/TMElyralab/diffusers.git@tme
|
88 |
RUN conda run -n musev pip install --no-cache-dir git+https://github.com/tencent-ailab/IP-Adapter.git@main
|
89 |
RUN conda run -n musev pip install --no-cache-dir git+https://github.com/openai/CLIP.git@main
|
90 |
RUN conda run -n musev pip install --no-cache-dir git+https://github.com/TMElyralab/controlnet_aux.git@tme
|
91 |
|
92 |
-
#
|
93 |
RUN git clone https://github.com/TMElyralab/MMCM.git /tmp/mmcm && \
|
94 |
cd /tmp/mmcm && \
|
95 |
git checkout setup && \
|
|
|
83 |
markupsafe==2.0.1 \
|
84 |
cuid
|
85 |
|
86 |
+
# Install MMCM dependencies first
|
87 |
+
RUN conda run -n musev pip install --no-cache-dir basicsr && \
|
88 |
+
conda run -n musev pip install --no-cache-dir -U openmim && \
|
89 |
+
conda run -n musev mim install mmengine && \
|
90 |
+
conda run -n musev mim install "mmcv>=2.0.1" && \
|
91 |
+
conda run -n musev mim install "mmdet>=3.1.0" && \
|
92 |
+
conda run -n musev mim install "mmpose>=1.1.0"
|
93 |
+
|
94 |
# Install git dependencies incrementally
|
95 |
RUN conda run -n musev pip install --no-cache-dir git+https://github.com/TMElyralab/diffusers.git@tme
|
96 |
RUN conda run -n musev pip install --no-cache-dir git+https://github.com/tencent-ailab/IP-Adapter.git@main
|
97 |
RUN conda run -n musev pip install --no-cache-dir git+https://github.com/openai/CLIP.git@main
|
98 |
RUN conda run -n musev pip install --no-cache-dir git+https://github.com/TMElyralab/controlnet_aux.git@tme
|
99 |
|
100 |
+
# Now install MMCM after its dependencies are installed
|
101 |
RUN git clone https://github.com/TMElyralab/MMCM.git /tmp/mmcm && \
|
102 |
cd /tmp/mmcm && \
|
103 |
git checkout setup && \
|