Skip to content

OSS test failures in sequential execution #604

@mreso

Description

@mreso

Hi,

Initial goal was to run the grpo example but I get an error when running the example.

To check my installation and environment I tried to run the tests but they fail at the same point they currently fail in the CI.

python/tests/builtins/test_log.py::TestLogFunctions::test_log_remote_default_level[py] PASSED                                                                                                                                                 [  9%]
python/tests/builtins/test_log.py::TestLogFunctions::test_log_remote_default_level[rs] FAILED                                                                                                                                                 [  9%]
python/tests/builtins/test_log.py::TestLogFunctions::test_log_remote_with_args[py] PASSED                                                                                                                                                     [  9%]
python/tests/builtins/test_log.py::TestLogFunctions::test_log_remote_with_args[rs] FAILED                                                                                                                                                     [  9%]
python/tests/builtins/test_log.py::TestLogFunctions::test_set_logging_level_remote[py] PASSED                                                                                                                                                 [ 10%]
python/tests/builtins/test_log.py::TestLogFunctions::test_set_logging_level_remote[rs] FAILED                                                                                                                                                 [ 10%]
python/tests/builtins/test_log.py::TestLogFunctions::test_log_remote_custom_level[py] PASSED                                                                                                                                                  [ 10%]
python/tests/builtins/test_log.py::TestLogFunctions::test_log_remote_custom_level[rs] FAILED                                                                                                                                                  [ 10%]
python/tests/builtins/test_log.py::TestLogFunctions::test_log_remote_multiple_calls[py] PASSED                                                                                                                                                [ 10%]
python/tests/builtins/test_log.py::TestLogFunctions::test_log_remote_multiple_calls[rs] FAILED

When reverting back to the last commit with sucessfull CI checks fff47ec the above test succeeds but there are tests with other errors down the road:

FAILED python/tests/test_allocator.py::TestRemoteAllocator::test_allocate_2d_mesh - FileNotFoundError: [Errno 2] No such file or directory: 'process_allocator'
FAILED python/tests/test_allocator.py::TestRemoteAllocator::test_call_allocate_twice - FileNotFoundError: [Errno 2] No such file or directory: 'process_allocator'
FAILED python/tests/test_allocator.py::TestRemoteAllocator::test_log - FileNotFoundError: [Errno 2] No such file or directory: 'process_allocator'
FAILED python/tests/test_allocator.py::TestRemoteAllocator::test_stacked_1d_meshes - FileNotFoundError: [Errno 2] No such file or directory: 'process_allocator'
FAILED python/tests/test_allocator.py::TestRemoteAllocator::test_stop_proc_mesh - FileNotFoundError: [Errno 2] No such file or directory: 'process_allocator'
FAILED python/tests/test_allocator.py::TestRemoteAllocator::test_stop_proc_mesh_context_manager - FileNotFoundError: [Errno 2] No such file or directory: 'process_allocator'
FAILED python/tests/test_allocator.py::TestRemoteAllocator::test_stop_proc_mesh_context_manager_multiple_times - FileNotFoundError: [Errno 2] No such file or directory: 'process_allocator'

My environment looks like this:

