← 返回事件
持续讨论AI发版

trunk/116ef9f69829d7e8ab511eb65951ce5a1a089075: test_cuda: propagate LD_LIBRARY_PATH in subprocess_env() (#197163)

图:PyTorch Releases

发生了什么

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…

摘要按规则整理自下方来源原文

为什么在扩散

来源