-
Notifications
You must be signed in to change notification settings - Fork 221
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
perf: dimension-based kernel for L2 and Cosine (#1503)
Provide faster routine for large PQ training, where each subvector only has 8 floats. L2: ``` L2(simd,f32x8) time: [1.9428 ms 1.9509 ms 1.9561 ms] change: [-26.987% -25.863% -24.769%] (p = 0.00 < 0.10) Performance has improved. ``` Cosine: ``` Cosine(simd,8-f32) rng seed time: [2.8588 ms 2.8693 ms 2.8960 ms] change: [-62.852% -62.407% -61.952%] (p = 0.00 < 0.10) Performance has improved. ```
- Loading branch information
Showing
11 changed files
with
187 additions
and
216 deletions.
There are no files selected for viewing
This file contains 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 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 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 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 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.