Collecting environment information...
PyTorch version: 2.7.1+cu126
Is debug build: False
CUDA used to build PyTorch: 12.6
ROCM used to build PyTorch: N/A
OS: CentOS Stream 9 (x86_64)
GCC version: (GCC) 11.5.0 20240719 (Red Hat 11.5.0-7)
Clang version: 20.1.8 (https://github.com/conda-forge/clangdev-feedstock 55af0edabf37262c7a2a1caaa38f9a9b843ba87f)
CMake version: version 3.26.5
Libc version: glibc-2.34
Python version: 3.10.18 | packaged by conda-forge | (main, Jun  4 2025, 14:45:41) [GCC 13.3.0] (64-bit runtime)
Python platform: Linux-6.4.3-0_fbk20_zion_2830_g3e5ab162667d-x86_64-with-glibc2.34
Is CUDA available: True
CUDA runtime version: Could not collect
CUDA_MODULE_LOADING set to: LAZY
GPU models and configuration: 
GPU 0: NVIDIA H100
GPU 1: NVIDIA H100
GPU 2: NVIDIA H100
GPU 3: NVIDIA H100
GPU 4: NVIDIA H100
GPU 5: NVIDIA H100
GPU 6: NVIDIA H100
GPU 7: NVIDIA H100
Nvidia driver version: 535.154.05
cuDNN version: Probably one of the following:
/usr/lib64/libcudnn.so.9.8.0
/usr/lib64/libcudnn_adv.so.9.8.0
/usr/lib64/libcudnn_cnn.so.9.8.0
/usr/lib64/libcudnn_engines_precompiled.so.9.8.0
/usr/lib64/libcudnn_engines_runtime_compiled.so.9.8.0
/usr/lib64/libcudnn_graph.so.9.8.0
/usr/lib64/libcudnn_heuristic.so.9.8.0
/usr/lib64/libcudnn_ops.so.9.8.0
HIP runtime version: N/A
MIOpen runtime version: N/A
Is XNNPACK available: True
CPU:
Architecture:                       x86_64
CPU op-mode(s):                     32-bit, 64-bit
Address sizes:                      52 bits physical, 57 bits virtual
Byte Order:                         Little Endian
CPU(s):                             384
On-line CPU(s) list:                0-383
Vendor ID:                          AuthenticAMD
Model name:                         AMD EPYC 9654 96-Core Processor
CPU family:                         25
Model:                              17
Thread(s) per core:                 2
Core(s) per socket:                 96
Socket(s):                          2
Stepping:                           1
Frequency boost:                    enabled
CPU(s) scaling MHz:                 74%
CPU max MHz:                        3707.8120
CPU min MHz:                        1500.0000
BogoMIPS:                           4792.94
Flags:                              fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc rep_good amd_lbr_v2 nopl nonstop_tsc cpuid extd_apicid aperfmperf rapl pni pclmulqdq monitor ssse3 fma cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt aes xsave avx f16c rdrand lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs skinit wdt tce topoext perfctr_core perfctr_nb bpext perfctr_llc mwaitx cpb cat_l3 cdp_l3 invpcid_single hw_pstate ssbd mba perfmon_v2 ibrs ibpb stibp ibrs_enhanced vmmcall fsgsbase bmi1 avx2 smep bmi2 erms invpcid cqm rdt_a avx512f avx512dq rdseed adx smap avx512ifma clflushopt clwb avx512cd sha_ni avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local avx512_bf16 clzero irperf xsaveerptr rdpru wbnoinvd amd_ppin cppc arat npt lbrv svm_lock nrip_save tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold avic v_vmsave_vmload vgif x2avic v_spec_ctrl vnmi avx512vbmi umip pku ospke avx512_vbmi2 gfni vaes vpclmulqdq avx512_vnni avx512_bitalg avx512_vpopcntdq rdpid overflow_recov succor smca fsrm flush_l1d
Virtualization:                     AMD-V
L1d cache:                          6 MiB (192 instances)
L1i cache:                          6 MiB (192 instances)
L2 cache:                           192 MiB (192 instances)
L3 cache:                           768 MiB (24 instances)
NUMA node(s):                       2
NUMA node0 CPU(s):                  0-95,192-287
NUMA node1 CPU(s):                  96-191,288-383
Vulnerability Gather data sampling: Not affected
Vulnerability Itlb multihit:        Not affected
Vulnerability L1tf:                 Not affected
Vulnerability Mds:                  Not affected
Vulnerability Meltdown:             Not affected
Vulnerability Mmio stale data:      Not affected
Vulnerability Retbleed:             Not affected
Vulnerability Spec store bypass:    Mitigation; Speculative Store Bypass disabled via prctl
Vulnerability Spectre v1:           Mitigation; usercopy/swapgs barriers and __user pointer sanitization
Vulnerability Spectre v2:           Vulnerable: eIBRS with unprivileged eBPF
Vulnerability Srbds:                Not affected
Vulnerability Tsx async abort:      Not affected
Versions of relevant libraries:
[pip3] mypy_extensions==1.1.0
[pip3] numpy==2.2.6
[pip3] nvidia-cublas-cu12==12.6.4.1
[pip3] nvidia-cuda-cupti-cu12==12.6.80
[pip3] nvidia-cuda-nvrtc-cu12==12.6.77
[pip3] nvidia-cuda-runtime-cu12==12.6.77
[pip3] nvidia-cudnn-cu12==9.5.1.17
[pip3] nvidia-cufft-cu12==11.3.0.4
[pip3] nvidia-curand-cu12==10.3.7.77
[pip3] nvidia-cusolver-cu12==11.7.1.2
[pip3] nvidia-cusparse-cu12==12.5.4.2
[pip3] nvidia-cusparselt-cu12==0.6.3
[pip3] nvidia-nccl-cu12==2.26.2
[pip3] nvidia-nvjitlink-cu12==12.6.85
[pip3] nvidia-nvtx-cu12==12.6.77
[pip3] torch==2.7.1
[pip3] torchx-nightly==2025.7.21
[pip3] triton==3.3.1
[conda] nccl                      [2.27.6.1](https://www.internalfb.com/phabricator/paste/view/2.27.6.1)             h49b9d9a_1    conda-forge
[conda] numpy                     2.2.6                    pypi_0    pypi
[conda] nvidia-cublas-cu12        [12.6.4.1](https://www.internalfb.com/phabricator/paste/view/12.6.4.1)                 pypi_0    pypi
[conda] nvidia-cuda-cupti-cu12    12.6.80                  pypi_0    pypi
[conda] nvidia-cuda-nvrtc-cu12    12.6.77                  pypi_0    pypi
[conda] nvidia-cuda-runtime-cu12  12.6.77                  pypi_0    pypi
[conda] nvidia-cudnn-cu12         [9.5.1.17](https://www.internalfb.com/phabricator/paste/view/9.5.1.17)                 pypi_0    pypi
[conda] nvidia-cufft-cu12         [11.3.0.4](https://www.internalfb.com/phabricator/paste/view/11.3.0.4)                 pypi_0    pypi
[conda] nvidia-curand-cu12        [10.3.7.77](https://www.internalfb.com/phabricator/paste/view/10.3.7.77)                pypi_0    pypi
[conda] nvidia-cusolver-cu12      [11.7.1.2](https://www.internalfb.com/phabricator/paste/view/11.7.1.2)                 pypi_0    pypi
[conda] nvidia-cusparse-cu12      [12.5.4.2](https://www.internalfb.com/phabricator/paste/view/12.5.4.2)                 pypi_0    pypi
[conda] nvidia-cusparselt-cu12    0.6.3                    pypi_0    pypi
[conda] nvidia-nccl-cu12          2.26.2                   pypi_0    pypi
[conda] nvidia-nvjitlink-cu12     12.6.85                  pypi_0    pypi
[conda] nvidia-nvtx-cu12          12.6.77                  pypi_0    pypi
[conda] torch                     2.7.1                    pypi_0    pypi
[conda] torchx-nightly            2025.7.21                pypi_0    pypi
[conda] triton                    3.3.1                    pypi_0    pypi

Is there another way to verify my environment?

cc @colin2328

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions