[fx2trt] Export some options out (#71315)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/71315
Add variables in LowerSetting to export options from TRTInterpreter and interpreter.run:
- explicit precision
- int8_mode
Export skip_folding_node_fn options from split_const_subgraphs.
Reviewed By: wushirong
Differential Revision: D33585385
fbshipit-source-id: 3d20b69d255ad97487e462436ae479587a8e2118
(cherry picked from commit f24a279517b16624a02d458e10275d78ec3d5699)