forked from ika-rwth-aachen/loquito
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
32 lines (31 loc) · 1.01 KB
/
docker-compose.yaml
File metadata and controls
32 lines (31 loc) · 1.01 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
services:
loquito-mlflow:
build:
context: .
dockerfile: mlflow.Dockerfile
container_name: loquito-mlflow
ports:
- "5000:5000" # Map MLflow server port
volumes:
- ${LOQUITO_DATA_DIR:?LOQUITO_DATA_DIR must be set}/mlflow:/mlflow-data # Mount host directory as volume
environment:
- MLFLOW_BACKEND_STORE_URI=/mlflow-data
- MLFLOW_DEFAULT_ARTIFACT_ROOT=/mlflow-data
loquito-train:
build:
context: .
dockerfile: train.Dockerfile
shm_size: 128g
volumes:
- ${LOQUITO_DATA_DIR:?LOQUITO_DATA_DIR must be set}/lmdrive:/workspace/data/lmdrive # Mount for lmdrive dataset
- ${LOQUITO_DATA_DIR:?LOQUITO_DATA_DIR must be set}/models:/workspace/data/models # Mount for models
- ../:/workspace/projects/loquito # Mount for project directory
stdin_open: true
tty: true
deploy:
resources:
reservations:
devices:
- driver: nvidia
count: all
capabilities: [gpu]