feat: all cpus reservations to 0.1
This commit is contained in:
@@ -56,7 +56,7 @@ TURBOOCR_LOG_FORMAT=json
|
||||
# First-start builds TRT engines; 12 G covers the GPU + engine compilation headroom.
|
||||
TURBOOCR_CPU_LIMIT=8.0
|
||||
TURBOOCR_MEMORY_LIMIT=12G
|
||||
TURBOOCR_CPU_RESERVATION=2.0
|
||||
TURBOOCR_CPU_RESERVATION=0.1
|
||||
TURBOOCR_MEMORY_RESERVATION=4G
|
||||
|
||||
# Number of NVIDIA GPUs to reserve (GPU variant only)
|
||||
@@ -70,4 +70,4 @@ TURBOOCR_LOG_MAX_SIZE=100m
|
||||
TURBOOCR_LOG_MAX_FILE=3
|
||||
|
||||
# Timezone
|
||||
TZ=UTC
|
||||
TZ=UTC
|
||||
@@ -70,7 +70,7 @@ services:
|
||||
cpus: ${TURBOOCR_CPU_LIMIT:-8.0}
|
||||
memory: ${TURBOOCR_MEMORY_LIMIT:-12G}
|
||||
reservations:
|
||||
cpus: ${TURBOOCR_CPU_RESERVATION:-2.0}
|
||||
cpus: ${TURBOOCR_CPU_RESERVATION:-0.1}
|
||||
memory: ${TURBOOCR_MEMORY_RESERVATION:-4G}
|
||||
devices:
|
||||
- driver: nvidia
|
||||
@@ -102,7 +102,7 @@ services:
|
||||
cpus: ${TURBOOCR_CPU_LIMIT:-8.0}
|
||||
memory: ${TURBOOCR_MEMORY_LIMIT:-4G}
|
||||
reservations:
|
||||
cpus: ${TURBOOCR_CPU_RESERVATION:-2.0}
|
||||
cpus: ${TURBOOCR_CPU_RESERVATION:-0.1}
|
||||
memory: ${TURBOOCR_MEMORY_RESERVATION:-1G}
|
||||
shm_size: ${TURBOOCR_SHM_SIZE:-512m}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user