NVIDIA / NVIDIA/warp

[REQUEST] In place sort

Open
#357 0 comments 0 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.