Spaces:
Runtime error
Runtime error
Phil Sobrepena
commited on
Commit
·
a612c70
1
Parent(s):
d8ac5d3
rm redundant deps, reorder installs
Browse files- Dockerfile +6 -25
Dockerfile
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
FROM nvidia/cuda:11.8.0-runtime-ubuntu22.04
|
| 2 |
|
| 3 |
-
# Clone MMAudio
|
| 4 |
-
RUN git clone https://huggingface.co/autophil/MMAudio_SS
|
| 5 |
|
| 6 |
WORKDIR /code/MMAudio_SS
|
| 7 |
|
|
@@ -25,8 +25,8 @@ RUN apt-get update && apt-get install -y \
|
|
| 25 |
# RUN curl -sS https://bootstrap.pypa.io/get-pip.py | python3.10 && \
|
| 26 |
# pip3 install --no-cache-dir --upgrade pip setuptools wheel
|
| 27 |
|
| 28 |
-
#
|
| 29 |
-
|
| 30 |
|
| 31 |
# Install PyTorch and related packages first (as recommended in README)
|
| 32 |
RUN pip3 install --no-cache-dir \
|
|
@@ -34,28 +34,9 @@ RUN pip3 install --no-cache-dir \
|
|
| 34 |
torchvision \
|
| 35 |
torchaudio \
|
| 36 |
--index-url https://download.pytorch.org/whl/cu118 --upgrade
|
| 37 |
-
|
| 38 |
-
# Install core dependencies
|
| 39 |
-
RUN pip3 install --no-cache-dir -e .
|
| 40 |
-
# colorlog==6.8.2 \
|
| 41 |
-
# torchdiffeq==0.2.3 \
|
| 42 |
-
# omegaconf>=2.3.0 \
|
| 43 |
-
# pandas>=2.0.0 \
|
| 44 |
-
# tensordict>=0.2.0 \
|
| 45 |
-
# hydra-core>=1.3.2 \
|
| 46 |
-
# tqdm>=4.65.0 \
|
| 47 |
-
# librosa>=0.10.1 \
|
| 48 |
-
# timm>=0.9.12 \
|
| 49 |
-
# requests>=2.31.0
|
| 50 |
-
|
| 51 |
-
# Set working directory to MMAudio
|
| 52 |
-
WORKDIR /code/MMAudio_SS
|
| 53 |
-
|
| 54 |
-
# Install other dependencies
|
| 55 |
-
# RUN pip3 install --no-cache-dir -r requirements.txt
|
| 56 |
-
|
| 57 |
# Install MMAudio last (as recommended in README)
|
| 58 |
-
|
| 59 |
|
| 60 |
|
| 61 |
# Create output directory
|
|
|
|
| 1 |
FROM nvidia/cuda:11.8.0-runtime-ubuntu22.04
|
| 2 |
|
| 3 |
+
# # Clone MMAudio
|
| 4 |
+
# RUN git clone https://huggingface.co/autophil/MMAudio_SS
|
| 5 |
|
| 6 |
WORKDIR /code/MMAudio_SS
|
| 7 |
|
|
|
|
| 25 |
# RUN curl -sS https://bootstrap.pypa.io/get-pip.py | python3.10 && \
|
| 26 |
# pip3 install --no-cache-dir --upgrade pip setuptools wheel
|
| 27 |
|
| 28 |
+
# Install Requirements
|
| 29 |
+
RUN pip3 install --no-cache-dir -r requirements.txt
|
| 30 |
|
| 31 |
# Install PyTorch and related packages first (as recommended in README)
|
| 32 |
RUN pip3 install --no-cache-dir \
|
|
|
|
| 34 |
torchvision \
|
| 35 |
torchaudio \
|
| 36 |
--index-url https://download.pytorch.org/whl/cu118 --upgrade
|
| 37 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 38 |
# Install MMAudio last (as recommended in README)
|
| 39 |
+
RUN pip3 --no-cache-dir install -e .
|
| 40 |
|
| 41 |
|
| 42 |
# Create output directory
|