Fix all factory invocations in quantized to correctly propagate options. (#26966)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/26966
Without this, you may allocate intermediates which are non-variables
when you should allocate variables.
Should help with discussion in #26868.
Signed-off-by: Edward Z. Yang <ezyang@fb.com>
Test Plan: Imported from OSS
Differential Revision: D17629863
Pulled By: ezyang
fbshipit-source-id: 0dd9b218d3fc2dbbbbd9b1712db8ab4dac16ea22