Add entire _dynamo.config as a json for logging (#137216)
Summary:
X-link: https://github.com/pytorch/pytorch/pull/137216
Approved by: https://github.com/ezyang
Reviewed By: clee2000
Differential Revision: D64290696
Pulled By: jovianjaison
fbshipit-source-id: 06886bfb7e3f37895e3a8bf567366e4c4cc1d248
Co-authored-by: Aaron Gokaslan <aaronGokaslan@gmail.com>