Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added the ability to build a project with PyTorch 2.0. (#2553)
* Added the ability to build a project with PyTorch 2.0. Namely, I added the flag -std=c++17 to extra_compile_args depending on the version of Torch. * Lost the condition for the presence of nvcc * Lost the condition for the presence of nvcc * Add parse_version * fix lint --------- Co-authored-by: Xin Chen <[email protected]>
- Loading branch information