benchmark
5bbf4e8c - Type annotation for `torch/_dynamo/output_graph.py` (#159602)

Commit
136 days ago
Type annotation for `torch/_dynamo/output_graph.py` (#159602) 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/output_graph.py` Running ``` mypy torch/_dynamo/output_graph.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/159602 Approved by: https://github.com/Skylion007 Reviewed By: izaitsevfb Differential Revision: D79620187 fbshipit-source-id: 59099170ea9eab4f49c73452b38a74ed84238d79
Author
Parents
Loading