Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix dynamo.explain examples (#122745)
Summary: `dynamo.explain()` was updated to return a structure but the docs weren't updated to match. - Update the docs to use the new API - Remove some dead code left when `explain` was updated. - Drive-by: Fix some `nopython` uses that I noticed - Drive-by: I noticed an ignored error coming from CleanupHook on shutdown - make it check the global before setting it. Fixes #122573 X-link: pytorch/pytorch#122745 Approved by: https://github.com/jansel Reviewed By: atalman Differential Revision: D55485698 Pulled By: aorenste fbshipit-source-id: fe308dc169cfc8b88d1bb62b393e1f80eb95a9a5
- Loading branch information