Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

USearch HNSW index for ANN search#53447

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
rschu1ze merged 22 commits intoClickHouse:masterfromdavvard:master
Aug 21, 2023
Merged

USearch HNSW index for ANN search#53447

rschu1ze merged 22 commits intoClickHouse:masterfromdavvard:master
Aug 21, 2023

Conversation

@davvard
Copy link
Contributor

@davvarddavvard commentedAug 15, 2023
edited by rschu1ze
Loading

Fixes#52552

This PR integratesUSearch that implements HNSW approximate nearest neighbor search. The code and SQL interface is similar to the existing Annoy index. It can be easily extended in future to support further metrics and allow on-the-fly quantization.

Changelog category (leave one):

  • New Feature

Changelog entry (a user-readable short description of the changes that goes to CHANGELOG.md)

Add experimental support for HNSW as approximate neighbor search method.

Documentation entry for user-facing changes

  • [ X ] Documentation is written (mandatory for new features)

ashvardanian, rschu1ze, nikitamikhaylov, ucasfl, alexey-milovidov, tbragin, and lin72h reacted with rocket emoji
@CLAassistant
Copy link

CLAassistant commentedAug 15, 2023
edited
Loading

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign ourContributor License Agreement before we can accept your contribution.
2 out of3 committers have signed the CLA.

✅ rschu1ze
✅ davvard
❌ ashvardanian
You have signed the CLA already but the status is still pending? Let usrecheck it.

@rschu1zerschu1ze self-assigned thisAug 15, 2023
@robot-ch-test-poll4robot-ch-test-poll4 added the submodule changedAt least one submodule changed in this PR. labelAug 15, 2023
@robot-ch-test-poll4
Copy link
Contributor

robot-ch-test-poll4 commentedAug 15, 2023
edited
Loading

This is an automated comment for commit2c33051 with description of existing statuses. It's updated for the latest CI running
The full report is availablehere
The overall status of the commit is 🔴 failure

Check nameDescriptionStatus
AST fuzzerRuns randomly generated queries to catch program errors. The build type is optionally given in parenthesis. If it fails, ask a maintainer for help🟢 success
CI runningA meta-check that indicates the running CI. Normally, it's insuccess orpending state. The failed status indicates some problems with the PR🟢 success
ClickHouse build checkBuilds ClickHouse in various configurations for use in further steps. You have to fix the builds that fail. Build logs often has enough information to fix the error, but you might have to reproduce the failure locally. Thecmake options can be found in the build log, grepping forcmake. Use these options and follow thegeneral build process🟢 success
Compatibility checkChecks thatclickhouse binary runs on distributions with old libc versions. If it fails, ask a maintainer for help🟢 success
Docker image for serversThe check to build and optionally push the mentioned image to docker hub🟢 success
Docs CheckBuilds and tests the documentation🟢 success
Fast testNormally this is the first check that is ran for a PR. It builds ClickHouse and runs most ofstateless functional tests, omitting some. If it fails, further checks are not started until it is fixed. Look at the report to see which tests fail, then reproduce the failure locally as describedhere🟢 success
Flaky testsChecks if new added or modified tests are flaky by running them repeatedly, in parallel, with more randomization. Functional tests are run 100 times with address sanitizer, and additional randomization of thread scheduling. Integrational tests are run up to 10 times. If at least once a new test has failed, or was too long, this check will be red. We don't allow flaky tests, readthe doc🟢 success
Install packagesChecks that the built packages are installable in a clear environment🟢 success
Integration testsThe integration tests report. In parenthesis the package type is given, and in square brackets are the optional part/total tests🟢 success
Mergeable CheckChecks if all other necessary checks are successful🟢 success
Performance ComparisonMeasure changes in query performance. The performance test report is described in detailhere. In square brackets are the optional part/total tests🟢 success
Push to DockerhubThe check for building and pushing the CI related docker images to docker hub🟢 success
SQLTestThere's no description for the check yet, please add it to tests/ci/ci_config.py:CHECK_DESCRIPTIONS🟢 success
SQLancerFuzzing tests that detect logical bugs withSQLancer tool🔴 failure
SqllogicRun clickhouse on thesqllogic test set against sqlite and checks that all statements are passed🟢 success
Stateful testsRuns stateful functional tests for ClickHouse binaries built in various configurations -- release, debug, with sanitizers, etc🟢 success
Stateless testsRuns stateless functional tests for ClickHouse binaries built in various configurations -- release, debug, with sanitizers, etc🟢 success
Stress testRuns stateless functional tests concurrently from several clients to detect concurrency-related errors🟢 success
Style CheckRuns a set of checks to keep the code style clean. If some of tests failed, see the related log from the report🟢 success
Unit testsRuns the unit tests for different release types🟢 success
Upgrade checkRuns stress tests on server version from last release and then tries to upgrade it to the version from the PR. It checks if the new server can successfully startup without any errors, crashes or sanitizer asserts🔴 failure

@rschu1zerschu1ze added the can be testedAllows running workflows for external contributors labelAug 15, 2023
@robot-ch-test-poll1robot-ch-test-poll1 added the pr-featurePull request with new product feature labelAug 15, 2023
@ashvardanian
Copy link
Contributor

@rschu1ze, have you by any chance saved the error messages from RISC-V builds - the ones that are related to half-precision floats? We have a compilation flag, that allows switching to a more hardware-friendly implementation.

PS: Will extend documentation soon.

@rschu1ze
Copy link
Member

@rschu1ze, have you by any chance saved the error messages from RISC-V builds - the ones that are related to half-precision floats? We have a compilation flag, that allows switching to a more hardware-friendly implementation.

PS: Will extend documentation soon.

Couldn't find them anymore in our CI.

But to repro the error message locally, do the following:

  • checkout this PR
  • remove the exclusion of RISCV in contrib/CMakeLists.txt
  • comment out lineset (LINKER_NAME "riscv64-linux-gnu-ld.bfd" CACHE STRING "Linker name" FORCE) in cmake/linux/toolchain-riscv64.cmake (didn't manage to setup this linker on my system quickly, but we don't need the linker for the repro anyways)
  • mkdir build,cd build,cmake -DCMAKE_BUILD_TYPE=None -DCMAKE_TOOLCHAIN_FILE=../cmake/linux/toolchain-riscv64.cmake -DCMAKE_C_COMPILER=clang-16 -DCMAKE_CXX_COMPILER=clang++-16 ..,ninja src/CMakeFiles/dbms.dir/Storages/MergeTree/MergeTreeIndexUSearch.cpp.o
-- Build files have been written to: /home/ubuntu/repo/ch2/build_riscv[0/2] Re-checking globbed directories...[2/2] Building CXX object src/CMakeFiles/dbms.dir/Storages/MergeTree/MergeTreeIndexUSearch.cpp.oFAILED: src/CMakeFiles/dbms.dir/Storages/MergeTree/MergeTreeIndexUSearch.cpp.o/usr/bin/ccache /usr/bin/clang++-16 --target=riscv64-linux-gnu --sysroot=/home/ubuntu/repo/ch2/cmake/linux/../../contrib/sysroot/linux-riscv64 -DANNOYLIB_MULTITHREADED_BUILD -DAWS_SDK_VERSION_MAJOR=1 -DAWS_SDK_VERSION_MINOR=10 -DAWS_SDK_VERSION_PATCH=36 -DBOOST_ASIO_HAS_STD_INVOKE_RESULT=1 -DBOOST_ASIO_STANDALONE=1 -DCONFIGDIR=\"\" -DDUMMY_BACKTRACE -DENABLE_ANNOY -DENABLE_MULTITARGET_CODE=1 -DENABLE_USEARCH -DHAVE_CONFIG_H -DHAVE_FUTIMESAT=1 -DHAVE_ICONV=1 -DHAVE_LINUX_FS_H=1 -DHAVE_LINUX_TYPES_H=1 -DHAVE_LZMA_H=1 -DHAVE_STRUCT_STAT_ST_MTIM_TV_NSEC=1 -DHAVE_SYS_STATFS_H=1 -DHAVE_ZLIB_H=1 -DINCBIN_SILENCE_BITCODE_WARNING -DLIBSASL_EXPORTS=1 -DLZ4_DISABLE_DEPRECATE_WARNINGS=1 -DLZ4_FAST_DEC_LOOP=1 -DMAJOR_IN_SYSMACROS=1 -DOBSOLETE_CRAM_ATTR=1 -DOBSOLETE_DIGEST_ATTR=1 -DPLUGINDIR=\"\" -DPOCO_ENABLE_CPP11-DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DSASLAUTHD_CONF_FILE_DEFAULT=\"\" -DSNAPPY_CODEC_AVAILABLE -DSTD_EXCEPTION_HAS_STACK_TRACE=1 -DWITH_COVERAGE=0 -DWITH_GZFILEOP -DZLIB_COMPAT -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS -I/home/ubuntu/repo/ch2/build_riscv/includes/configs -I/home/ubuntu/repo/ch2/src -I/home/ubuntu/repo/ch2/build_riscv/src -I/home/ubuntu/repo/ch2/build_riscv/src/Core/include -I/home/ubuntu/repo/ch2/base/base/.. -I/home/ubuntu/repo/ch2/build_riscv/base/base/.. -I/home/ubuntu/repo/ch2/contrib/cctz/include -I/home/ubuntu/repo/ch2/base/pcg-random/. -I/home/ubuntu/repo/ch2/contrib/libfiu/libfiu -I/home/ubuntu/repo/ch2/contrib/miniselect/include -I/home/ubuntu/repo/ch2/contrib/zstd/lib -I/home/ubuntu/repo/ch2/contrib/libarchive-cmake -I/home/ubuntu/repo/ch2/contrib/libarchive/libarchive -I/home/ubuntu/repo/ch2/build_riscv/contrib/cyrus-sasl-cmake -I/home/ubuntu/repo/ch2/contrib/lz4/lib -isystem /home/ubuntu/repo/ch2/contrib/llvm-project/libcxx/include -isystem /home/ubuntu/repo/ch2/contrib/llvm-project/libcxxabi/include -isystem /home/ubuntu/repo/ch2/contrib/libunwind/include -isystem /home/ubuntu/repo/ch2/contrib/libdivide-cmake/. -isystem /home/ubuntu/repo/ch2/contrib/libdivide -isystem /home/ubuntu/repo/ch2/contrib/jemalloc-cmake/include -isystem /home/ubuntu/repo/ch2/contrib/abseil-cpp -isystem /home/ubuntu/repo/ch2/contrib/croaring/cpp -isystem /home/ubuntu/repo/ch2/contrib/croaring/include -isystem /home/ubuntu/repo/ch2/contrib/sparsehash-c11 -isystem /home/ubuntu/repo/ch2/contrib/incbin -isystem /home/ubuntu/repo/ch2/contrib/cityhash102/include -isystem /home/ubuntu/repo/ch2/contrib/boost -isystem /home/ubuntu/repo/ch2/base/poco/Net/include -isystem /home/ubuntu/repo/ch2/base/poco/Foundation/include -isystem /home/ubuntu/repo/ch2/base/poco/NetSSL_OpenSSL/include -isystem /home/ubuntu/repo/ch2/base/poco/Crypto/include -isystem /home/ubuntu/repo/ch2/contrib/boringssl/include -isystem /home/ubuntu/repo/ch2/base/poco/Util/include -isystem /home/ubuntu/repo/ch2/base/poco/JSON/include -isystem /home/ubuntu/repo/ch2/base/poco/XML/include -isystem /home/ubuntu/repo/ch2/contrib/replxx/include -isystem /home/ubuntu/repo/ch2/contrib/fmtlib-cmake/../fmtlib/include -isystem /home/ubuntu/repo/ch2/contrib/magic_enum/include -isystem /home/ubuntu/repo/ch2/contrib/double-conversion -isystem /home/ubuntu/repo/ch2/contrib/dragonbox/include -isystem /home/ubuntu/repo/ch2/contrib/re2 -isystem /home/ubuntu/repo/ch2/build_riscv/contrib/re2-cmake -isystem /home/ubuntu/repo/ch2/contrib/zlib-ng -isystem /home/ubuntu/repo/ch2/build_riscv/contrib/zlib-ng-cmake -isystem /home/ubuntu/repo/ch2/contrib/pdqsort -isystem /home/ubuntu/repo/ch2/contrib/xz/src/liblzma/api -isystem /home/ubuntu/repo/ch2/contrib/aws/src/aws-cpp-sdk-core/include -isystem /home/ubuntu/repo/ch2/build_riscv/contrib/aws-cmake/include -isystem /home/ubuntu/repo/ch2/contrib/aws/generated/src/aws-cpp-sdk-s3/include -isystem /home/ubuntu/repo/ch2/contrib/aws-c-auth/include -isystem /home/ubuntu/repo/ch2/contrib/aws-c-common/include -isystem /home/ubuntu/repo/ch2/contrib/aws-c-io/include -isystem /home/ubuntu/repo/ch2/contrib/aws-crt-cpp/include -isystem /home/ubuntu/repo/ch2/contrib/aws-c-mqtt/include -isystem /home/ubuntu/repo/ch2/contrib/aws-c-sdkutils/include -isystem /home/ubuntu/repo/ch2/contrib/snappy -isystem /home/ubuntu/repo/ch2/build_riscv/contrib/snappy-cmake -isystem /home/ubuntu/repo/ch2/contrib/libbcrypt -isystem /home/ubuntu/repo/ch2/contrib/msgpack-c/include -isystem /home/ubuntu/repo/ch2/build_riscv/contrib/liburing/src/include-compat -isystem /home/ubuntu/repo/ch2/build_riscv/contrib/liburing/src/include -isystem /home/ubuntu/repo/ch2/contrib/liburing/src/include -isystem /home/ubuntu/repo/ch2/contrib/fast_float/include -isystem /home/ubuntu/repo/ch2/contrib/librdkafka-cmake/include -isystem /home/ubuntu/repo/ch2/contrib/librdkafka/src -isystem /home/ubuntu/repo/ch2/build_riscv/contrib/librdkafka-cmake/auxdir -isystem /home/ubuntu/repo/ch2/contrib/cppkafka/include -isystem /home/ubuntu/repo/ch2/contrib/nats-io/src -isystem /home/ubuntu/repo/ch2/contrib/nats-io/src/adapters -isystem /home/ubuntu/repo/ch2/contrib/nats-io/src/include -isystem /home/ubuntu/repo/ch2/contrib/nats-io/src/unix -isystem /home/ubuntu/repo/ch2/contrib/libuv/include -isystem /home/ubuntu/repo/ch2/contrib/krb5/src/include -isystem /home/ubuntu/repo/ch2/build_riscv/contrib/krb5-cmake/include -isystem /home/ubuntu/repo/ch2/contrib/NuRaft/include -isystem /home/ubuntu/repo/ch2/base/poco/MongoDB/include -isystem /home/ubuntu/repo/ch2/base/poco/Redis/include -isystem /home/ubuntu/repo/ch2/contrib/icu/icu4c/source/i18n -isystem /home/ubuntu/repo/ch2/contrib/icu/icu4c/source/common -isystem /home/ubuntu/repo/ch2/contrib/capnproto/c++/src -isystem /home/ubuntu/repo/ch2/build_riscv/contrib/avro-cmake/include -isystem /home/ubuntu/repo/ch2/contrib/avro/lang/c++/api -isystem /home/ubuntu/repo/ch2/contrib/google-protobuf/src -isystem /home/ubuntu/repo/ch2/contrib/azure/sdk/core/azure-core/inc -isystem /home/ubuntu/repo/ch2/contrib/azure/sdk/identity/azure-identity/inc -isystem /home/ubuntu/repo/ch2/contrib/azure/sdk/storage/azure-storage-common/inc -isystem /home/ubuntu/repo/ch2/contrib/azure/sdk/storage/azure-storage-blobs/inc -isystem /home/ubuntu/repo/ch2/contrib/s2geometry/src -isystem /home/ubuntu/repo/ch2/contrib/AMQP-CPP/include -isystem /home/ubuntu/repo/ch2/contrib/AMQP-CPP -isystem /home/ubuntu/repo/ch2/contrib/sqlite-amalgamation -isystem /home/ubuntu/repo/ch2/contrib/rocksdb/include -isystem /home/ubuntu/repo/ch2/contrib/libpqxx/include -isystem /home/ubuntu/repo/ch2/contrib/libpq -isystem /home/ubuntu/repo/ch2/contrib/libpq/include -isystem/home/ubuntu/repo/ch2/contrib/libstemmer_c/include -isystem /home/ubuntu/repo/ch2/contrib/wordnet-blast -isystem /home/ubuntu/repo/ch2/contrib/lemmagen-c/include -isystem /home/ubuntu/repo/ch2/contrib/ulid-c/include -isystem /home/ubuntu/repo/ch2/contrib/simdjson/include -isystem /home/ubuntu/repo/ch2/contrib/rapidjson/include -isystem /home/ubuntu/repo/ch2/contrib/consistent-hashing -isystem /home/ubuntu/repo/ch2/contrib/annoy/src -isystem /home/ubuntu/repo/ch2/contrib/FP16/include -isystem /home/ubuntu/repo/ch2/contrib/robin-map/include -isystem /home/ubuntu/repo/ch2/contrib/SimSIMD-map/include -isystem /home/ubuntu/repo/ch2/contrib/usearch/include --gcc-toolchain=/home/ubuntu/repo/ch2/cmake/linux/../../contrib/sysroot/linux-riscv64 -std=c++20 -fdiagnostics-color=always -Xclang -fuse-ctor-homing -Wno-enum-constexpr-conversion -fsized-deallocation  -gdwarf-aranges -pipe -fasynchronous-unwind-tables -ffile-prefix-map=/home/ubuntu/repo/ch2=. -falign-functions=32 -fdiagnostics-absolute-paths -fstrict-vtable-pointers -Wall -Wextra -Wframe-larger-than=65536 -Weverything -Wpedantic -Wno-zero-length-array -Wno-c++98-compat-pedantic -Wno-c++98-compat -Wno-c++20-compat -Wno-sign-conversion -Wno-implicit-int-conversion -Wno-implicit-int-float-conversion -Wno-ctad-maybe-unsupported -Wno-disabled-macro-expansion -Wno-documentation-unknown-command -Wno-double-promotion -Wno-exit-time-destructors -Wno-float-equal -Wno-global-constructors -Wno-missing-prototypes -Wno-missing-variable-declarations -Wno-padded -Wno-switch-enum -Wno-undefined-func-template -Wno-unused-template -Wno-vla -Wno-weak-template-vtables -Wno-weak-vtables -Wno-thread-safety-negative -Wno-enum-constexpr-conversion -Wno-unsafe-buffer-usage -O2 -g -DNDEBUG -O3 -g -gdwarf-4  -fno-pie   -D OS_LINUX -Werror -nostdinc++ -std=c++2b -MD -MT src/CMakeFiles/dbms.dir/Storages/MergeTree/MergeTreeIndexUSearch.cpp.o -MF src/CMakeFiles/dbms.dir/Storages/MergeTree/MergeTreeIndexUSearch.cpp.o.d -o src/CMakeFiles/dbms.dir/Storages/MergeTree/MergeTreeIndexUSearch.cpp.o -c /home/ubuntu/repo/ch2/src/Storages/MergeTree/MergeTreeIndexUSearch.cppIn file included from /home/ubuntu/repo/ch2/src/Storages/MergeTree/MergeTreeIndexUSearch.cpp:3:In file included from /home/ubuntu/repo/ch2/src/Storages/MergeTree/MergeTreeIndexUSearch.h:5:In file included from /home/ubuntu/repo/ch2/src/Storages/MergeTree/ApproximateNearestNeighborIndexesCommon.h:3:In file included from /home/ubuntu/repo/ch2/src/Storages/MergeTree/MergeTreeIndices.h:3:In file included from /home/ubuntu/repo/ch2/contrib/llvm-project/libcxx/include/string:551:In file included from /home/ubuntu/repo/ch2/contrib/llvm-project/libcxx/include/string_view:223:In file included from /home/ubuntu/repo/ch2/contrib/llvm-project/libcxx/include/functional:518:/home/ubuntu/repo/ch2/contrib/llvm-project/libcxx/include/__functional/function.h:710:16: error: loop not vectorized: the optimizer was unable to perform the requested transformation; the transformation might be disabled or specified as part of an unsupported transformation ordering [-Werror,-Wpass-failed=transform-warning]    static _Rp __call_impl(const __policy_storage* __buf,               ^/home/ubuntu/repo/ch2/contrib/llvm-project/libcxx/include/__functional/function.h:710:16: note: could not determine the original source location for ./contrib/usearch/include/usearch/index_plugins.hpp:879:9/home/ubuntu/repo/ch2/contrib/llvm-project/libcxx/include/__functional/function.h:710:16: note: could not determine the original source location for ./contrib/usearch/include/usearch/index_plugins.hpp:904:9/home/ubuntu/repo/ch2/contrib/llvm-project/libcxx/include/__functional/function.h:710:16: error: loop not vectorized: the optimizer was unable to perform the requested transformation; the transformation might be disabled or specified as part of an unsupported transformation ordering [-Werror,-Wpass-failed=transform-warning]    static _Rp __call_impl(const __policy_storage* __buf,               ^/home/ubuntu/repo/ch2/contrib/llvm-project/libcxx/include/__functional/function.h:710:16: note: could not determine the original source location for ./contrib/usearch/include/usearch/index_plugins.hpp:904:9/home/ubuntu/repo/ch2/contrib/llvm-project/libcxx/include/__functional/function.h:710:16: note: could not determine the original source location for ./contrib/usearch/include/usearch/index_plugins.hpp:1099:9/home/ubuntu/repo/ch2/contrib/llvm-project/libcxx/include/__functional/function.h:710:16: error: loop not vectorized: the optimizer was unable to perform the requested transformation; the transformation might be disabled or specified as part of an unsupported transformation ordering [-Werror,-Wpass-failed=transform-warning]    static _Rp __call_impl(const __policy_storage* __buf,               ^/home/ubuntu/repo/ch2/contrib/llvm-project/libcxx/include/__functional/function.h:710:16: note: could not determine the original source location for ./contrib/usearch/include/usearch/index_plugins.hpp:1099:9/home/ubuntu/repo/ch2/contrib/llvm-project/libcxx/include/__functional/function.h:710:16: note: could not determine the original source location for ./contrib/usearch/include/usearch/index_plugins.hpp:879:9/home/ubuntu/repo/ch2/contrib/llvm-project/libcxx/include/__functional/function.h:710:16: error: loop not vectorized: the optimizer was unable to perform the requested transformation; the transformation might be disabled or specified as part of an unsupported transformation ordering [-Werror,-Wpass-failed=transform-warning]    static _Rp __call_impl(const __policy_storage* __buf,               ^/home/ubuntu/repo/ch2/contrib/llvm-project/libcxx/include/__functional/function.h:710:16: note: could not determine the original source location for ./contrib/usearch/include/usearch/index_plugins.hpp:879:9/home/ubuntu/repo/ch2/contrib/llvm-project/libcxx/include/__functional/function.h:710:16: note: could not determine the original source location for ./contrib/usearch/include/usearch/index_plugins.hpp:904:9/home/ubuntu/repo/ch2/contrib/llvm-project/libcxx/include/__functional/function.h:710:16: error: loop not vectorized: the optimizer was unable to perform the requested transformation; the transformation might be disabled or specified as part of an unsupported transformation ordering [-Werror,-Wpass-failed=transform-warning]    static _Rp __call_impl(const __policy_storage* __buf,               ^/home/ubuntu/repo/ch2/contrib/llvm-project/libcxx/include/__functional/function.h:710:16: note: could not determine the original source location for ./contrib/usearch/include/usearch/index_plugins.hpp:904:9/home/ubuntu/repo/ch2/contrib/llvm-project/libcxx/include/__functional/function.h:710:16: note: could not determine the original source location for ./contrib/usearch/include/usearch/index_plugins.hpp:904:9/home/ubuntu/repo/ch2/contrib/llvm-project/libcxx/include/__functional/function.h:710:16: error: loop not vectorized: the optimizer was unable to perform the requested transformation; the transformation might be disabled or specified as part of an unsupported transformation ordering [-Werror,-Wpass-failed=transform-warning]    static _Rp __call_impl(const __policy_storage* __buf,               ^/home/ubuntu/repo/ch2/contrib/llvm-project/libcxx/include/__functional/function.h:710:16: note: could not determine the original source location for ./contrib/usearch/include/usearch/index_plugins.hpp:904:9/home/ubuntu/repo/ch2/contrib/llvm-project/libcxx/include/__functional/function.h:710:16: note: could not determine the original source location for ./contrib/usearch/include/usearch/index_plugins.hpp:1123:9/home/ubuntu/repo/ch2/contrib/llvm-project/libcxx/include/__functional/function.h:710:16: error: loop not vectorized: the optimizer was unable to perform the requested transformation; the transformation might be disabled or specified as part of an unsupported transformation ordering [-Werror,-Wpass-failed=transform-warning]    static _Rp __call_impl(const __policy_storage* __buf,               ^/home/ubuntu/repo/ch2/contrib/llvm-project/libcxx/include/__functional/function.h:710:16: note: could not determine the original source location for ./contrib/usearch/include/usearch/index_plugins.hpp:1123:9/home/ubuntu/repo/ch2/contrib/llvm-project/libcxx/include/__functional/function.h:710:16: note: could not determine the original source location for ./contrib/usearch/include/usearch/index_plugins.hpp:934:9/home/ubuntu/repo/ch2/contrib/llvm-project/libcxx/include/__functional/function.h:710:16: error: loop not vectorized: the optimizer was unable to perform the requested transformation; the transformation might be disabled or specified as part of an unsupported transformation ordering [-Werror,-Wpass-failed=transform-warning]    static _Rp __call_impl(const __policy_storage* __buf,               ^/home/ubuntu/repo/ch2/contrib/llvm-project/libcxx/include/__functional/function.h:710:16: note: could not determine the original source location for ./contrib/usearch/include/usearch/index_plugins.hpp:934:9/home/ubuntu/repo/ch2/contrib/llvm-project/libcxx/include/__functional/function.h:710:16: note: could not determine the original source location for ./contrib/usearch/include/usearch/index_plugins.hpp:934:9/home/ubuntu/repo/ch2/contrib/llvm-project/libcxx/include/__functional/function.h:710:16: error: loop not vectorized: the optimizer was unable to perform the requested transformation; the transformation might be disabled or specified as part of an unsupported transformation ordering [-Werror,-Wpass-failed=transform-warning]    static _Rp __call_impl(const __policy_storage* __buf,               ^/home/ubuntu/repo/ch2/contrib/llvm-project/libcxx/include/__functional/function.h:710:16: note: could not determine the original source location for ./contrib/usearch/include/usearch/index_plugins.hpp:934:9/home/ubuntu/repo/ch2/contrib/llvm-project/libcxx/include/__functional/function.h:710:16: note: could not determine the original source location for ./contrib/usearch/include/usearch/index_plugins.hpp:934:9/home/ubuntu/repo/ch2/contrib/llvm-project/libcxx/include/__functional/function.h:710:16: error: loop not vectorized: the optimizer was unable to perform the requested transformation; the transformation might be disabled or specified as part of an unsupported transformation ordering [-Werror,-Wpass-failed=transform-warning]    static _Rp __call_impl(const __policy_storage* __buf,[...]

@rschu1zerschu1ze changed the titleAdd: USearch IntegrationUSearch HNSW index for ANN searchAug 18, 2023
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@alexey-milovidovalexey-milovidovalexey-milovidov left review comments

@rschu1zerschu1zerschu1ze left review comments

+1 more reviewer

@ashvardanianashvardanianashvardanian requested changes

Reviewers whose approvals may not affect merge requirements

Assignees

@rschu1zerschu1ze

Labels

can be testedAllows running workflows for external contributorspr-featurePull request with new product featuresubmodule changedAt least one submodule changed in this PR.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Support for Vector Search HNSW Index

7 participants

@davvard@CLAassistant@robot-ch-test-poll4@ashvardanian@rschu1ze@alexey-milovidov@robot-ch-test-poll1

[8]ページ先頭

©2009-2025 Movatter.jp