pytorch/feature: Record if inductor fx cache is enabled (#141059)
Summary:
This uses the underlying infrastructure and records if the fx cache is
enabled.
X-link: https://github.com/pytorch/pytorch/pull/141059
Approved by: https://github.com/masnesral
Reviewed By: izaitsevfb
Differential Revision: D66405260
Pulled By: c00w
fbshipit-source-id: c88823ec4fd752d90385ed1d55f49a3e47fc78b0