[quant][graphmode] Test JIT tracing for dynamic quant cases (#40040)
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/40040
Test Plan:
python test/test_quantization.py TestQuantizeDynamicScriptJitPasses
Imported from OSS
Differential Revision: D22071277
fbshipit-source-id: e8aa8637e6364092b6ff1c3a48dfc4551eb645ec