Open akjt opened 1 year ago
But is that not only for training?
I already have a trained model, and wanted to use the fusion+quantisation - so i am using this centerpoint_eval.py
, however, the problem is that it wants to fuse before loading the weights, which won't work for PTQ scenario since you dont compress the weights.
It works well when I just apply fusion since it would load the weights before the layer fusions.
PTQ is the first step of QAT. You can modify it yourself to achieve your purpose. We need to sort out the relationship between PTQ and layer-fuse and handle it properly, as done in the code.
I see the example regarding centerpoint scn 3D backbone which includes fusion and QAT.
Does this library support the use of PTQ instead - and in case where can I look for an example?