This repository was archived by the owner on Dec 16, 2022. It is now read-only.
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.
FairScale integration #5242
FairScale integration #5242
Changes from 96 commits
a4d7165
8a82679
88f5206
ba8f1ef
56998d2
a991275
fdff8bb
178c689
43a86c2
453e75a
5895bf6
5738bb4
4645a4b
dbf502f
91184c8
2548b0f
8a06ab7
d12c017
6d85e13
c606451
0571b47
338028f
8e803ae
04dde82
3ad797d
6d7593b
9d7730b
7cc8f7d
c7c856b
f8c42a3
73b5e43
f846a1b
44dba38
8756605
8ef9fa6
59d83a9
bc8a819
6993c0d
5784ccc
10b1b8c
bc93d8a
310503d
09d2a38
d5cdbc1
1d9c052
ca667fc
e1734c2
79c13b5
51555fe
b4cad9e
1ac97b3
326e07b
0ba2474
5893fae
0a436e3
01c3b5a
e3cab77
47d97bc
3bb1287
ed39623
055a7c9
9ebb521
a303b5c
2bceaaa
49ed5f5
bc956bc
747de54
db95c99
313c252
048c300
cdb6768
a2bbfa0
5581df8
e799eac
d0aa97a
baf796b
54fd6ca
f190030
228b73b
5cfb722
a37b53d
587c228
52fb7fd
7a5fd41
4078d46
d8fa9bb
6072a6a
afc81c6
173828f
0bc1d19
5258dc8
7a130cb
3378a0c
7dcd9e9
984ac6c
33496e2
90757a9
b82f027
50db06c
920ef23
a0a239e
b62b0c3
b84cf85
2436671
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
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.
I haven't seen the code yet, but I'm not too wild about this API. That means you have to know whether some other component needs the gradient norm or not. I'd rather provide a function called
get_grad_norm()
or something like that, which calculates it lazily.