blueskywwc:

However, it is found that the total number of calibration data remains unchanged, and if batch_size is modified, the accuracy after quantization will change. What is the reason?


Is there any randomness in which specific dataset slice is getting used for calibration?  Can you reproduce the accuracy changes if you set torch.manual_seed(0)?