Spaces:
Paused
Paused
Update Dockerfile
Browse files- Dockerfile +15 -8
Dockerfile
CHANGED
|
@@ -72,15 +72,7 @@ RUN pip install \
|
|
| 72 |
scikit-build \
|
| 73 |
cython \
|
| 74 |
numpy
|
| 75 |
-
|
| 76 |
-
# =============================================================================
|
| 77 |
-
# INSTALAÇÃO DO RESTANTE DAS DEPENDÊNCIAS
|
| 78 |
-
# =============================================================================
|
| 79 |
-
COPY requirements.txt .
|
| 80 |
|
| 81 |
-
# Instala os pacotes restantes do requirements.txt
|
| 82 |
-
# A linha do flash-attention no arquivo será ignorada se já estiver instalado, mas é bom limpá-la.
|
| 83 |
-
RUN pip install -r requirements.txt
|
| 84 |
|
| 85 |
# =============================================================================
|
| 86 |
# CLONAGEM E INSTALAÇÃO DOS REPOSITÓRIOS DA APLICAÇÃO
|
|
@@ -125,6 +117,21 @@ RUN git clone https://github.com/Lightricks/LTX-Video.git && \
|
|
| 125 |
cp -r LTX-Video/ltx_video /app/ltx_video
|
| 126 |
|
| 127 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 128 |
# =============================================================================
|
| 129 |
# COPIA O CÓDIGO DA APLICAÇÃO E CONFIGURA PERMISSÕES
|
| 130 |
# =============================================================================
|
|
|
|
| 72 |
scikit-build \
|
| 73 |
cython \
|
| 74 |
numpy
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 75 |
|
|
|
|
|
|
|
|
|
|
| 76 |
|
| 77 |
# =============================================================================
|
| 78 |
# CLONAGEM E INSTALAÇÃO DOS REPOSITÓRIOS DA APLICAÇÃO
|
|
|
|
| 117 |
cp -r LTX-Video/ltx_video /app/ltx_video
|
| 118 |
|
| 119 |
|
| 120 |
+
|
| 121 |
+
RUN pip uninstall -y bitsandbytes triton && \
|
| 122 |
+
pip install -v bitsandbytes --index-url https://pypi.org/simple/ && \
|
| 123 |
+
pip install -v triton
|
| 124 |
+
|
| 125 |
+
# =============================================================================
|
| 126 |
+
# INSTALAÇÃO DO RESTANTE DAS DEPENDÊNCIAS
|
| 127 |
+
# =============================================================================
|
| 128 |
+
COPY requirements.txt .
|
| 129 |
+
|
| 130 |
+
# Instala os pacotes restantes do requirements.txt
|
| 131 |
+
# A linha do flash-attention no arquivo será ignorada se já estiver instalado, mas é bom limpá-la.
|
| 132 |
+
RUN pip install -r requirements.txt
|
| 133 |
+
|
| 134 |
+
|
| 135 |
# =============================================================================
|
| 136 |
# COPIA O CÓDIGO DA APLICAÇÃO E CONFIGURA PERMISSÕES
|
| 137 |
# =============================================================================
|