-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
46 lines (35 loc) · 1.04 KB
/
docker-compose.yml
File metadata and controls
46 lines (35 loc) · 1.04 KB
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
version: "3.2"
services:
# Project image
graphstudio:
image: graphstudio:latest
volumes:
# Bind user defined models to container
- ./models/binaryClassifier:/graph-studio/source/models/binaryClassifier
- ./models/multiLabelClassifier:/graph-studio/source/models/multiLabelClassifier
- ./models/node2vec:/graph-studio/source/models/node2vec
# Bind data generated from container to project
- ./app/cache:/graph-studio/cache
- ./app/conf:/graph-studio/conf
- ./app/data:/graph-studio/data
# runtime: nvidia
deploy:
# Provision GPU for container
resources:
reservations:
devices:
- driver: nvidia
count: all
capabilities: [gpu]
# GPU test image
test-nvidia:
image: gs.test2:latest
command: nvidia-smi
deploy:
# Provision GPU for container
resources:
reservations:
devices:
- driver: nvidia
count: all
capabilities: [gpu]