trunk/116ef9f69829d7e8ab511eb65951ce5a1a089075: test_cuda: propagate LD_LIBRARY_PATH in subprocess_env() (#197163)
- PyTorch: 1507 events in the last 90 days
- PyTorch: 1488th Release in the last 90 days
- Previous: earlier the same day · trunk/ceb4b0179753bf036b2cadef732e18a1056544ba: [symbolic shapes] Restore exact FloorDiv cancellation (#198575)
What happened
Motivation TestCudaAllocator::test_allocator_backend spawns sys.executable as a subprocess with env={}, stripping LD_LIBRARY_PATH . On GitHub Actions runners where actions/setup-python installs Python dynamically, any .so is only reachable via LD_LIBRARY_PATH or the subprocess exits 127. GitHub issue: ROCm/TheRock#7800 Technical Details The non-Windows branch of subprocess_env() returned an empty dict, which complet…
Summary assembled by rule from the sources below