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

[Bug]: ArgMin failed to return the first index of -inf #27416

Open
3 tasks done
tianleiwu opened this issue Nov 5, 2024 · 0 comments
Open
3 tasks done

[Bug]: ArgMin failed to return the first index of -inf #27416

tianleiwu opened this issue Nov 5, 2024 · 0 comments
Assignees
Labels
bug Something isn't working category: ONNX FE OpenVINO ONNX FrontEnd support_request

Comments

@tianleiwu
Copy link

OpenVINO Version

Master Branch

Operating System

Ubuntu 20.04 (LTS)

Device used for inference

CPU

Framework

ONNX

Model used

No response

Issue description

There is one unit test for OpenVino provider failed in onnxruntime:
https://github.com/microsoft/onnxruntime/blob/6da3dea432e13a4838e67c66438a00ca740f0903/onnxruntime/test/providers/cpu/reduction/reduction_ops_test.cc#L3693-L3726

In general, we would like ArgMin to be stable, either returns the index of the first or the last minimum value.

The test replaces some elements of a vector with -inf, and expect ArgMin to return the index of first -inf in the list. But test failed.

Step-by-step reproduction

No response

Relevant log output

No response

Issue submission checklist

  • I'm reporting an issue. It's not a question.
  • I checked the problem with the documentation, FAQ, open issues, Stack Overflow, etc., and have not found a solution.
  • There is reproducer code and related data files such as images, videos, models, etc.
@tianleiwu tianleiwu added bug Something isn't working support_request labels Nov 5, 2024
@rkazants rkazants added the category: ONNX FE OpenVINO ONNX FrontEnd label Nov 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working category: ONNX FE OpenVINO ONNX FrontEnd support_request
Projects
None yet
Development

No branches or pull requests

4 participants
@tianleiwu @rkazants @gkrivor and others