Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build: fetch PyTorch version using downloaded WHL file (llvm#1632)
Until recently, the metadata file in the torchvision package included the nightly version of the torch package, but since that is no longer the case, our RollPyTorch workflow is broken. As a workaround, this patch uses the `pip download` command's ability to fetch the dependent torch package for the specified version of torchvision, before peeking into the WHL file for the torch package to determine the release version and the commit hash.
- Loading branch information