We always first import Caffe2 or ONNX protos, and generate them into Glow IR, and then profile/quantize the Glow IR from there. However once you’re in Glow IR, there is no current way to generate anything back out to Caffe2/ONNX/PyTorch protos, whether quantized or not.
If this might fit your needs, you can always follow this tutorial 102 to get ONNX or Caffe2 from your PyTorch model, which you can then import to Glow.