benchmark
903b5003 - Type coverage for `torch/_dynamo/utils.py` (#159580)

Commit
136 days ago
Type coverage for `torch/_dynamo/utils.py` (#159580) Summary: As part of better engineering effort, we would like to improve out type support to improve dev experience in dynamo This PR adds strict typing support to `torch/_dynamo/utils.py` Running ``` mypy torch/_dynamo/utils.py --linecount-report /tmp/coverage_log ``` | -------- | Lines Annotated | Lines Total | % lines covered | Funcs Annotated | Funcs Total | % funcs covered | | -------- | ------- | -------- | ------- | ------- | ------- | ------- | | Main | 2163 | 4792 | 45.14% | 121 | 268 | 45.15% | | This PR | 4818 | 4818 | 100.00% | 268 | 268 | 100.00% | | Delta | +2655 | +26 | +54.84% | +147 | 0 | +54.85% | X-link: https://github.com/pytorch/pytorch/pull/159580 Approved by: https://github.com/williamwen42 Reviewed By: izaitsevfb Differential Revision: D79597355 fbshipit-source-id: 5bb7a21d68ef3c24659c5a79e148caeb9219a11f
Author
Parents
Loading