-
Notifications
You must be signed in to change notification settings - Fork 413
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use
uv
package manager in GHA (#2713)
Summary: I came across [`uv`](https://docs.astral.sh/uv/guides/integration/github/) while debugging the scipy slowdowns and noticed how much faster it is than vanilla `pip`. Using `uv` saves a couple minutes in installing dependencies, which can add up to meaningful compute savings over many CI runs we do every day. Should we update all workflows to use `uv`? This PR updates `reusable_tutorials.yml` as an example. Before, with `pip`: https://github.com/pytorch/botorch/actions/runs/13058152281/job/36434279975 - Total setup time: 2 + 2 + 12 + 44 + 50 + 9 = 119s <img width="1286" alt="Screenshot 2025-01-30 at 12 59 40 PM" src="https://github.com/user-attachments/assets/6748e9a5-03af-4b0c-8263-ec1b9480c86f" /> After, with `uv pip`: https://github.com/pytorch/botorch/actions/runs/13058212963/job/36434483617 - Total setup time: 2 + 1 + 10 + 10 + 7 + 6 = 36s <img width="1301" alt="Screenshot 2025-01-30 at 1 00 19 PM" src="https://github.com/user-attachments/assets/399ae948-989a-4505-85eb-d6ee30320086" /> Pull Request resolved: #2713 Reviewed By: Balandat Differential Revision: D68915884 Pulled By: saitcakmak fbshipit-source-id: f8501b773801b22a8f11e205f75c7101e0245b31
- Loading branch information
1 parent
472de87
commit 4a595f2
Showing
8 changed files
with
75 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters