[FX] Gate FXGraphDrawer on whether pydot is installed (#65088)
authorJames Reed <jamesreed@fb.com>
Thu, 16 Sep 2021 17:00:59 +0000 (10:00 -0700)
committerFacebook GitHub Bot <facebook-github-bot@users.noreply.github.com>
Thu, 16 Sep 2021 17:04:33 +0000 (10:04 -0700)
commit874f9bd5090c1f57afdfbd454952ed4f71d210cc
tree597b6db3e18666ab79d721c50add9fe500cc81b6
parent2c57bbf52189b096ccaa0c4c041703e20812c006
[FX] Gate FXGraphDrawer on whether pydot is installed (#65088)

Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/65088

Test Plan: Imported from OSS

Reviewed By: khabinov

Differential Revision: D30967951

Pulled By: jamesr66a

fbshipit-source-id: dba2f13a47889b3d4187de925b4fe74ee90b7f79
torch/fx/passes/graph_drawer.py