Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable test_qlinearconv_cpu onnx backend test #2461

Merged
merged 3 commits into from
Nov 22, 2023

Conversation

gyulaz-htec
Copy link
Collaborator

QLinearConv was added in #2225, but the related onnx backend test (test_qlinearconv_cpu) was not enabled.
Fixes: migraphx-benchmark#114

@migraphx-bot
Copy link
Collaborator

Test Batch Rate new
8c7379
Rate old
225873
Diff Compare
torchvision-resnet50 64 2,830.13 2,829.18 0.03%
torchvision-resnet50_fp16 64 6,495.36 6,499.27 -0.06%
torchvision-densenet121 32 2,075.56 2,098.86 -1.11%
torchvision-densenet121_fp16 32 3,674.84 3,663.93 0.30%
torchvision-inceptionv3 32 1,580.26 1,585.30 -0.32%
torchvision-inceptionv3_fp16 32 2,568.01 2,570.22 -0.09%
cadene-inceptionv4 16 702.74 703.00 -0.04%
cadene-resnext64x4 16 691.73 692.19 -0.07%
slim-mobilenet 64 8,326.02 8,333.06 -0.08%
slim-nasnetalarge 64 225.52 225.49 0.01%
slim-resnet50v2 64 2,665.11 2,664.66 0.02%
bert-mrpc-onnx 8 823.49 822.01 0.18%
bert-mrpc-tf 1 388.89 388.70 0.05%
pytorch-examples-wlang-gru 1 303.07 303.71 -0.21%
pytorch-examples-wlang-lstm 1 316.27 320.29 -1.26%
torchvision-resnet50_1 1 599.67 605.77 -1.01%
torchvision-inceptionv3_1 1 340.69 341.44 -0.22%
cadene-dpn92_1 1 401.44 399.88 0.39%
cadene-resnext101_1 1 328.01 328.75 -0.23%
slim-vgg16_1 1 459.59 460.49 -0.19%
slim-mobilenet_1 1 2,099.61 2,127.55 -1.31%
slim-inceptionv4_1 1 217.74 220.20 -1.12%
onnx-taau-downsample 1 303.52 303.83 -0.10%
dlrm-criteoterabyte 1 21.61 21.61 0.00%
dlrm-criteoterabyte_fp16 1 40.64 40.62 0.04%
agentmodel 1 nan nan nan%
unet_fp16 2 54.76 54.72 0.07%
resnet50v1_fp16 1 971.47 954.24 1.80%
bert_base_cased_fp16 64 903.07 903.07 0.00%
bert_large_uncased_fp16 32 285.55 285.54 0.00%
bert_large_fp16 1 167.14 166.50 0.39%
distilgpt2_fp16 16 1,281.37 1,282.05 -0.05%

This build is not recommended to merge 🔴

@migraphx-bot
Copy link
Collaborator


    :white_check_mark:bert-mrpc-onnx: PASSED: MIGraphX meets tolerance

    :white_check_mark:bert-mrpc-tf: PASSED: MIGraphX meets tolerance

    :white_check_mark:pytorch-examples-wlang-gru: PASSED: MIGraphX meets tolerance

    :white_check_mark:pytorch-examples-wlang-lstm: PASSED: MIGraphX meets tolerance

    :white_check_mark:torchvision-resnet50_1: PASSED: MIGraphX meets tolerance

    :white_check_mark:torchvision-inceptionv3_1: PASSED: MIGraphX meets tolerance

    :white_check_mark:cadene-dpn92_1: PASSED: MIGraphX meets tolerance

    :white_check_mark:cadene-resnext101_1: PASSED: MIGraphX meets tolerance

    :white_check_mark:slim-vgg16_1: PASSED: MIGraphX meets tolerance

    :white_check_mark:slim-mobilenet_1: PASSED: MIGraphX meets tolerance

    :white_check_mark:slim-inceptionv4_1: PASSED: MIGraphX meets tolerance

    :white_check_mark:dlrm-criteoterabyte: PASSED: MIGraphX meets tolerance

❌agentmodel: ERROR - check error outputTraceback (most recent call last):
File "/src/AMDMIGraphX/tools/accuracy/accuracy_checker.py", line 336, in
main()
File "/src/AMDMIGraphX/tools/accuracy/accuracy_checker.py", line 254, in main
pred_migx = np.array(model.run(params)[-1])
RuntimeError: /src/AMDMIGraphX/src/targets/gpu/device/include/migraphx/gpu/device/visit.hpp:140: hip_visit_views_impl: Ranks must be the same


    :white_check_mark:unet: PASSED: MIGraphX meets tolerance

    :white_check_mark:resnet50v1: PASSED: MIGraphX meets tolerance

🔴bert_base_cased_fp16: FAILED: MIGraphX is not within tolerance - check verbose output


🔴bert_large_uncased_fp16: FAILED: MIGraphX is not within tolerance - check verbose output


    :white_check_mark:bert_large: PASSED: MIGraphX meets tolerance

🔴distilgpt2_fp16: FAILED: MIGraphX is not within tolerance - check verbose output

@causten causten merged commit 865d838 into develop Nov 22, 2023
14 of 15 checks passed
@causten causten deleted the enable_qlinearconv_onnx_test branch November 22, 2023 20:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

QLinearConv operator is unsupported
6 participants