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

too narrow constraints in a unit test? #685

Closed
alexanderguzhva opened this issue Jul 3, 2024 · 5 comments
Closed

too narrow constraints in a unit test? #685

alexanderguzhva opened this issue Jul 3, 2024 · 5 comments
Labels

Comments

@alexanderguzhva
Copy link
Collaborator

I've noticed a failure on a master branch (20caafd) in Knowhere unit tests. UT were compiled with clang-17 on an AVX-512 machine. gcc-9 shows no problems.

It seems like a 'noise' in floating-point operations.

I0703 14:11:50.064527  3057 hnsw.cc:139] [KNOWHERE][operator()][knowhere_build6] HNSW build progress: 80%
I0703 14:11:50.069895  3056 hnsw.cc:139] [KNOWHERE][operator()][knowhere_build5] HNSW build progress: 90%
I0703 14:11:50.074909  3035 time_recorder.cc:49] [KNOWHERE][PrintTimeRecord][knowhere_tests] Building HNSW cost: graph build (42.129970 ms)
I0703 14:11:50.075062  3035 hnsw.cc:150] [KNOWHERE][Add][knowhere_tests] there are 0 points can not be reached
I0703 14:11:50.075078  3035 time_recorder.cc:49] [KNOWHERE][PrintTimeRecord][knowhere_tests] Building HNSW cost: graph repair (0.176110 ms)
I0703 14:11:50.075088  3035 hnsw.cc:160] [KNOWHERE][Add][knowhere_tests] HNSW built with #points num:1000 #M:128 #max level:1 #ef_construction:200 #dim:128
I0703 14:11:50.075103  3035 time_recorder.cc:49] [KNOWHERE][PrintTimeRecord][knowhere_tests] Build index: done (42.780289 ms)

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
knowhere_tests is a Catch2 v3.3.1 host application.
Run with -? for options

-------------------------------------------------------------------------------
Test Iterator Mem Index With Float Vector
  Test Search with Bitset using iterator insufficient results
-------------------------------------------------------------------------------
/home/ubuntu/zilliz/knowhere_ut/knowhere/tests/ut/test_iterator.cc:205
...............................................................................

/home/ubuntu/zilliz/knowhere_ut/knowhere/tests/ut/test_iterator.cc:238: FAILED:
  REQUIRE( recall > kKnnRecallThreshold )
with expansion:
  0.8f > 0.8f
with messages:
  name := "HNSW_SQ8"
  cfg_json := "{"M":128,"dim":128,"ef":64,"efConstruction":200,"k":5,
  "metric_type":"COSINE"}"

Copy link
Contributor

github-actions bot commented Aug 3, 2024

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. Rotten issues close after 30d of inactivity. Reopen the issue with /reopen.

@github-actions github-actions bot added the stale label Aug 3, 2024
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Aug 10, 2024
@adarshs1310
Copy link

@alexanderguzhva How did you fix this?

@liliu-z
Copy link
Collaborator

liliu-z commented Sep 11, 2024

/reopen

@sre-ci-robot sre-ci-robot reopened this Sep 11, 2024
@sre-ci-robot
Copy link
Collaborator

@liliu-z: Reopened this issue.

In response to this:

/reopen

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@github-actions github-actions bot removed the stale label Sep 12, 2024
Copy link
Contributor

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. Rotten issues close after 30d of inactivity. Reopen the issue with /reopen.

@github-actions github-actions bot added the stale label Oct 12, 2024
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Oct 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants