-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
Add learning rate scheduling support for DeepSpeedStrategy
#20320
Open
amorehead
wants to merge
32
commits into
Lightning-AI:master
Choose a base branch
from
amorehead:patch-2
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 1 commit
Commits
Show all changes
32 commits
Select commit
Hold shift + click to select a range
188a45f
Update fabric.py
amorehead baf5988
Update deepspeed.py
amorehead 1f4c18e
Update deepspeed.py
amorehead 585e302
Update fabric.py
amorehead 0451761
Update fsdp.py
amorehead a912aab
Update strategy.py
amorehead d27d4a3
Update strategy.py
amorehead 67089a1
Update xla_fsdp.py
amorehead 1025875
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 9b45b99
Update fsdp.py
amorehead a7a5835
Update strategy.py
amorehead 3ece31c
Update xla_fsdp.py
amorehead e48acd2
Update deepspeed.py
amorehead f13516d
Update seed.py
amorehead 80b4a6d
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 2cab7e2
Update seed.py
amorehead e9127f4
Update seed.py
amorehead c127458
Update seed.py
amorehead 31a1fce
Merge branch 'master' into patch-2
lantiga f215626
Merge branch 'master' into patch-2
amorehead dfce07e
Merge branch 'master' into patch-2
lantiga 25e8d48
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 737162d
Update src/lightning/fabric/strategies/deepspeed.py
lantiga 2d347d0
Update src/lightning/fabric/strategies/fsdp.py
lantiga 5d227ff
Update src/lightning/fabric/strategies/strategy.py
lantiga f94efa7
Update src/lightning/fabric/strategies/xla_fsdp.py
lantiga c2613ec
Merge branch 'Lightning-AI:master' into patch-2
amorehead 56464ed
Update deepspeed.py
amorehead e09941c
Update fabric.py
amorehead 3709f1d
Update fabric_methods.rst
amorehead 13195a2
Update wrappers.rst
amorehead 3791c1b
Merge branch 'Lightning-AI:master' into patch-2
amorehead File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next
Next commit
Update fabric.py
- Loading branch information
commit 188a45f9b8d35faef4952848e0cad85b05bb1c78
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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a breaking change, it will cause existing user code to fail, because
scheduler
is returned unconditionally.Since
scheduler
isOptional
in the signature, I suggest we only return it if it was notNone
as an argument, so we won't break anyone's code.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Agreed. Addressed in this commit.