Task: Fix Multiprocessing Core Affinity Issue After NumPy Import
Task: Fix Multiprocessing Core Affinity Issue After NumPy Import: a task in Terminal-Lego-15k (Harbor dataset). When using Python's multiprocessing (via joblib ) after importing NumPy, all worker processes get assigned to the same CPU core instead of being distributed across multiple cores. This…
The task
When using Python's multiprocessing (via `joblib`) after importing NumPy, all worker processes get assigned to the same CPU core instead of being distributed across multiple cores. This is caused by certain BLAS libraries (like OpenBLAS or MKL) that NumPy links against, which modify the CPU affinity mask of the…
Part of PrimeIntellect/Terminal-Lego-15k.