masahi:

In both version, the last line in the above script, torch._C._jit_pass_lower_graph(graph, script_module._c) , returns all quantized parameters. So technically my original problem is solved. My question is if this is an expected behavior.


probably not, I’ll create an issue for this, this for reporting