benchmark
f2ed884f - Add logging + counter for missed reinplacing opportunities (#132758)

Commit
1 year ago
Add logging + counter for missed reinplacing opportunities (#132758) Summary: - We add Inductor logs for what tensors we tried to reinplace, what tensors we were unable to reinplace, and of those tensors, which of those might be bugs (the "missed reinplacing opportunities"). You can tell this by reading the Inductor output graph but the logs make it easier to figure out. - Add a dynamo_compile counter for missed reinplacing opportunities. The goal is to see how widespread existing problems (if any) are. We've had trouble getting all of the edge cases for the reinplacing pass; the counter will help us hunt down issues. X-link: https://github.com/pytorch/pytorch/pull/132758 Approved by: https://github.com/eellison Reviewed By: izaitsevfb Differential Revision: D60945709 Pulled By: zou3519 fbshipit-source-id: 245f5c3a90207261e351a1c4f6bb35cbfed4bd60
Author
Parents
Loading