You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix CPU and memory affinity under external resource management
- Fixes CPU affinity when running inference on CPU, and when CPUs
are externally managed using taskset, numactl, cgroups, Kubernetes
CPU manager, NRI resource policy plugins, for instance.
- Detect external CPU management and trust the external CPU manager
completely. It is more likely that external manager has the big picture
of all other tasks running on the system, their QoS, hardware
characteristics, etc.
- For instance, do not modify even memory affinity, because the external
manager may know better which NUMA node has fastest memory, or which
NUMA nodes have enough free memory for this inference.
Fixes: huggingface#3011
Signed-off-by: Antti Kervinen <[email protected]>
0 commit comments