mirror of
https://github.com/saymrwulf/pytorch.git
synced 2026-05-14 20:57:59 +00:00
## Summary
We are currently [updating](https://github.com/conda-forge/pytorch-cpu-feedstock/pull/277) the [`conda-forge::pytorch`](https://anaconda.org/conda-forge/pytorch) package to version 2.5.0. This update includes a new dependency, the third_party/NVTX submodule. However, like other package management frameworks (e.g., apt), conda-forge prefers using system-installed packages instead of vendor-provided third-party packages.
This pull request aims to add an option, `USE_SYSTEM_NVTX`, to select whether to use the vendored nvtx or the system-installed one, with the default being the vendored one (which is the current behavior).
## Test Plan
The `USE_SYSTEM_NVTX` option is tested by building the `conda-forge::pytorch` package with the change applied as a [patch](
|
||
|---|---|---|
| .. | ||
| ComputeLibrary.cmake | ||
| cuda.cmake | ||
| gflags.cmake | ||
| glog.cmake | ||
| LoadHIP.cmake | ||
| mkl.cmake | ||
| mkldnn.cmake | ||
| protobuf.cmake | ||
| utils.cmake | ||
| xpu.cmake | ||