Commit 2e9f95e
committed
feat(quantization): add EVP quantization and symmetric inner product metric
- Add EVP quantization (quantize_single, quantize_batch for float & FP16)
- Add EvpInnerProduct distance module with ResidualMode SIMD dispatching (AVX2 & AVX-512)
- Register Metric::EVPInnerProduct in FloatSpace and distances dispatcher
- Add unit, integration, and builder regression test coverage for EVP1 parent a252448 commit 2e9f95e
10 files changed
Lines changed: 1379 additions & 5 deletions
File tree
- cpp
- deglib/include
- distance
- quantization
- test
- src
- common
- integration
- regression
- unit
- distance
- quantization
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
14 | 15 | | |
15 | 16 | | |
16 | 17 | | |
| |||
20 | 21 | | |
21 | 22 | | |
22 | 23 | | |
| 24 | + | |
| 25 | + | |
23 | 26 | | |
24 | 27 | | |
25 | 28 | | |
| |||
64 | 67 | | |
65 | 68 | | |
66 | 69 | | |
67 | | - | |
| 70 | + | |
| 71 | + | |
68 | 72 | | |
69 | 73 | | |
70 | 74 | | |
| |||
111 | 115 | | |
112 | 116 | | |
113 | 117 | | |
| 118 | + | |
| 119 | + | |
114 | 120 | | |
115 | 121 | | |
116 | 122 | | |
| |||
119 | 125 | | |
120 | 126 | | |
121 | 127 | | |
| 128 | + | |
| 129 | + | |
122 | 130 | | |
123 | 131 | | |
124 | 132 | | |
| |||
0 commit comments