Commit 1506551
print grad scaler as part of the metric.
Summary:
Pull Request resolved: facebookresearch#501
X-link: facebookresearch/detectron2#4851
print grad scaler as part of the metric.
* Controlled by a flag "SOLVER.AMP.LOG_GRAD_SCALER"
Reviewed By: tax313
Differential Revision: D43585363
fbshipit-source-id: 495b37ff524c47e515cea0b3c677ee81b34ad4ca1 parent 25049cd commit 1506551
2 files changed
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
| 84 | + | |
| 85 | + | |
84 | 86 | | |
85 | 87 | | |
86 | 88 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
551 | 551 | | |
552 | 552 | | |
553 | 553 | | |
| 554 | + | |
554 | 555 | | |
555 | 556 | | |
556 | 557 | | |
| |||
0 commit comments