The host_memory_available() function falls back to os.sysconf("SC_AVPHYS_PAGES") when /proc/meminfo is unavailable.
On macOS, this raises ValueError: unrecognized configuration name, preventing the CPU MPO–MPO benchmark from completing.
On macOS, run the CPU MPO–MPO benchmark from the repository root: python benches/primitives/bench_mpo_mpo.py --n-sites 4 --chi-out 8 --chi-id 4 --run src --compare no --device cpu
The function should return the available host memory on macOS without raising an exception, allowing the CPU benchmark to complete successfully.
CPU (NumPy)
Python: 3.12.9 NumPy: 2.3.5 src-method: 0.1.dev51+gbd78e23b3
macOS (Intel)
No response
I'd like to work on this issue.
Activity
BrendanStork commented on Oct 21, 2026
I'd like to work on this issue.