CPU stack: do not reserve a core by default
The stand's log showed core ids=[1] and 'Reducing Torch threads from 2 to 1' because the container only sees ~2 cores: VLLM_CPU_NUM_OF_RESERVED_CPU=1 left a single OpenMP thread for inference. Default is now 0 (16 vs 15 threads on a 24 vCPU host, no latency change); document setting it back to 1 for large hosts and how to check nproc / core ids= after a deploy.
This commit is contained in:
1 parent
ff6b9f8b25
commit
41144b9a3b
3 files changed
+18
-4
No files matched your search
+1
-1
@@ -31,5 +31,5 @@ BGE_M3_SPARSE_THRESHOLD=0.0
|
||||
# ENFORCE_EAGER=1
|
||||
# DTYPE_CPU=bfloat16
|
||||
# VLLM_CPU_KVCACHE_SPACE=8
|
||||
# VLLM_CPU_NUM_OF_RESERVED_CPU=1
|
||||
# VLLM_CPU_NUM_OF_RESERVED_CPU=0
|
||||
# (OMP_NUM_THREADS намеренно не задаётся: пустое значение ломает OpenMP)
|
||||
Reference in new issue
Block a user