-
Notifications
You must be signed in to change notification settings - Fork 5
/
Dockerfile.gpu
50 lines (40 loc) · 1.52 KB
/
Dockerfile.gpu
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
#
# hf-experiments
# @author Loreto Parisi (loretoparisi at gmail dot com)
# Copyright (c) 2020-2021 Loreto Parisi (loretoparisi at gmail dot com)
#
FROM pytorch/pytorch:1.8.1-cuda11.1-cudnn8-runtime
LABEL maintainer Loreto Parisi [email protected]
WORKDIR app
COPY src .
# system-wide dependencies
# lam4-dev gcc needed for deepspeed
# system-wide dependencies
RUN apt-get update && apt-get install -y \
build-essential \
software-properties-common \
libsndfile1-dev \
curl
# ffmpeg - https://johnvansickle.com/ffmpeg/
RUN curl https://johnvansickle.com/ffmpeg/releases/ffmpeg-release-i686-static.tar.xz -O && \
tar -xf ffmpeg-release-i686-static.tar.xz && \
chmod 744 ffmpeg-5.1.1-i686-static/ffmpeg && \
chmod 744 ffmpeg-5.1.1-i686-static/ffprobe && \
mv ffmpeg-5.1.1-i686-static/ffmpeg /usr/local/bin && \
mv ffmpeg-5.1.1-i686-static/ffprobe /usr/local/bin
# system-wide python requriments
RUN pip3 install -r requirements-gpu.txt
# utils
RUN pip3 install -r lpdutils/requirements.txt
# experiment-wide python requriments
RUN pip3 install -r asr/requirements.txt
#RUN pip3 install -r asr/requirements.deepspeed.txt
RUN pip3 install -r genre/requirements.txt
RUN pip3 install -r audioset/requirements.txt
#RUN pip3 install -r audioseg/requirements.txt
RUN pip3 install -r mlpvision/requirements.txt
RUN pip3 install -r skweak/requirements.txt
#RUN pip3 install -r pokemon/requirements.txt
RUN pip3 install -r projected_gan/requirements.txt
RUN pip3 install -r fasttext/requirements.txt
CMD ["bash"]