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

Fix PyTorch version in test-against-stable workflow #2085

Closed
wants to merge 12 commits into from

Conversation

saitcakmak
Copy link
Contributor

It seems that the conditional block was always evaluating to true, leading to PyTorch 2.0.1 being used across the board as the minimum version. With this change, all jobs except for Python 3.11 on macOS use PyTorch 1.31.1.

Note: I could not get the expression to work while keeping the min_torch_version == '1.13.1' check in place, so I removed it. It doesn't have any functional effect as long as we address the TODO when we bump the min version.

Old run that used PyTorch 2.0.1 for all jobs: https://github.com/pytorch/botorch/actions/runs/6739329549/job/18320600699
New run that uses correct versions: https://github.com/pytorch/botorch/actions/runs/6774951160/job/18413146849

1.13.1 with ubuntu jobs:
Screenshot 2023-11-06 at 10 25 48 AM
1.13.1 with Py 3.9 on MacOs:
Screenshot 2023-11-06 at 10 26 21 AM
2.0.1 with Py 3.11 on MacOS:
Screenshot 2023-11-06 at 10 31 10 AM

@facebook-github-bot facebook-github-bot added the CLA Signed Do not delete this pull request or issue due to inactivity. label Nov 6, 2023
@facebook-github-bot
Copy link
Contributor

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

Copy link
Member

@esantorella esantorella left a comment

Choose a reason for hiding this comment

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

Thanks!

@facebook-github-bot
Copy link
Contributor

@saitcakmak merged this pull request in 11bfb50.

@saitcakmak saitcakmak deleted the saitcakmak-patch-1 branch November 10, 2023 00:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed Do not delete this pull request or issue due to inactivity. Merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants