Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +2 -4
Dockerfile
CHANGED
@@ -41,12 +41,10 @@ RUN pyenv install ${PYTHON_VERSION} && \
|
|
41 |
pyenv global ${PYTHON_VERSION} && \
|
42 |
pyenv rehash && \
|
43 |
pip install --no-cache-dir -U pip setuptools wheel && \
|
44 |
-
pip install "huggingface-hub==0.19.3" "hf-transfer==0.1.4"
|
45 |
|
46 |
COPY --chown=1000 . ${HOME}/app
|
47 |
-
RUN pip install -r ${HOME}/app/requirements.txt
|
48 |
-
pip install fairseq2 --pre --extra-index-url https://fair.pkg.atmeta.com/fairseq2/pt2.1.0/cu121 && \
|
49 |
-
pip install ${HOME}/app/whl/seamless_communication-1.0.0-py3-none-any.whl
|
50 |
|
51 |
ENV PYTHONPATH=${HOME}/app \
|
52 |
PYTHONUNBUFFERED=1 \
|
|
|
41 |
pyenv global ${PYTHON_VERSION} && \
|
42 |
pyenv rehash && \
|
43 |
pip install --no-cache-dir -U pip setuptools wheel && \
|
44 |
+
pip install "huggingface-hub==0.19.3" "hf-transfer==0.1.4" "torch"
|
45 |
|
46 |
COPY --chown=1000 . ${HOME}/app
|
47 |
+
RUN pip install -r ${HOME}/app/requirements.txt
|
|
|
|
|
48 |
|
49 |
ENV PYTHONPATH=${HOME}/app \
|
50 |
PYTHONUNBUFFERED=1 \
|