Phil Sobrepena commited on
Commit
c64b351
·
1 Parent(s): 31bd90e

docker fix, rm requirements.txt

Browse files
Files changed (2) hide show
  1. Dockerfile +20 -20
  2. requirements.txt +25 -25
Dockerfile CHANGED
@@ -1,6 +1,6 @@
1
  FROM nvidia/cuda:11.8.0-runtime-ubuntu22.04
2
 
3
- WORKDIR /code
4
 
5
  # Install system dependencies
6
  RUN apt-get update && apt-get install -y \
@@ -27,35 +27,35 @@ RUN pip3 install --no-cache-dir numpy==1.24.3
27
 
28
  # Install PyTorch and related packages first (as recommended in README)
29
  RUN pip3 install --no-cache-dir \
30
- torch==2.6.0 \
31
- torchvision==0.21.0 \
32
- torchaudio==2.6.0 \
33
- --index-url https://download.pytorch.org/whl/cu118
34
 
35
  # Install core dependencies
36
- RUN pip3 install --no-cache-dir \
37
- colorlog==6.8.2 \
38
- torchdiffeq==0.2.3 \
39
- omegaconf>=2.3.0 \
40
- pandas>=2.0.0 \
41
- tensordict>=0.2.0 \
42
- hydra-core>=1.3.2 \
43
- tqdm>=4.65.0 \
44
- librosa>=0.10.1 \
45
- timm>=0.9.12 \
46
- requests>=2.31.0
47
 
48
  # Clone MMAudio
49
- RUN git clone https://github.com/hkchengrex/MMAudio.git
50
 
51
  # Set working directory to MMAudio
52
- WORKDIR /code/MMAudio
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
- RUN pip3 install -e .
59
 
60
  # Create output directory
61
  RUN mkdir -p output/gradio && chmod 777 output/gradio
 
1
  FROM nvidia/cuda:11.8.0-runtime-ubuntu22.04
2
 
3
+ WORKDIR /code/MMAudio
4
 
5
  # Install system dependencies
6
  RUN apt-get update && apt-get install -y \
 
27
 
28
  # Install PyTorch and related packages first (as recommended in README)
29
  RUN pip3 install --no-cache-dir \
30
+ torch \
31
+ torchvision \
32
+ torchaudio \
33
+ --index-url https://download.pytorch.org/whl/cu118 --upgrade
34
 
35
  # Install core dependencies
36
+ RUN pip3 install --no-cache-dir -e .
37
+ # colorlog==6.8.2 \
38
+ # torchdiffeq==0.2.3 \
39
+ # omegaconf>=2.3.0 \
40
+ # pandas>=2.0.0 \
41
+ # tensordict>=0.2.0 \
42
+ # hydra-core>=1.3.2 \
43
+ # tqdm>=4.65.0 \
44
+ # librosa>=0.10.1 \
45
+ # timm>=0.9.12 \
46
+ # requests>=2.31.0
47
 
48
  # Clone MMAudio
49
+ # RUN git clone https://github.com/hkchengrex/MMAudio.git
50
 
51
  # Set working directory to MMAudio
52
+ # WORKDIR /code/MMAudio
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
+ # RUN pip3 install -e .
59
 
60
  # Create output directory
61
  RUN mkdir -p output/gradio && chmod 777 output/gradio
requirements.txt CHANGED
@@ -1,25 +1,25 @@
1
- numpy==1.24.3
2
- torch==2.6.0
3
- torchvision==0.21.0
4
- torchaudio==2.6.0
5
- torchdiffeq==0.2.3
6
- omegaconf>=2.3.0
7
- huggingface_hub>=0.26.1
8
- Pillow>=9.5
9
- opencv-python-headless>=4.8
10
- gradio>=4.19.2
11
- einops>=0.6
12
- open_clip_torch>=2.29.0
13
- av>=14.0.1
14
- transformers>=4.36.2
15
- ffmpeg-python>=0.2.0
16
- moviepy>=1.0.3
17
- python-multipart>=0.0.9
18
- colorlog==6.8.2
19
- pandas>=2.0.0
20
- tensordict>=0.2.0
21
- hydra-core>=1.3.2
22
- tqdm>=4.65.0
23
- librosa>=0.10.1
24
- timm>=0.9.12
25
- requests>=2.31.0
 
1
+ # numpy==1.24.3
2
+ # torch==2.6.0
3
+ # torchvision==0.21.0
4
+ # torchaudio==2.6.0
5
+ # torchdiffeq==0.2.3
6
+ # omegaconf>=2.3.0
7
+ # huggingface_hub>=0.26.1
8
+ # Pillow>=9.5
9
+ # opencv-python-headless>=4.8
10
+ # gradio>=4.19.2
11
+ # einops>=0.6
12
+ # open_clip_torch>=2.29.0
13
+ # av>=14.0.1
14
+ # transformers>=4.36.2
15
+ # ffmpeg-python>=0.2.0
16
+ # moviepy>=1.0.3
17
+ # python-multipart>=0.0.9
18
+ # colorlog==6.8.2
19
+ # pandas>=2.0.0
20
+ # tensordict>=0.2.0
21
+ # hydra-core>=1.3.2
22
+ # tqdm>=4.65.0
23
+ # librosa>=0.10.1
24
+ # timm>=0.9.12
25
+ # requests>=2.31.0