You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Issue came up because there is a disagreement between what is expected in MIGX and ONNX and the MLIR implementation of dequantizelinear. See ROCm/rocMLIR#1567. Additionaly the qlinear_resued matcher in MIGX inherently reduces the accuracy of the model. Plan is to remove the referenced matcher in the develop branch and instead merge pointwise operations with multiple outputs into MLIR.
This issue is resolved by ROCm/rocMLIR#1567 and commenting out the qlinear_reused matcher in the 6.2 release #3264. For a longer-term fix we should be removing the matcher altogether and fusing better: #3269.
The accuracy test in torch_migraphx for asymmetricly quantized resnet50 is failed after adding #2613. Here is a simpler repro program for the issue:
Verify using:
migraphx-driver verify qlinear_reused_fail.py
Without 2613, this passes in both cases: asymmetric = True, asymmetric = False
With 2613 this fails when asymmetric = True.
The error here is not just from the extra dequantize added by this pass, seems like there is more going on here.
@pfultz2
The text was updated successfully, but these errors were encountered: