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

[train] Pin pytorch lightning to 2.0.4 #37400

Merged
merged 2 commits into from
Jul 13, 2023

Conversation

krfricke
Copy link
Contributor

Why are these changes needed?

2.0.5 breaks master as the deepspeed device validation fails. We should look into this separately.

Related issue number

Checks

  • I've signed off every commit(by using the -s flag, i.e., git commit -s) in this PR.
  • I've run scripts/format.sh to lint the changes in this PR.
  • I've included any doc changes needed for https://docs.ray.io/en/master/.
    • I've added any new APIs to the API Reference. For example, if I added a
      method in Tune, I've added it in doc/source/tune/api/ under the
      corresponding .rst file.
  • I've made sure the tests are passing. Note that there might be a few flaky tests, see the recent failures at https://flakey-tests.ray.io/
  • Testing Strategy
    • Unit tests
    • Release tests
    • This PR is not tested :(

Signed-off-by: Kai Fricke <kai@anyscale.com>
Signed-off-by: Kai Fricke <kai@anyscale.com>
@@ -84,6 +84,6 @@
- PYTHON=3.8 DOC_TESTING=1 TRAIN_TESTING=1 TUNE_TESTING=1 ./ci/env/install-dependencies.sh
- pip install -Ur ./python/requirements/ml/dl-gpu-requirements.txt
- pip uninstall -y pytorch-lightning
- pip install lightning==2.0.0
- pip install lightning==2.0.4 pytorch-lightning==2.0.4 # todo move to requirements-test.txt
Copy link
Member

@woshiyyya woshiyyya Jul 13, 2023

Choose a reason for hiding this comment

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

Suggested change
- pip install lightning==2.0.4 pytorch-lightning==2.0.4 # todo move to requirements-test.txt
- pip install lightning==2.0.4 pytorch_lightning==2.0.4 # todo move to requirements-test.txt

Thank you @krfricke! I checked when we install lightning==2.0.0, pip will always install the latest version of pytorch_lightning. That's why the library version has changed, which is kind of tricky. I agree to pin the version to improve the stability of ci tests.

@krfricke krfricke merged commit 8f737c4 into ray-project:master Jul 13, 2023
41 of 43 checks passed
@krfricke krfricke deleted the train/lightning-pin branch July 13, 2023 20:07
Bhav00 pushed a commit to Bhav00/ray that referenced this pull request Jul 24, 2023
2.0.5 breaks master as the deepspeed device validation fails. We should look into this separately.

Signed-off-by: Kai Fricke <kai@anyscale.com>
NripeshN pushed a commit to NripeshN/ray that referenced this pull request Aug 15, 2023
2.0.5 breaks master as the deepspeed device validation fails. We should look into this separately.

Signed-off-by: Kai Fricke <kai@anyscale.com>
Signed-off-by: NripeshN <nn2012@hw.ac.uk>
harborn pushed a commit to harborn/ray that referenced this pull request Aug 17, 2023
2.0.5 breaks master as the deepspeed device validation fails. We should look into this separately.

Signed-off-by: Kai Fricke <kai@anyscale.com>
Signed-off-by: harborn <gangsheng.wu@intel.com>
harborn pushed a commit to harborn/ray that referenced this pull request Aug 17, 2023
2.0.5 breaks master as the deepspeed device validation fails. We should look into this separately.

Signed-off-by: Kai Fricke <kai@anyscale.com>
arvind-chandra pushed a commit to lmco/ray that referenced this pull request Aug 31, 2023
2.0.5 breaks master as the deepspeed device validation fails. We should look into this separately.

Signed-off-by: Kai Fricke <kai@anyscale.com>
Signed-off-by: e428265 <arvind.chandramouli@lmco.com>
vymao pushed a commit to vymao/ray that referenced this pull request Oct 11, 2023
2.0.5 breaks master as the deepspeed device validation fails. We should look into this separately.

Signed-off-by: Kai Fricke <kai@anyscale.com>
Signed-off-by: Victor <vctr.y.m@example.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants