pytorch
f2c2b75e - flush the buffer when printing the IR (#45585)

Commit
5 years ago
flush the buffer when printing the IR (#45585) Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/45585 I discovered this bug when I was trying to print the graph to a file. Turns out I had to close the file, but flushing should be a good safeguard in case other users forget. Test Plan: Tested with and without flushing. with P144064292 without P144064767 Reviewed By: mortzur Differential Revision: D24023819 fbshipit-source-id: 39574b3615feb28e5b5939664c04ddfb1257706a
Author
Hector Yuen
Parents
Loading