-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
52 lines (52 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
version: "1.0.0"
services:
train_container:
container_name: TransformerTransducer-train
build:
context: .
dockerfile: Dockerfile
volumes:
- ./:/root/workspace
- ~/.cache:/root/.cache
- ./.vscode:/root/.vscode
- ~/output_dir/transformer_transducer:/root/output_dir
tty: true
shm_size: 126G
environment:
- LC_ALL=C.UTF-8
- LANG=C.UTF-8
- TZ=Asia/Seoul
cap_drop:
- SYS_ADMIN
deploy:
resources:
reservations:
devices:
- driver: nvidia
count: all
capabilities: [ gpu ]
serve_container:
container_name: TransformerTransducer-serve
build:
context: .
dockerfile: Dockerfile.serve
volumes:
- ./:/root/workspace
- ~/.cache:/root/.cache
- ./.vscode:/root/.vscode
- ~/output_dir/transformer_transducer:/root/output_dir
tty: true
shm_size: 126G
environment:
- LC_ALL=C.UTF-8
- LANG=C.UTF-8
- TZ=Asia/Seoul
cap_drop:
- SYS_ADMIN
deploy:
resources:
reservations:
devices:
- driver: nvidia
count: all
capabilities: [ gpu ]