forked from zilliztech/knowhere
-
Notifications
You must be signed in to change notification settings - Fork 0
feat: GPU_HNSW / GPU_HNSW_SQ index using faiss::gpu::GpuIndexHNSW — native FP32/FP16/BF16/INT8 #2
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
Open
devin-ai-integration
wants to merge
24
commits into
main
Choose a base branch
from
gpu-hnsw-faiss
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
24 commits
Select commit
Hold shift + click to select a range
8e24da1
feat: GPU_HNSW index using faiss::gpu::GpuIndexHNSW
devin-ai-integration[bot] b06fb32
fix: address Devin Review findings on GPU HNSW (vendored faiss)
premal 452da1d
fix: address Devin Review findings on GPU_HNSW index node
premal a224f00
fix: declare gpu_ntotal_/gpu_dim_ mutable (written from const Search())
premal 92e66b8
refactor: remove non-functional OCQ overflow queue from GPU HNSW
premal 03a613f
feat: register GPU_HNSW_SQ as an alias of GPU_HNSW
premal 18768e9
fix: mirror GPU HNSW re-review fixes into vendored faiss
premal 0165f9d
feat: register native FP16/BF16 for GPU_HNSW and GPU_HNSW_SQ
premal 5a9413c
fix: address GPU_HNSW review findings (gpu_ready_ reload, self-recall…
premal f4d7df3
test: add native int8 GPU_HNSW deserialize+search test
premal 71c4c78
harden GPU HNSW: fail Deserialize on GPU upload error; mirror faiss r…
premal 08ced66
fix(gpu_hnsw): quantized-cosine norms, reload lifetime safety, peak l…
premal 5d20153
fix(gpu_hnsw): guard gpu_index_ with mutex instead of atomic<shared_ptr>
premal 22fd143
test(gpu_hnsw): raise GPU HNSW cosine recall floor 0.65 -> 0.80
premal 073344a
test(gpu_hnsw): CUDA upload fault-injection during Deserialize
premal bac5b70
refactor(gpu_hnsw): drop redundant h_node_ids copy (vendored faiss sync)
premal 6906c99
fix(gpu_hnsw): run GPU upload on the DeserializeFromFile (mmap) load …
premal 4d3d97d
fix(gpu_hnsw): size load estimate to fp32 resident graph; restore mma…
premal 75474cd
revert(gpu_hnsw): drop MMAP eligibility; native int8 CPU copy is compact
premal 7d8a448
fix: GPU_HNSW load estimate to compact int8 transient (~2x file), not…
premal db139ad
fix(gpu_hnsw): update load-resource test to match file_size*2 estimate
premal 2f5a648
feat(gpu_hnsw): native int8 search via DP4A, bypass MockWrapper upcast
premal b5b1726
feat(gpu_hnsw): add DP4A dispatch in gpu_hnsw_search for INT8 dataset…
premal 5a5c502
fix(gpu_hnsw): fix DP4A encoding bug and L2 guard
premal File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.