Một mục mã nguồn mở trong kho dữ liệu GitHub của TopGit: zilliztech/knowhere, 390 sao, C++. Vector search engine inside Milvus, integrating FAISS, HNSW, DiskANN.
Tóm tắt dựng từ metadata GitHub của chính dự án — chưa có bài review TopGit. Trang sẽ tự động cập nhật khi bài review đầy đủ được xuất bản.
VÌ SAO CHƯA CÓ REVIEW
TopGit viết bài đầy đủ cho repo có nhiều sao nhất và được yêu cầu nhiều nhất. Trang này là snapshot trong thời gian chờ — xem README gốc ở tab READ ME.
This document will help you to build the Knowhere repository from source code and to run unit tests. Please file an issue if there's a problem.
Introduction
Knowhere is written in C++. It is an independent project that act as Milvus's internal core.
Building Knowhere Within Milvus
If you wish to only use Knowhere within Milvus without changing any of the Knowhere source code, we suggest that you move to the Milvus main project and build Milvus directly, where Knowhere is then built implicitly during Milvus build.
System Requirements
All Linux distributions are available for Knowhere development. However, a majority of our contributor worked with Ubuntu or CentOS systems, with a small portion of Mac (both x86_64 and Apple Silicon) contributors. If you would like Knowhere to build and run on other distributions, you are more than welcome to file an issue and contribute!
Here's a list of verified OS types where Knowhere can successfully build and run:
Ubuntu 22.04 x86_64
Ubuntu 22.04 Aarch64
Ubuntu 20.04 x86_64 / Aarch64 (EOL by April 2025 and kept for legacy reasons; see scripts/install_deps.sh for details)
MacOS (x86_64)
MacOS (Apple Silicon)
Building Knowhere From Source Code
Install Dependencies
scripts/install_deps.sh install all dependencies for building, testing, and shipping the knowhere library. If you don't need the full pipeline, please refer to the file and modify it for a more fine-grained dependency control.
$ bash scripts/install_deps.sh
Build From Source Code
A top-level Makefile provides a unified build interface. Run make help to see all targets and flags.
GPU support is disabled by default, including with WITH_CARDINAL=True.
Set WITH_GPU=True to enable Cardinal GPU support with Cardinal, or cuVS otherwise.
WITH_CUVS=True explicitly enables cuVS, including alongside Cardinal, independently of WITH_GPU.
# CPU release (default)
$ make
# GPU release (cuVS)
$ make WITH_GPU=True
# CPU with unit tests
$ make WITH_UT=True
# CPU UT + AddressSanitizer
$ make WITH_UT=True WITH_ASAN=True
# GPU with unit tests
$ make WITH_GPU=True WITH_UT=True
# Debug build
$ make WITH_DEBUG=True
# C ABI and Java JNI bindings with the C tests (see java/README.md)
$ make WITH_JNI=True WITH_C_API_TESTS=True
# Custom compiler via Conan profile (e.g. clang, gcc-15)
$ make CONAN_PROFILE=clang14
Running Unit Tests
# requires a prior build with WITH_UT=True
$ make test
Clean up
$ make clean
Python Wheel
Building the Python wheel requires swig and Python development headers (python3-dev on Ubuntu). These are installed automatically by scripts/install_deps.sh.
After building Knowhere with a Release configuration:
For more options (clean build, verbose, custom Python binary), see python/build_portable_wheel.sh -h.
C and Java Bindings
Optional C ABI and Java 11 JNI bindings expose indexes, brute-force search and
named index blobs without a framework dependency. See java/README.md
for build options, platform JAR packaging, ownership rules and tests.
Contributing
Pre-Commit
Before submitting a pull request, run pre-commit checks locally:
pip3 install pre-commit
pre-commit install --hook-type pre-commit --hook-type pre-push
# Run all pre-commit hooks
$ make pre-commit
# Or run individually:
$ make format # clang-format
$ make lint # clang-tidy (requires a prior build)
If clang-format and clang-tidy are not already installed:
Trang TopGit này là một snapshot — tab "Readme" hiển thị nguyên văn README của repo (đã bỏ link, giữ ảnh). Repo GitHub ở github.com/zilliztech/knowhere là nguồn chính thức.
zilliztech/knowhere có bao nhiêu sao?
zilliztech/knowhere có 390 sao GitHub — tải lại trang để xem số mới nhất, hoặc xem trực tiếp github.com/zilliztech/knowhere. TopGit phản chiếu số sao của GitHub nhưng không cam kết đến từng phút.
zilliztech/knowhere có phải mã nguồn mở không?
Có — zilliztech/knowhere phát hành theo license Apache-2.0, nghĩa là mã nguồn mở để đọc, fork và (tùy license) tái sử dụng. Mã: github.com/zilliztech/knowhere.
zilliztech/knowhere còn đang phát triển không?
Commit gần nhất trên zilliztech/knowhere là 12 ngày trước (theo timestamp GitHub). Repo có 177 fork — một chỉ báo về mức độ quan tâm của cộng đồng.
zilliztech/knowhere là gì?
zilliztech/knowhere (zilliztech/knowhere) là dự án C++ trên GitHub. Theo mô tả gốc: Vector search engine inside Milvus, integrating FAISS, HNSW, DiskANN.
Đọc đầy đủ README ở tab phía trên.
Muốn nghe thêm một ý kiến về knowhere?
Hỏi một AI đọc được trang này — một cú bấm là có ngay nhận định về knowhere.