Conversation
|
example output: |
Codecov Report
@@ Coverage Diff @@
## master #47 +/- ##
=======================================
Coverage 94.18% 94.18%
=======================================
Files 35 35
Lines 2065 2065
=======================================
Hits 1945 1945
Misses 120 120
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
|
ping @min-xu-ai or @msbaines, this should be simple enough (no change to the core lib, just an outsider benchmark) |
msbaines
left a comment
There was a problem hiding this comment.
This looks great. Would you mind adding an assertion at the end so that we can use this as a regression test. To create the assertion, run the test 5 times (you can do this directly from circleci) and then calculating mean and standard deviation. Then set the threshold to mean - 3*standard deviation.
Or you could just use the mean/stdev for the 10 epochs and set the threshold that way. |
min-xu-ai
left a comment
There was a problem hiding this comment.
LGTM and like Mandeep's suggestions.
Set the torch seed for tests. xfail mixed precision and memory-efficient mixed-precision state_dict tests due to their states being cast to FP16 and back to FP32 during load_state_dict. Co-authored-by: Jun Ru Anderson <andersonic@fb.com>
Before submitting
What does this PR do?
Adds some numbers behind #42, for a workload relevant for computer vision.
PR review
Anyone in the community is free to review the PR once the tests have passed.
If we didn't discuss your PR in Github issues there's a high chance it will not be merged.
Did you have fun?
Yes that was pretty fun 🙃