graceful failure for draw_graph() in acc_utils.py (#66631)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/66631
writing to the current directory is causing issues in CI. we might also consider writing the ".dot" files to some temporary location.
Test Plan: CI
Reviewed By: 842974287
Differential Revision: D31657078
fbshipit-source-id: 9876327c7f172cd354f1b8e8076597c6a26e2850