[fx] Make get_isolated_graphmodule accept tracing mode. (#84238)
Summary: make get_isolated_graphmodule be able to run with symbolic mode.
Test Plan: eyes
Reviewed By: angelayi
Differential Revision: D39110454
Pull Request resolved: https://github.com/pytorch/pytorch/pull/84238
Approved by: https://github.com/angelayi