Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
More safely parse CUDA versions when subprocess output is contaminated (
#16067) In some user environments, calling a subprocess may produce output that confuses the version parsing machinery inside `_ptxcompiler`. Since the affected functions are vendored from the real `ptxcompiler` package for the purposes of using them with CUDA 12, this fix will only these situations for CUDA 12+. Closes #16016. Authors: - https://github.com/brandon-b-miller Approvers: - Bradley Dice (https://github.com/bdice) - Vyas Ramasubramani (https://github.com/vyasr) URL: #16067
- Loading branch information