Repository navigation
Conversation
test_imported_pinned_resource_reports_numa_id chose the first nonzero NUMA node with memory. On Grace systems (GH200, GB300) that is GPU memory, which cuMemPoolCreate rejects as a host NUMA location, so the test failed with CUDA_ERROR_INVALID_VALUE. Require the node to have CPUs as well, and skip when none qualifies. Closes NVIDIA#3650.
|
/ok to test 0ee32c1 |
|
No actionable comments were generated in the recent review. Summary
Change: Other · Severity of issue fixed: Medium Merge Risk:
|
|
…ers (drop before merge)
…tly runners (drop before merge)" This reverts commit 6e1eaf7.
|
/ok to test 89f393b |
Description
closes #3650
test_imported_pinned_resource_reports_numa_id(added by #3516) picked the first NUMA node above 0 that has memory. On Grace systems (GH200, GB300) that is GPU memory, andcuMemPoolCreaterejects it as a host NUMA location, so the test failed withCUDA_ERROR_INVALID_VALUEin the nightly runs. The constructor is unchanged and fails the same way without #3516. Only the test's choice of node was wrong.The helper now returns the first node above 0 that has both memory and CPUs, and the test skips when there is none. Hosts with host memory only on CPU-less nodes (CXL expanders, for example) skip the test, which loses coverage but cannot produce a false failure. New tests run the helper against fake sysfs directories for a GH200 topology, a GH200 with MIG nodes, a two-socket host, and a missing sysfs.
Not tested on a Grace machine. The fake topologies are based on NVIDIA's Grace documentation, and the nightly GH200 and GB300 jobs will confirm that node 1 has no CPUs.
Checklist