Skip to content

PERF: speedups#68

Merged
scott-huberty merged 7 commits intomainfrom
perf
May 4, 2026
Merged

PERF: speedups#68
scott-huberty merged 7 commits intomainfrom
perf

Conversation

@scott-huberty
Copy link
Copy Markdown
Owner

Further exploit our single-model constraints to gain some performance boosts, e.g. get rid of some unnecessary allocations and avoid expensive matmuls when we can.

Further exploit our single-model constraints. Since model-responsibilities will always ones, things like X.T @ ones (weighted sum) can be replaced by a summation across sample dimensions (wayyyyy faster)
@scott-huberty scott-huberty merged commit 5c18cba into main May 4, 2026
9 of 11 checks passed
@scott-huberty scott-huberty deleted the perf branch May 4, 2026 22:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant