scverse / scverse/fast-array-utils

Speed up cupy with custom kernels

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

Nobody has claimed this yet.

type: cupy
Dominant language
Python
Stars
15
Forks
5
Avg merge
10h 33m
Merged PRs (30d)
9

Description

rapids-singlecell has some CuPy kernels for sum, mean_var, and so on.

Our current CuPy support as of #51 is probably much slower.

Contributor guide

No contributing guide indexed for this repository

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 with src/rapids_singlecell/preprocessing/_kernels/_mean_var_kernel.py and src/rapids_singlecell/preprocessing/_kernels/_sparse2dense.py, then compare the current kernels with the CuPy support introduced in #51. Done means the sum, mean_var, and related operations are faster with the custom kernels.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
performance
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.