Skip to content

perf: optimize _sort_coo_indices with single torch.sort#68

Open
aymuos15 wants to merge 1 commit intocai4cai:mainfrom
aymuos15:perf/optimize-sort-coo-indices
Open

perf: optimize _sort_coo_indices with single torch.sort#68
aymuos15 wants to merge 1 commit intocai4cai:mainfrom
aymuos15:perf/optimize-sort-coo-indices

Conversation

@aymuos15
Copy link
Copy Markdown
Contributor

Replace torch.unique + torch.argsort with single torch.sort. Local benchmarks show nice improvements.

@aymuos15 aymuos15 marked this pull request as draft January 13, 2026 19:06
@aymuos15 aymuos15 force-pushed the perf/optimize-sort-coo-indices branch 2 times, most recently from f5e1939 to c76823a Compare January 14, 2026 10:28
@aymuos15 aymuos15 marked this pull request as ready for review January 14, 2026 10:28
@aymuos15 aymuos15 force-pushed the perf/optimize-sort-coo-indices branch from c76823a to d8d55a7 Compare January 14, 2026 10:37
@aymuos15 aymuos15 force-pushed the perf/optimize-sort-coo-indices branch from d8d55a7 to 748bd6f Compare January 14, 2026 10:44
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