[optimizer] refactor AdamW to use functional API#50411
Closed
wanchaol wants to merge 11 commits intogh/wanchaol/151/basefrom
Closed
[optimizer] refactor AdamW to use functional API#50411wanchaol wants to merge 11 commits intogh/wanchaol/151/basefrom
wanchaol wants to merge 11 commits intogh/wanchaol/151/basefrom
Conversation
[ghstack-poisoned]
This was referenced Jan 12, 2021
Contributor
💊 CI failures summary and remediationsAs of commit 78fd5fa (more details on the Dr. CI page):
🕵️ 5 new failures recognized by patternsThe following CI failures do not appear to be due to upstream breakages:
|
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
This was referenced Jan 15, 2021
[ghstack-poisoned]
This was referenced Jan 15, 2021
izdeby
approved these changes
Jan 19, 2021
Differential Revision: [D25932776](https://our.internmc.facebook.com/intern/diff/D25932776) [ghstack-poisoned]
Differential Revision: [D25932776](https://our.internmc.facebook.com/intern/diff/D25932776) [ghstack-poisoned]
Differential Revision: [D25932776](https://our.internmc.facebook.com/intern/diff/D25932776) [ghstack-poisoned]
Codecov Report
@@ Coverage Diff @@
## gh/wanchaol/151/base #50411 +/- ##
=====================================================
Coverage 81.02% 81.02%
=====================================================
Files 1916 1916
Lines 209328 209345 +17
=====================================================
+ Hits 169600 169618 +18
+ Misses 39728 39727 -1 |
Contributor
wanchaol
pushed a commit
to wanchaol/pytorch
that referenced
this pull request
Mar 3, 2021
Summary: This fix the bug introduced during refactoring optimizers pytorch#50411. When all parameters have no grads, we should still allows `beta` like hyper params to be defined. Reviewed By: ngimel Differential Revision: D26699827 fbshipit-source-id: fbe58186ae17e131abf6cdaf6eabbe32e351fe94
facebook-github-bot
pushed a commit
that referenced
this pull request
Mar 3, 2021
Summary: Pull Request resolved: #52944 This fix the bug introduced during refactoring optimizers #50411. When all parameters have no grads, we should still allows `beta` like hyper params to be defined. Reviewed By: ngimel Differential Revision: D26699827 fbshipit-source-id: 8a7074127704c7a4a1fbc17d48a81e23a649f280
aocsa
pushed a commit
to Quansight/pytorch
that referenced
this pull request
Mar 15, 2021
Summary: Pull Request resolved: pytorch#52944 This fix the bug introduced during refactoring optimizers pytorch#50411. When all parameters have no grads, we should still allows `beta` like hyper params to be defined. Reviewed By: ngimel Differential Revision: D26699827 fbshipit-source-id: 8a7074127704c7a4a1fbc17d48a81e23a649f280
xsacha
pushed a commit
to xsacha/pytorch
that referenced
this pull request
Mar 31, 2021
Summary: Pull Request resolved: pytorch#52944 This fix the bug introduced during refactoring optimizers pytorch#50411. When all parameters have no grads, we should still allows `beta` like hyper params to be defined. Reviewed By: ngimel Differential Revision: D26699827 fbshipit-source-id: 8a7074127704c7a4a1fbc17d48a81e23a649f280
jasperzhong
pushed a commit
to jasperzhong/swift
that referenced
this pull request
Nov 25, 2021
ghstack-source-id: 4ed6256 Pull Request resolved: pytorch/pytorch#50411
laurentdupin
pushed a commit
to laurentdupin/pytorch
that referenced
this pull request
Apr 24, 2026
Summary: Pull Request resolved: pytorch#50411 Test Plan: Imported from OSS Reviewed By: izdeby Differential Revision: D25932776 Pulled By: wanchaol fbshipit-source-id: e8e1696b3390ba7909b36fd0107c58b892520432
laurentdupin
pushed a commit
to laurentdupin/pytorch
that referenced
this pull request
Apr 24, 2026
Summary: Pull Request resolved: pytorch#52944 This fix the bug introduced during refactoring optimizers pytorch#50411. When all parameters have no grads, we should still allows `beta` like hyper params to be defined. Reviewed By: ngimel Differential Revision: D26699827 fbshipit-source-id: 8a7074127704c7a4a1fbc17d48a81e23a649f280
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Stack from ghstack:
Differential Revision: D25932776