Skip to content

Optimize inner product, update boilerplate, remove bad benchmarks#7428

Merged
connortsui20 merged 1 commit intodevelopfrom
ct/tq-optimization
Apr 14, 2026
Merged

Optimize inner product, update boilerplate, remove bad benchmarks#7428
connortsui20 merged 1 commit intodevelopfrom
ct/tq-optimization

Conversation

@connortsui20
Copy link
Copy Markdown
Contributor

@connortsui20 connortsui20 commented Apr 14, 2026

Summary

Tracking issue: #7297

Optimizes inner product with manual partial sum decomposition (because the compiler can't optimize this because float addition is not associative).

Also removes the old benchmarks as they no longer really time the correct thing anymore. The real benchmarks will be finished here: #7399. This change also adds the vortex-tensor/src/vector_search.rs file to support that soon.

Testing

N/A

@connortsui20 connortsui20 added the changelog/performance A performance improvement label Apr 14, 2026
@connortsui20 connortsui20 changed the title Optimize inner product and update boilerplate Optimize inner product, update boilerplate, remove bad benchmarks Apr 14, 2026
@connortsui20 connortsui20 enabled auto-merge (squash) April 14, 2026 17:26
Signed-off-by: Connor Tsui <connor.tsui20@gmail.com>
@connortsui20 connortsui20 merged commit 6d07a23 into develop Apr 14, 2026
60 checks passed
@connortsui20 connortsui20 deleted the ct/tq-optimization branch April 14, 2026 17:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

changelog/performance A performance improvement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants