Skip to content

Conversation

@xuzhao9
Copy link
Contributor

@xuzhao9 xuzhao9 commented Jan 14, 2022

Strictly speaking, the bisection workflow shouldn't depend on PyTorch nightly: instead, it should install the TorchBench deps after the first time it compiles PyTorch and its domain packages.

This PR does this optimization and removes PyTorch nightly dependencies for bisection jobs. So the bisection jobs and OnDemand CI jobs can proceed even if the nightly packages are unavailable.

The OnDemand PR CI link is here: pytorch/pytorch#71323. It shows we can run PR CI even without installing nightly packages.

@xuzhao9 xuzhao9 requested a review from wconstab January 14, 2022 23:09
@facebook-github-bot
Copy link
Contributor

@xuzhao9 has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

@xuzhao9 xuzhao9 requested a review from erichan1 January 14, 2022 23:10
Copy link
Contributor

@wconstab wconstab left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm. thanks!

facebook-github-bot pushed a commit to pytorch/pytorch that referenced this pull request Jan 17, 2022
Summary:
This PR removes the PyTorch nightly dependencies of TorchBench CI. Instead, it relies on the bisection script to install TorchBench dependencies (pytorch/benchmark#694).
This will unblock TorchBench CI users when the nightly build fails (e.g., #71260)

RUN_TORCHBENCH: resnet18
TORCHBENCH_BRANCH: xz9/optimize-bisection

Pull Request resolved: #71323

Reviewed By: wconstab

Differential Revision: D33591713

Pulled By: xuzhao9

fbshipit-source-id: f1308ea33ece1f18196c993b40978351160ccc0c
@xuzhao9 xuzhao9 deleted the xz9/optimize-bisection branch January 19, 2022 21:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants