Actually I think I found the way.
I need to use a torch.nn.quantized.FloatFunctional as a functor and then swap it by a torch.nn.quantized.QFunctional  after model conversion but before tracing.
Is that the recommended way to proceed?
Or is there a more straightforward alternative?