Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix PyTorch version in test-against-stable workflow (#2085)
Summary: 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: <img width="917" alt="Screenshot 2023-11-06 at 10 25 48 AM" src="https://github.com/pytorch/botorch/assets/9263852/83b4e15e-8e74-48ae-898b-b6b9817a7d19"> 1.13.1 with Py 3.9 on MacOs: <img width="981" alt="Screenshot 2023-11-06 at 10 26 21 AM" src="https://github.com/pytorch/botorch/assets/9263852/634a593d-09a6-4e13-8211-930ee749330d"> 2.0.1 with Py 3.11 on MacOS: <img width="985" alt="Screenshot 2023-11-06 at 10 31 10 AM" src="https://github.com/pytorch/botorch/assets/9263852/1ac147ee-78d5-42fb-8678-07d3153497e0"> Pull Request resolved: #2085 Reviewed By: Balandat, esantorella Differential Revision: D51035355 Pulled By: saitcakmak fbshipit-source-id: b5fb1d7c3bee430f83f4d1fa48d66e694915b08e
- Loading branch information