Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
96 commits
Select commit Hold shift + click to select a range
f96aa4b
update README: clone submodule (#323)
suiguoxin Jul 28, 2022
a192a17
Update git clone command to include ThirdParty submodules (#326)
phgn0 Jul 29, 2022
465eb3b
improve performance and memory usage (#321)
MaggieQi Aug 10, 2022
759758c
add tools for opq training and inference (#324)
jinwei14 Aug 31, 2022
60f709b
Fix build errors for GPU PQ
bkarsin Sep 15, 2022
4d2eccf
Added more error checking for GPU PQ
bkarsin Sep 19, 2022
4cabd0b
Small fixes
bkarsin Sep 20, 2022
5ce6fd2
Fix Windows build error
bkarsin Sep 22, 2022
2b17965
Fix zstd build/link error
bkarsin Sep 22, 2022
77b93a2
Fix for Windows build
bkarsin Sep 22, 2022
5112fff
Add SIMDUtils.cpp to GPU build
Diego-Cai Sep 22, 2022
6242cff
Try to trigger Azure Pipeline CL build
Diego-Cai Sep 26, 2022
cbc4e0d
Remove space
Diego-Cai Sep 27, 2022
ca61760
Merge pull request #334 from bkarsin/fix_gpu_pq_build
caijiediego Sep 27, 2022
55ca655
Add GPU KNN to Generate Truth (#336)
caijiediego Oct 8, 2022
f7e3fe4
Fix low accuracy issue with GPU index build for int8/cosine configura…
bkarsin Nov 1, 2022
636b3d6
Add nni_auto_tune example (#325)
smallv0221 Nov 1, 2022
98ef3b1
Fix graph accuracy of GPU build for PQ/OPQ (#340)
bkarsin Nov 3, 2022
3d76e5e
Add 768D support for GPU Generate Ground Truth (#343)
caijiediego Nov 3, 2022
ebeb690
Fix windows build issues for GPU code (#346)
bkarsin Nov 17, 2022
2d2cfb3
fix bkt bug: shuffle bug when clustering (#349)
Yuming-Xu Nov 29, 2022
dda1180
Fix python version (#333)
MaggieQi Dec 2, 2022
de5b7f8
add logger for total distance (#351)
jinwei14 Jan 6, 2023
9c777df
Prevent saving failure in SaveindexToFile (#355)
PhilipBAdams Feb 21, 2023
a5bd48e
Fix static initialization fiasco problem with the logger and code cal…
asklar Feb 22, 2023
a9fb933
Add WinRT wrapper (#360)
asklar Mar 1, 2023
0207479
add nuget package for WinRT (#361)
asklar Mar 1, 2023
5ffeabe
Thread local context (#359)
MaggieQi Mar 9, 2023
d082b55
Update WindowsInstallation.md (#365)
MS-Renan Mar 13, 2023
b725cac
Update versions in requirements.txt to patched versions (#367)
0x4248 Mar 15, 2023
e950fad
add filter support for BKT index (#368)
zqxjjj Mar 16, 2023
fe03712
Rename logging macro to avoid name conflicts (#366)
PhilipBAdams Mar 16, 2023
ac85ff4
Allow setting a different Logger at runtime (#370)
PhilipBAdams Mar 21, 2023
72f929d
add filter support for BKT: replace function pointer to std::fucntion…
zqxjjj Mar 23, 2023
0341c33
Add protections against overflow and size mismatch, and invalid IDs i…
PhilipBAdams Mar 23, 2023
d6aca40
Add dimension check for ProcessWithoutMPI. (#373)
yangliu-ms Mar 27, 2023
2c0bb04
resolve compilation warnings (#374)
limenghao Apr 2, 2023
fc24d65
Fix 384d GPU index build support and error reporting (#363)
bkarsin Apr 2, 2023
3b00327
Clr core (#376)
MaggieQi Apr 4, 2023
0df1b75
std::out_of_range doesn't have a default constructor (#378)
PhilipBAdams Apr 10, 2023
98bc296
Remove old cuda tests and fix linux build error (#381)
bkarsin May 4, 2023
ccb78d6
enhance syncing script uploading and downloading (#382)
jinwei14 May 4, 2023
268578d
Avoid off-by-one in BKT search (#383)
PhilipBAdams May 9, 2023
b28eafa
Clr core (#385)
MaggieQi May 24, 2023
ff3825d
Microsoft mandatory file
microsoft-github-policy-service[bot] Jun 2, 2023
2ffaec6
Auto merge mandatory file pr
microsoft-github-policy-service[bot] Jun 12, 2023
c05bdc8
More gracefully handle when invalid IDs are inserted or checked in th…
PhilipBAdams Jul 18, 2023
35a9bd1
Convenience functions for parsing SPANN index (#384)
PhilipBAdams Aug 15, 2023
176e7cd
When storing metadata, we were truncating at the first '\n' which is …
asklar Aug 28, 2023
7e9ff64
Opt perf and fix thread affinity bug (#395)
MaggieQi Oct 11, 2023
1f6a85e
fix compile failed, ErrorCode::fail should be ErrorCode::Fail (#404)
dlmodric Dec 15, 2023
0dedbd9
Iterator interface (#407)
zqxjjj Feb 2, 2024
e7e4f71
add Wait() method to SPTAG::Helper::DiskIO (#409)
hliu18 Apr 27, 2024
9d7da69
Bump pillow from 9.4.0 to 10.0.1 in /docs/examples (#399)
dependabot[bot] May 1, 2024
4ecf249
[Draft] GPU unit and integration tests (#377)
bkarsin May 3, 2024
351f03c
update to vc143
Jun 4, 2025
286d89c
Spfresh async io (#423)
MaggieQi Nov 20, 2025
1af89ef
merge
Nov 20, 2025
e762fd5
move mergepostings to refineindex
Nov 22, 2025
57bf5ed
fix errorcode
Nov 25, 2025
f8ea350
Add checksum verification in merge
Dec 3, 2025
574412e
add configuable merge during search and benchmark test
Dec 4, 2025
b79b98a
fix linux localtime_s to localtime_r
Dec 4, 2025
a26f2ed
fix the benchmark to avoid create workspace after reload during search
Dec 11, 2025
da41c2b
add output file to the benchmark
Dec 11, 2025
c1036bc
fix the BatchNum
Dec 11, 2025
20fa847
fix benchmark to include multiple batch perf
Dec 12, 2025
fa5fb29
write the result in time
Dec 12, 2025
bcafeb7
let benchmark fit for larger dataset
Dec 12, 2025
3107cf6
ensure metadata size
Dec 12, 2025
b87551c
add build time
Dec 12, 2025
40a89d6
add rebuild and resume configuration
Dec 12, 2025
b78aa90
change printstep
Dec 12, 2025
d29ce73
fix print step
Dec 13, 2025
c6e0dfc
add more append threads
Dec 15, 2025
e06a423
add more log and change Multiget to use buffer
Dec 16, 2025
2e28ed2
clean some logs
Dec 16, 2025
1e08a00
ensure workspace posting size.
Dec 17, 2025
d3f2a76
add Get to PageBuffer API
Dec 17, 2025
1fe1bb3
fix cache issue
Dec 19, 2025
89cac4b
fix unsafe_delete
Dec 30, 2025
2bc00ca
fix unsafe delete
Dec 30, 2025
130dcfb
avoid dataset incblock leak
Dec 31, 2025
f771a7c
Add split VID check
Jan 2, 2026
6714e5a
fix dataset
Jan 3, 2026
2baa358
merge changes in internal version
Jan 9, 2026
9f2ed71
Fix labelset compiling issue
zhol01825 Jan 27, 2026
133dfbf
test quantization in SPFresh (#440)
MaggieQi Jan 27, 2026
be5422f
fix SPFresh Dynamic Quantize vector
zhol01825 Jan 27, 2026
90993f4
add some fixes to dynamic cases
Jan 28, 2026
66d754a
fix BKT reconstruct crashes
Jan 28, 2026
6c8c4ee
remove OPQ training dependance
zhol01825 Jan 28, 2026
149e3e8
fix BKT clustering atomic_float_add issue
zhol01825 Feb 3, 2026
3d2c8c7
optimize the reconstruct vector allocation
zhol01825 Feb 4, 2026
4b2e4cf
fix Windows compiling for interlockedcompareexchange
Feb 4, 2026
b2748d9
Merge pull request #439 from microsoft/fix_testcases
zqxjjj Feb 6, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
192 changes: 192 additions & 0 deletions .clang-format
Original file line number Diff line number Diff line change
@@ -0,0 +1,192 @@
---
Language: Cpp
# BasedOnStyle: Microsoft
AccessModifierOffset: -2
AlignAfterOpenBracket: Align
AlignArrayOfStructures: None
AlignConsecutiveMacros: None
AlignConsecutiveAssignments: None
AlignConsecutiveBitFields: None
AlignConsecutiveDeclarations: None
AlignEscapedNewlines: Right
AlignOperands: Align
AlignTrailingComments: true
AllowAllArgumentsOnNextLine: true
AllowAllParametersOfDeclarationOnNextLine: true
AllowShortEnumsOnASingleLine: false
AllowShortBlocksOnASingleLine: Never
AllowShortCaseLabelsOnASingleLine: false
AllowShortFunctionsOnASingleLine: None
AllowShortLambdasOnASingleLine: All
AllowShortIfStatementsOnASingleLine: Never
AllowShortLoopsOnASingleLine: false
AlwaysBreakAfterDefinitionReturnType: None
AlwaysBreakAfterReturnType: None
AlwaysBreakBeforeMultilineStrings: false
AlwaysBreakTemplateDeclarations: MultiLine
AttributeMacros:
- __capability
BinPackArguments: true
BinPackParameters: true
BraceWrapping:
AfterCaseLabel: false
AfterClass: true
AfterControlStatement: Always
AfterEnum: true
AfterFunction: true
AfterNamespace: true
AfterObjCDeclaration: true
AfterStruct: true
AfterUnion: false
AfterExternBlock: true
BeforeCatch: true
BeforeElse: true
BeforeLambdaBody: false
BeforeWhile: false
IndentBraces: false
SplitEmptyFunction: true
SplitEmptyRecord: true
SplitEmptyNamespace: true
BreakBeforeBinaryOperators: None
BreakBeforeConceptDeclarations: true
BreakBeforeBraces: Custom
BreakBeforeInheritanceComma: false
BreakInheritanceList: BeforeColon
BreakBeforeTernaryOperators: true
BreakConstructorInitializersBeforeComma: false
BreakConstructorInitializers: BeforeColon
BreakAfterJavaFieldAnnotations: false
BreakStringLiterals: true
ColumnLimit: 120
CommentPragmas: '^ IWYU pragma:'
QualifierAlignment: Leave
CompactNamespaces: false
ConstructorInitializerIndentWidth: 4
ContinuationIndentWidth: 4
Cpp11BracedListStyle: true
DeriveLineEnding: true
DerivePointerAlignment: false
DisableFormat: false
EmptyLineAfterAccessModifier: Never
EmptyLineBeforeAccessModifier: LogicalBlock
ExperimentalAutoDetectBinPacking: false
PackConstructorInitializers: BinPack
BasedOnStyle: ''
ConstructorInitializerAllOnOneLineOrOnePerLine: false
AllowAllConstructorInitializersOnNextLine: true
FixNamespaceComments: true
ForEachMacros:
- foreach
- Q_FOREACH
- BOOST_FOREACH
IfMacros:
- KJ_IF_MAYBE
IncludeBlocks: Preserve
IncludeCategories:
- Regex: '^"(llvm|llvm-c|clang|clang-c)/'
Priority: 2
SortPriority: 0
CaseSensitive: false
- Regex: '^(<|"(gtest|gmock|isl|json)/)'
Priority: 3
SortPriority: 0
CaseSensitive: false
- Regex: '.*'
Priority: 1
SortPriority: 0
CaseSensitive: false
IncludeIsMainRegex: '(Test)?$'
IncludeIsMainSourceRegex: ''
IndentAccessModifiers: false
IndentCaseLabels: false
IndentCaseBlocks: false
IndentGotoLabels: true
IndentPPDirectives: None
IndentExternBlock: AfterExternBlock
IndentRequires: false
IndentWidth: 4
IndentWrappedFunctionNames: false
InsertTrailingCommas: None
JavaScriptQuotes: Leave
JavaScriptWrapImports: true
KeepEmptyLinesAtTheStartOfBlocks: true
LambdaBodyIndentation: Signature
MacroBlockBegin: ''
MacroBlockEnd: ''
MaxEmptyLinesToKeep: 1
NamespaceIndentation: None
ObjCBinPackProtocolList: Auto
ObjCBlockIndentWidth: 2
ObjCBreakBeforeNestedBlockParam: true
ObjCSpaceAfterProperty: false
ObjCSpaceBeforeProtocolList: true
PenaltyBreakAssignment: 2
PenaltyBreakBeforeFirstCallParameter: 19
PenaltyBreakComment: 300
PenaltyBreakFirstLessLess: 120
PenaltyBreakOpenParenthesis: 0
PenaltyBreakString: 1000
PenaltyBreakTemplateDeclaration: 10
PenaltyExcessCharacter: 1000000
PenaltyReturnTypeOnItsOwnLine: 1000
PenaltyIndentedWhitespace: 0
PointerAlignment: Right
PPIndentWidth: -1
ReferenceAlignment: Pointer
ReflowComments: true
RemoveBracesLLVM: false
SeparateDefinitionBlocks: Leave
ShortNamespaceLines: 1
SortIncludes: CaseSensitive
SortJavaStaticImport: Before
SortUsingDeclarations: true
SpaceAfterCStyleCast: false
SpaceAfterLogicalNot: false
SpaceAfterTemplateKeyword: true
SpaceBeforeAssignmentOperators: true
SpaceBeforeCaseColon: false
SpaceBeforeCpp11BracedList: false
SpaceBeforeCtorInitializerColon: true
SpaceBeforeInheritanceColon: true
SpaceBeforeParens: ControlStatements
SpaceBeforeParensOptions:
AfterControlStatements: true
AfterForeachMacros: true
AfterFunctionDefinitionName: false
AfterFunctionDeclarationName: false
AfterIfMacros: true
AfterOverloadedOperator: false
BeforeNonEmptyParentheses: false
SpaceAroundPointerQualifiers: Default
SpaceBeforeRangeBasedForLoopColon: true
SpaceInEmptyBlock: false
SpaceInEmptyParentheses: false
SpacesBeforeTrailingComments: 1
SpacesInAngles: Never
SpacesInConditionalStatement: false
SpacesInContainerLiterals: true
SpacesInCStyleCastParentheses: false
SpacesInLineCommentPrefix:
Minimum: 1
Maximum: -1
SpacesInParentheses: false
SpacesInSquareBrackets: false
SpaceBeforeSquareBrackets: false
BitFieldColonSpacing: Both
Standard: Latest
StatementAttributeLikeMacros:
- Q_EMIT
StatementMacros:
- Q_UNUSED
- QT_REQUIRE_VERSION
TabWidth: 4
UseCRLF: false
UseTab: Never
WhitespaceSensitiveMacros:
- STRINGIZE
- PP_STRINGIZE
- BOOST_PP_STRINGIZE
- NS_SWIFT_NAME
- CF_SWIFT_NAME
...

Loading
Loading