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
[ML] Tune test parallelism: fix low-core and improve mid-core machines
Two changes to the test parallelism formula:
1. On <=4 cores (macOS CI Orka VMs), use numCpus-1 instead of numCpus.
Full CPU saturation caused CKMostCorrelatedTest/testScale to fail
because wall-clock complexity assertions became unreliable.
2. On >4 cores, use ceil(numCpus/2) instead of ceil(numCpus/3).
The /3 divisor was too conservative on 8-core Linux aarch64 CI
(52 min with -j 3 vs 39.5 min with -j 8). The /2 divisor gives
-j 4 on 8 cores — a better balance of parallelism vs contention.
Also adds diagnostic logging of CPU count and parallelism settings.
Co-authored-by: Cursor <cursoragent@cursor.com>
0 commit comments