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

DeepSpeed Infinity Update #7234

Merged
merged 28 commits into from
Jun 14, 2021
Merged

DeepSpeed Infinity Update #7234

merged 28 commits into from
Jun 14, 2021

Conversation

SeanNaren
Copy link
Contributor

@SeanNaren SeanNaren commented Apr 27, 2021

What does this PR do?

Updates the API to the latest changes in DeepSpeed + exposes parameters required for using NVMe Offloading.
This hard requires the latest DeepSpeed, however considering that this is still experimental and changes here are future proofing, I think this is fine.

Before submitting

  • Was this discussed/approved via a GitHub issue? (not for typos and docs)
  • Did you read the contributor guideline, Pull Request section?
  • Did you make sure your PR does only one thing, instead of bundling different changes together?
  • Did you make sure to update the documentation with your changes? (if necessary)
  • Did you write any new necessary tests? (not for typos and docs)
  • Did you verify new and existing tests pass locally with your changes?
  • Did you update the CHANGELOG? (not for typos, docs, test updates, or internal minor changes/refactorings)

PR review

Anyone in the community is free to review the PR once the tests have passed.
Before you start reviewing make sure you have read Review guidelines. In short, see the following bullet-list:

  • Is this pull request ready for review? (if not, please submit in draft mode)
  • Check that all items from Before submitting are resolved
  • Make sure the title is self-explanatory and the description concisely explains the PR
  • Add labels and milestones (and optionally projects) to the PR so it can be classified

Did you have fun?

Make sure you had fun coding 🙃

@SeanNaren SeanNaren added distributed Generic distributed-related topic 3rd party Related to a 3rd-party labels Apr 27, 2021
@SeanNaren SeanNaren self-assigned this Apr 27, 2021
@SeanNaren SeanNaren requested a review from a team April 27, 2021 13:04
@codecov
Copy link

codecov bot commented Apr 27, 2021

Codecov Report

Merging #7234 (15d027b) into master (3a0ed02) will decrease coverage by 0%.
The diff coverage is 100%.

@@          Coverage Diff           @@
##           master   #7234   +/-   ##
======================================
- Coverage      92%     91%   -0%     
======================================
  Files         203     203           
  Lines       13137   13157   +20     
======================================
- Hits        12023   12005   -18     
- Misses       1114    1152   +38     

@SeanNaren
Copy link
Contributor Author

Should've made this draft since we can't merge this yet

@SeanNaren SeanNaren marked this pull request as draft April 27, 2021 13:33
@SeanNaren SeanNaren changed the title DeepSpeed Infinity Update [WIP] DeepSpeed Infinity Update Apr 27, 2021
@SeanNaren
Copy link
Contributor Author

After some debugging, fix for the latest DeepSpeed CI here: deepspeedai/DeepSpeed#1026

We'll need a new version to be added to support this, so might be a while before we can merge this PR. I can refer in the documentation to the PR and get this working, so people can test it out :)

SeanNaren added 2 commits June 14, 2021 10:07
# Conflicts:
#	pytorch_lightning/plugins/training_type/deepspeed.py
@SeanNaren SeanNaren marked this pull request as ready for review June 14, 2021 15:48
@SeanNaren SeanNaren changed the title [WIP] DeepSpeed Infinity Update DeepSpeed Infinity Update Jun 14, 2021
Copy link
Contributor

@tchaton tchaton left a comment

Choose a reason for hiding this comment

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

LGTM !

Copy link
Contributor

@carmocca carmocca left a comment

Choose a reason for hiding this comment

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

Awesome!

Remember to go through the checklist in the description

@carmocca carmocca added this to the v1.4 milestone Jun 14, 2021
@kaushikb11 kaushikb11 enabled auto-merge (squash) June 14, 2021 16:02
@SeanNaren SeanNaren disabled auto-merge June 14, 2021 16:10
@SeanNaren SeanNaren enabled auto-merge (squash) June 14, 2021 16:13
@SeanNaren SeanNaren merged commit f7459f5 into master Jun 14, 2021
@SeanNaren SeanNaren deleted the feat/deepspeed_update branch June 14, 2021 16:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3rd party Related to a 3rd-party distributed Generic distributed-related topic
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants