scib-rapids
GPU-accelerated metrics for benchmarking single-cell integration outputs using RAPIDS (cuML, CuPy).
This package provides the same metrics as scib-metrics but replaces JAX with RAPIDS (CuPy, cuML) for GPU acceleration. All implementations leverage CuPy for device-level computation on NVIDIA GPUs.
Metrics
- Silhouette:
silhouette_label,silhouette_batch,bras - LISI:
lisi_knn,ilisi_knn,clisi_knn - kBET:
kbet,kbet_per_label - Clustering:
nmi_ari_cluster_labels_kmeans,nmi_ari_cluster_labels_leiden - Graph connectivity:
graph_connectivity - Isolated labels:
isolated_labels - PCR comparison:
pcr_comparison
Getting started
Please refer to the documentation.
Installation
You need to have Python 3.11 or newer and a CUDA-capable GPU.
We recommend installing rapids-singlecell and scib-rapids using uv pip rather than conda, as conda often causes dependency conflicts (e.g. cupy vs cupy-cuda12x).
uv pip install rapids-singlecell scib-rapids
Alternatively, install the latest development version:
uv pip install rapids-singlecell git+https://github.com/maarten-devries/scib-rapids.git@main
Release notes
See the changelog.
Contact
For questions and help requests, you can reach out in the scverse Discourse. If you found a bug, please use the issue tracker.
Citation
If you use scib-rapids, please cite the original single-cell integration benchmarking work:
@article{luecken2022benchmarking,
title={Benchmarking atlas-level data integration in single-cell genomics},
author={Luecken, Malte D and B{\"u}ttner, Maren and Chaichoompu, Kridsadakorn and Danese, Anna and Interlandi, Marta and M{\"u}ller, Michaela F and Strobl, Daniel C and Zappia, Luke and Dugas, Martin and Colom{\'e}-Tatch{\'e}, Maria and others},
journal={Nature methods},
volume={19},
number={1},
pages={41--50},
year={2022},
publisher={Nature Publishing Group}
}
Metadata
Release files for scib-rapids 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| scib_rapids-0.2.0.tar.gz | 42.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| scib_rapids-0.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 69.8 kB
Release files / scib_rapids-0.2.0.tar.gz
| Download URL | scib_rapids-0.2.0.tar.gz |
|---|---|
| Size | 42.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
76c04cbec44a9128b8597304fbcbda40e34897e17cd9a47cae980fdb4e36f600
|
|
BLAKE2b-256 checksum How to use checksums |
fa9ad9fbff1dd9f53c04ea06e31fb632063ce312a1f65c8c4e8e262e5999301e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Apr 12, 2026.
Transparency logRelease files / scib_rapids-0.2.0-py3-none-any.whl
| Download URL | scib_rapids-0.2.0-py3-none-any.whl |
|---|---|
| Size | 27.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
dc30c9fcd031f06c1c4adf7996c5cd0f8b0c27935004e5520c5665ab79ceffc9
|
|
BLAKE2b-256 checksum How to use checksums |
62d9b38af56db62edbb4a7b37f90e97a2528e9add2671f010c5621cd20e342e1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Apr 12, 2026.
Transparency log