x2XcarleX2x commited on
Commit
4bb1817
·
verified ·
1 Parent(s): fc4cf68

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -8
Dockerfile CHANGED
@@ -146,8 +146,7 @@ RUN git clone https://github.com/Lightricks/LTX-Video.git && \
146
  echo "Copiando 'ltx_video' para /app/ltx_video..." && \
147
  cp -r LTX-Video/ltx_video /app/ltx_video
148
 
149
-
150
-
151
  RUN pip uninstall -y bitsandbytes triton && \
152
  pip install -v bitsandbytes --index-url https://pypi.org/simple/ && \
153
  pip install -v triton
@@ -161,14 +160,11 @@ COPY requirements.txt .
161
  # A linha do flash-attention no arquivo será ignorada se já estiver instalado, mas é bom limpá-la.
162
  RUN pip install -r requirements.txt
163
 
164
-
165
  # =============================================================================
166
- # COPIA O FORK DIFUSER ADUC-SDR DA APLICAÇÃO
167
  # =============================================================================
168
-
169
- RUN git clone https://github.com/carlex22/diffusers-aduc-sdr && \
170
- cd diffusers-aduc-sdr && pip install -v -e diffusers[torch] && \
171
-
172
 
173
  # =============================================================================
174
  # COPIA O CÓDIGO DA APLICAÇÃO E CONFIGURA PERMISSÕES
 
146
  echo "Copiando 'ltx_video' para /app/ltx_video..." && \
147
  cp -r LTX-Video/ltx_video /app/ltx_video
148
 
149
+ # opcionais
 
150
  RUN pip uninstall -y bitsandbytes triton && \
151
  pip install -v bitsandbytes --index-url https://pypi.org/simple/ && \
152
  pip install -v triton
 
160
  # A linha do flash-attention no arquivo será ignorada se já estiver instalado, mas é bom limpá-la.
161
  RUN pip install -r requirements.txt
162
 
 
163
  # =============================================================================
164
+ # INSTALAÇÃO DIFFUSERS-ADUC-SDR
165
  # =============================================================================
166
+ COPY diffusers-aduc-sdr.txt .
167
+ RUN pip install --no-cache-dir -r -v diffusers-aduc-sdr.txt
 
 
168
 
169
  # =============================================================================
170
  # COPIA O CÓDIGO DA APLICAÇÃO E CONFIGURA PERMISSÕES