Files
NODEDC_MISSION_CORE/simulation/urban-mapping/compose.yaml
T

36 lines
1.1 KiB
YAML

name: ndc-urban-mapping
services:
mapper:
image: ndc-mission-core-urban-mapping:${MAPPING_VERSION:-v1}
build:
context: .
args:
BASE_IMAGE: ${MAPPING_BASE_IMAGE:-ndc-mission-core-m48t-upstream-parity:1.9.4-cu130}
gpus: all
cpus: 4
mem_limit: 16g
shm_size: 1g
network_mode: none
restart: "no"
labels:
com.nodedc.product: mission-core
com.nodedc.stack: urban-mapping
com.nodedc.role: offline-infrastructure-detector
com.nodedc.managed-by: compose
environment:
TORCH_EXTENSIONS_DIR: /cache/torch
volumes:
- ${MAPPING_INPUT:?set source directory}:/input:ro
- ${MAPPING_MODEL:?set model directory}:/model:ro
- ${MAPPING_OUTPUT:?set output directory}:/output
- ndc-urban-mapping-cache:/cache
command: ["--job", "/output/job.json", "--output", "/output"]
volumes:
ndc-urban-mapping-cache:
name: ndc-urban-mapping-cache
labels:
com.nodedc.product: mission-core
com.nodedc.stack: urban-mapping
com.nodedc.role: cuda-kernel-cache
com.nodedc.managed-by: compose