Dashboardopencode-lorenativeIntraOpThreads cgroup default

nativeIntraOpThreads cgroup default

Category: decision
Confidence: 1.00
ID: 01a0ae99-3e48-740c-8f4e-3f66adeafd59
Project ID: 6f4be9ff-ed84-4cca-a9e7-732a0b0b8677
Cross-project: No
Recalled in other projects: 0
Source session: 0kk54et5Shz3ZHDIR
Created: 2026-09-17 09:01:13
Updated: 2026-09-17 09:01:13

Content

Chose to set nativeIntraOpThreads from cgroup-aware availableParallelism() only when it is below cpus().length, rather than always forwarding the logical CPU count. On unconstrained hosts, return undefined so ONNX Runtime keeps its physical-core default; forcing the hyper-thread count looks explicit but can raise parallelism beyond the runtime’s safer default.

Move to: