jmanhype commited on
Commit
3b79a60
Β·
1 Parent(s): 13921b3

Update diffusers installation to use main branch

Browse files
Files changed (1) hide show
  1. Dockerfile +9 -4
Dockerfile CHANGED
@@ -57,9 +57,6 @@ RUN conda run -n musev pip install --no-cache-dir setuptools==65.5.1
57
  # Install numpy 1.x first to ensure compatibility
58
  RUN conda run -n musev pip install --no-cache-dir "numpy<2.0.0"
59
 
60
- # Install huggingface_hub with a compatible version
61
- RUN conda run -n musev pip install --no-cache-dir "huggingface_hub<0.19.0"
62
-
63
  # Install core dependencies first
64
  RUN conda run -n musev pip install --no-cache-dir \
65
  torch \
@@ -116,7 +113,15 @@ RUN conda run -n musev pip install --no-cache-dir basicsr && \
116
  conda run -n musev mim install "mmpose>=1.1.0"
117
 
118
  # Install git dependencies incrementally
119
- RUN conda run -n musev pip install --no-cache-dir git+https://github.com/TMElyralab/diffusers.git@tme
 
 
 
 
 
 
 
 
120
  RUN conda run -n musev pip install --no-cache-dir git+https://github.com/tencent-ailab/IP-Adapter.git@main
121
  RUN conda run -n musev pip install --no-cache-dir git+https://github.com/openai/CLIP.git@main
122
  RUN conda run -n musev pip install --no-cache-dir git+https://github.com/TMElyralab/controlnet_aux.git@tme
 
57
  # Install numpy 1.x first to ensure compatibility
58
  RUN conda run -n musev pip install --no-cache-dir "numpy<2.0.0"
59
 
 
 
 
60
  # Install core dependencies first
61
  RUN conda run -n musev pip install --no-cache-dir \
62
  torch \
 
113
  conda run -n musev mim install "mmpose>=1.1.0"
114
 
115
  # Install git dependencies incrementally
116
+ # First install diffusers from PyPI to get dependencies right
117
+ RUN conda run -n musev pip install --no-cache-dir "diffusers==0.21.4"
118
+ # Then install the custom version
119
+ RUN cd /tmp && \
120
+ git clone https://github.com/TMElyralab/diffusers.git && \
121
+ cd diffusers && \
122
+ git checkout main && \
123
+ conda run -n musev pip install -e .
124
+
125
  RUN conda run -n musev pip install --no-cache-dir git+https://github.com/tencent-ailab/IP-Adapter.git@main
126
  RUN conda run -n musev pip install --no-cache-dir git+https://github.com/openai/CLIP.git@main
127
  RUN conda run -n musev pip install --no-cache-dir git+https://github.com/TMElyralab/controlnet_aux.git@tme