feat: all cpus reservations to 0.1

This commit is contained in:
Sun-ZhenXing
2026-05-14 16:22:07 +08:00
parent 453a3eab11
commit 53b841926e
274 changed files with 828 additions and 828 deletions
+2 -2
View File
@@ -17,11 +17,11 @@ HF_TOKEN=
# Resource limits
LMDEPLOY_CPU_LIMIT=4.0
LMDEPLOY_MEMORY_LIMIT=8G
LMDEPLOY_CPU_RESERVATION=2.0
LMDEPLOY_CPU_RESERVATION=0.1
LMDEPLOY_MEMORY_RESERVATION=4G
# Shared memory size (required for some models)
LMDEPLOY_SHM_SIZE=4g
# Timezone
TZ=UTC
TZ=UTC
+1 -1
View File
@@ -38,7 +38,7 @@ services:
cpus: ${LMDEPLOY_CPU_LIMIT:-4.0}
memory: ${LMDEPLOY_MEMORY_LIMIT:-8G}
reservations:
cpus: ${LMDEPLOY_CPU_RESERVATION:-2.0}
cpus: ${LMDEPLOY_CPU_RESERVATION:-0.1}
memory: ${LMDEPLOY_MEMORY_RESERVATION:-4G}
devices:
- driver: nvidia