-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
54 lines (50 loc) · 1.19 KB
/
docker-compose.yml
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
51
52
53
54
version: '3'
services:
tensorflow-compiler-cpu:
container_name: "tensorflow-compiler-cpu"
network_mode: host
build:
context: .
dockerfile: tensorflow-cpu.Dockerfile
network: "host"
args:
HTTP_PROXY:
HTTPS_PROXY:
TF_VER:
BRANCH_NAME:
PYTHON_VER:
NUMPY_VER:
GCC_VER:
GCC_VER_SHORT:
BAZEL_VER:
volumes:
- './tensorflow:/tmp/tensorflow_pkg'
tensorflow-compiler-gpu:
container_name: "tensorflow-compiler-gpu"
network_mode: host
build:
context: .
dockerfile: tensorflow-gpu.Dockerfile
network: "host"
args:
HTTP_PROXY:
HTTPS_PROXY:
TF_VER:
BRANCH_NAME:
PYTHON_VER:
NUMPY_VER:
GCC_VER:
GCC_VER_SHORT:
BAZEL_VER:
cuDNN_VER:
cuDNN_VER_SHORT:
CUDA_VER:
CUDA_DOCKER_TAG:
devices:
- /dev/nvidia0:/dev/nvidia0
- /dev/nvidiactl:/dev/nvidiactl
- /dev/nvidia-modeset:/dev/nvidia-modeset
- /dev/nvidia-uvm:/dev/nvidia-uvm
- /dev/nvidia-uvm-tools:/dev/nvidia-uvm-tools
volumes:
- './tensorflow:/tmp/tensorflow_pkg'