feat: all cpus reservations to 0.1
This commit is contained in:
@@ -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
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user