[REQUEST] In place sort
Open
Nobody has claimed this yet.
feature request
- Dominant language
- Python
- Stars
- 7.1k
- Forks
- 624
- Avg merge
- 3d 17h
- Merged PRs (30d)
- 5
Description
Description
Would be nice to have an inplace sort as part of utils (to augment the radix sort). A binding to the cub sort would be good enough.
Context
Torch does not have an inplace sort.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the utils radix sort implementation and any existing CUB bindings. Compare the requested in-place behavior with the current sorting utilities and the Torch limitation described in the issue. Done means an in-place sort is available through the utils API and its behavior is covered by the relevant existing checks or tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- performance
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100