Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build: fetch PyTorch version using downloaded WHL file #1632

Merged
merged 1 commit into from
Nov 23, 2022
Merged

build: fetch PyTorch version using downloaded WHL file #1632

merged 1 commit into from
Nov 23, 2022

Conversation

ashay
Copy link
Collaborator

@ashay ashay commented Nov 22, 2022

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.

@ashay ashay requested a review from powderluv November 22, 2022 19:45
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.
@ashay ashay merged commit b43965d into llvm:main Nov 23, 2022
@ashay ashay deleted the ashay/fetch-pytorch-version branch November 23, 2022 19:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants