Skip to content

Fix (ci): Don't update PyTorch version #1275

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

Open
wants to merge 5 commits into
base: dev
Choose a base branch
from

Conversation

nickfraser
Copy link
Collaborator

@nickfraser nickfraser commented Apr 24, 2025

Issue: For some tests, pip was updating / reinstalling PyTorch during the environmental setup, resulting in the latest version of PyTorch being installed.

The solution is to always use a single pip command to install all dependencies. This solution is not fully robust, we might need to consider an alternative way to avoid updating PyTorch during CI, but it works for now.

Note, the adjustments to the environment setup exposed an issue / edge case in the learned round tests, which have also been fixed.

@nickfraser nickfraser requested a review from Giuseppe5 April 24, 2025 10:39
@nickfraser nickfraser requested review from Giuseppe5 and removed request for Giuseppe5 April 24, 2025 16:40
@nickfraser nickfraser self-assigned this Apr 25, 2025
@nickfraser nickfraser added the next release PRs which should be merged for the next release label Apr 25, 2025
@nickfraser nickfraser requested review from Giuseppe5 and removed request for Giuseppe5 April 25, 2025 11:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
next release PRs which should be merged for the next release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant