feat: all cpus reservations to 0.1
This commit is contained in:
@@ -53,10 +53,10 @@ LLAMA_SWAP_GPU_COUNT=1
|
||||
LLAMA_SWAP_CPU_LIMIT=4.0
|
||||
|
||||
# CPU reservation (in cores)
|
||||
LLAMA_SWAP_CPU_RESERVATION=2.0
|
||||
LLAMA_SWAP_CPU_RESERVATION=0.1
|
||||
|
||||
# Memory limit (e.g., 8G, 16G)
|
||||
LLAMA_SWAP_MEMORY_LIMIT=8G
|
||||
|
||||
# Memory reservation (e.g., 4G, 8G)
|
||||
LLAMA_SWAP_MEMORY_RESERVATION=4G
|
||||
LLAMA_SWAP_MEMORY_RESERVATION=4G
|
||||
@@ -40,7 +40,7 @@ services:
|
||||
cpus: ${LLAMA_SWAP_CPU_LIMIT:-4.0}
|
||||
memory: ${LLAMA_SWAP_MEMORY_LIMIT:-8G}
|
||||
reservations:
|
||||
cpus: ${LLAMA_SWAP_CPU_RESERVATION:-2.0}
|
||||
cpus: ${LLAMA_SWAP_CPU_RESERVATION:-0.1}
|
||||
memory: ${LLAMA_SWAP_MEMORY_RESERVATION:-4G}
|
||||
|
||||
# llama-swap - NVIDIA CUDA variant
|
||||
@@ -73,7 +73,7 @@ services:
|
||||
cpus: ${LLAMA_SWAP_CPU_LIMIT:-4.0}
|
||||
memory: ${LLAMA_SWAP_MEMORY_LIMIT:-8G}
|
||||
reservations:
|
||||
cpus: ${LLAMA_SWAP_CPU_RESERVATION:-2.0}
|
||||
cpus: ${LLAMA_SWAP_CPU_RESERVATION:-0.1}
|
||||
memory: ${LLAMA_SWAP_MEMORY_RESERVATION:-4G}
|
||||
devices:
|
||||
- driver: nvidia
|
||||
@@ -117,7 +117,7 @@ services:
|
||||
cpus: ${LLAMA_SWAP_CPU_LIMIT:-4.0}
|
||||
memory: ${LLAMA_SWAP_MEMORY_LIMIT:-8G}
|
||||
reservations:
|
||||
cpus: ${LLAMA_SWAP_CPU_RESERVATION:-2.0}
|
||||
cpus: ${LLAMA_SWAP_CPU_RESERVATION:-0.1}
|
||||
memory: ${LLAMA_SWAP_MEMORY_RESERVATION:-4G}
|
||||
profiles:
|
||||
- gpu-amd
|
||||
|
||||
Reference in New Issue
Block a user