Release notes#
Version 0.19.0#
0.19.0 the-future#
Features
Add
normalize_shifted_clr(), the PFlog shifted centered log-ratio of scanpy’snormalize_shifted_clr(scverse/scanpy#4160) [BHGMP26], with a fused CUDA kernel for CSR input pr702 S DicksAdd dsb normalization of CITE-seq protein (ADT) counts with
dsb(), a GPU port of the dsb R package coveringDSBNormalizeProteinandModelNegativeADTnorm; withdtype=np.float64it matches R to ~1e-10, and the stabilized float32 default stays within ~1e-5 of float64 S DicksAdd weighted nearest neighbor (WNN) analysis for multimodal data with
wnn(), a GPU port of Seurat’sFindMultiModalNeighborsthat acceptsAnnDataandMuDatapr838 S DicksAdd
dtype="bfloat16"toharmony_integrate(), which keeps the cluster assignments in bfloat16 to save GPU memory and time; several batch keys or thefastcorrection fall back to float32 with a warning pr829 S DicksAdd
multi_gputoharmony_integrate()to run on several GPUs, with results bitwise identical to one GPU pr830 S DicksMatch
assign_mixture_model()to pertpy’s mixture model and parameters pr852 L HeumosAdopt scanpy’s
use/outparameters (scverse/scanpy#4359) inpp,tlandget:usetakes theanndata.accaccessor to read from (e.g.A.layers["counts"],A.obsm["pca"], or a graph likeA.obsp["nn"]), andoutthe accessor to write to,Trueto return the result, orFalsefor the default place. Functions with several outputs name the others after the primary one, take a mapping to write only some of them, and return a…Resultforout=True. Groupings and covariates take references such asA.obs["batch"]pr882 S Dicks
Performance
Speed up
harmony_integrate()and lower its peak GPU memory on large datasets, also for float64 or Fortran-ordered NumPy input; results stay bitwise reproducible, but seeded results differ from 0.18.1 pr829 S DicksSpeed up
harmony_integrate()with several batch keys pr865 S Dicksharmony_integrate()with several batch keys that have thousands of levels in total runs slower than in 0.18.1 pr829 S DicksSpeed up
GuideAssignmentwith CUDA kernels that read CSR, CSC and dense counts in place;assign_to_max_guide()no longer densifies sparse input pr852 L Heumos & S DicksSpeed up the exact Wilcoxon test of
rank_genes_groups(), most for screens tested against a reference group, for log-normalized data and for the first call on large host sparse input pr868 S DicksCompute the expression-space means of
mean_in_log_space=Falsewithin the Wilcoxon test ofrank_genes_groups()instead of from a host copy ofXpr868 S Dicks
Bug fixes
Fix
score_genes()on sparse data whenvar_namescontain duplicates, which averaged the scored and control genes over the wrong number of columns pr882 S DicksFix
neighbors()andwnn()running out of GPU memory when the connectivities have almost 2**31 entries (about 75M cells with 15 neighbors), by building their CSR on the host at every size pr877 S DicksCount only nonzero values for
ptsandpts_restof the exact Wilcoxon test inrank_genes_groups()when sparse input stores explicit zeros, as scanpy does pr868 S DicksFix NaN results from
harmony_integrate()for a largethetaor a very smallsigma,alphaorridge_lambdapr829 S DicksFix float32 precision loss in
harmony_integrate()on large datasets pr829 S DicksFix
cudaErrorInvalidValuein the multi-GPU paths ofrank_genes_groups(),spatial_autocorr(),co_occurrence()andDistanceunder RMM’sCudaAsyncMemoryResourcepr830 S DicksAlign
dc.gseaanddc.zscorewithdecoupler2.3.1: GSEA permutation p-values are now(k+1)/(n+1)and theKSEA/RoKAIflavors ofzscoreare no longer swapped pr864 S DicksAdd
min_cellstomixscape()for the minimum number of perturbed cells, whichmin_de_genesset before, matching pertpy and Seurat pr873 L HeumosFix
dc.waggrp-values: they are now two-sided empirical p-values(k+1)/(n+1)that count the observed score as one permutation, so they are never 0 pr855 S Dicks
Misc
Require Python 3.13 or newer, following SPEC 0, which drops Python 3.12 pr881 S Dicks
Deprecate
layer,obsm,use_rep,use_raw,neighbors_key,obsp,adjacency,key_added,batch_key,inplaceandcopyin favor ofuse,outandbatch, as scanpy 1.13 does;filter_cellsandfilter_geneskeepcopypr882 S DicksRename
mask_var/mask_obstomaskinpca(),scale()andrank_genes_groups(), which takes references such asA.var["highly_variable"](scverse/scanpy#4333) pr882 S DicksMake
calculate_qc_metrics()return its metrics by default under thescanpy-v1preset and write them underscanpy-v2-preview, as scanpy does; passout=Falseto keep writing them pr882 S DicksReturn a dictionary with
Xandnorm_factorfromnormalize_total()for the deprecatedinplace=False, as scanpy does pr882 S DicksStore the graphs of
neighbors()andbbknn()underobsp["neighbors_connectivities"]andobsp["neighbors_distances"]forkey_added="neighbors", as scanpy does pr882 S DicksLook up the default graph of
draw_graph()throughuns["neighbors"], as scanpy does;obsp["connectivities"]alone is no longer enough pr882 S DicksDeprecate
chunk_sizeinrank_genes_groups(); it is ignored because the Wilcoxon tests size their gene batches automatically pr868 S DicksDeprecate
tl.louvainin favor ofleiden(), asscanpy.tl.louvainis deprecated since scanpy 1.12 pr876 S DicksRun the exact Wilcoxon test of
rank_genes_groups()on the GPU holding device-resident input whenmulti_gpu=None, also against a reference group;multi_gpu=Truestill splits the genes over every GPU pr868 S DicksSwitch the documentation theme from
scanpydocto the shared scverse themescverse-docpr856 S DicksGroup the documentation sidebar into Getting started, Guides, Reference and Project like the other scverse core packages, with a new citation page and the accents from scverse-doc’s registry pr874 L Heumos
Switch to the scverse
cookiecutter-scversetemplate:mypytype checking,prekpre-commit hooks,ruffline length 120 with bugbear and pydocstyle rules, and shippy.typedpr857 S DicksMake
colsum_algoinharmony_integrate()a no-op kept for compatibility pr829 S DicksRaise
ValueErrorinharmony_integrate()for non-finite embeddings, invalid parameters and non-integermulti_gpudevice ids pr829 pr830 S Dicks
Version 0.18.0#
0.18.1 2026-10-12#
Features
Add Sepal spatially variable gene scoring with
sepal()pr458 S Özleyen & S DicksAdd
nhood_enrichment()andinteraction_matrix()pr846 S DicksAdd Ripley’s F, G and L statistics with
ripley()pr840 S Dicks
Bug fixes
Fix
regress_out()with cuML 26.10, which removed theconvert_dtypeargument ofLinearRegression.fitpr845 S DicksAlign the Geary’s C
pval_normofspatial_autocorr()with squidpy 1.8.2, which uses Geary’s own normality variance instead of Moran’s I pr847 S Dickscalculate_niche()withflavor="utag"runs the PCA on the implicit smoothed matrix for sparse data, which fixes failures on unexpressed genes and on large panels (the smoothed matrix overflowed cuSPARSE) pr847 S Dicks
Misc
Update the conda environments, Docker images and CI to RAPIDS 26.10 and test prereleases against the 26.12 nightlies pr845 S Dicks
Build the CUDA extensions without device link-time optimization, shrinking the x86_64 wheels from 47 to 16 MB (CUDA 12) and from 25 to 20 MB (CUDA 13) with no measured speed change pr836 S Dicks
0.18.0 2026-10-06#
Features
Make
harmony_integrate()bitwise reproducible in float32 and float64 for sequential calls with identical inputs, parameters, and integer seed on the same hardware and software stack. The new deterministic k-means++ initializer changes historical seeded results. pr802 S DicksMap the legacy
colsum_algo="atomics"andcolsum_algo="benchmark"values to automatic deterministic algorithm selection. pr802 S DicksAdd spatial neighbor graphs with
spatial_neighbors_knn(),spatial_neighbors_radius(),spatial_neighbors_delaunay(), andspatial_neighbors_grid(), supporting independent libraries, distance pruning, connectivity transforms, and Squidpy-compatible positional builder arguments pr805 S DicksAccept optional SpatialData input with lazy imports and explicit table selection across
rapids_singlecell.gr, including coordinate-system-aware centroids for spatial neighbor graphs. pr805 S DicksAdd VIPER with pleiotropy correction via
viper().Add Over Representation Analysis with
ora()for matrices andquery_set()for gene lists. pr806 S DicksBundle a version-matched agent analysis skill with the package, installed with
rapids-singlecell-install-skillsand checked withrapids-singlecell-check-kernel(see Agent skill). pr739 S Dicks & L HeumosSpeed up
umap()on large graphs;rng=Noneuses cuML’s faster unseeded optimizer pr822 S DicksSpeed up
neighbors()withalgorithm="all_neighbors"on large datasets pr825 S Dicks
Bug fixes
Size the
algorithm="all_neighbors"batching ofneighbors()to the data and free memory instead of the GPU count, avoiding crashes on massive datasets pr822 S DicksMatch the LDA scaling of
Mixscapeto scikit-learn 1.9.1 pr799 S DicksPreserve existing
.obsmetadata, including categorical dtypes, when runningscrublet()withbatch_key. pr817 S DicksFix incorrect energy distances in
Distancefor Fortran-ordered inputs. pr818 S DicksKeep cross-device copies alive until the GPU work using them has finished in the multi-GPU paths of
Distance,co_occurrence(),spatial_autocorr(), andrank_genes_groups(), preventing possiblecudaErrorLaunchFailurecrashes with the default RMM allocator pr828 S DicksFix illegal memory access crashes in
rank_genes_groups()when the data is on another GPU than the current one by computing on the data’s GPU instead of reading it through peer access pr828 S DicksFix wrong neighbors from
neighbors()withalgorithm="ivfflat"for more than 2**32 query values pr825 S DicksUse 200 epochs in
umap()for more than 10,000 cells, like scanpy pr827 S DicksFix non-finite distances and wrong neighbors from
spatial_neighbors_knn()andspatial_neighbors_grid()for up to 32 neighbors in the CUDA 12 wheels, where CUDA 12.2 miscompiled the k-d tree’s top-k update pr835 S Dicks
Upcoming deprecations
Announce that the project-provided Docker images will be deprecated in a future release. Builds and publication continue for now; no deprecation date has been set. Please plan to migrate to the Conda environments or prebuilt CUDA wheels with CUDA-X Data Science dependencies. pr811 S Dicks
Version 0.17.0#
0.17.0 2026-09-09#
Bug fixes
Tighten multi-GPU stream handling: peer-to-peer copies now wait for the source device’s pending work, duplicate device IDs in
multi_gpuare dropped,multi_gpu=Falseruns on the current GPU instead of GPU 0, the Dask aggregation kernels launch on the current stream, andwilcoxon_binnedsizes its chunks from the current GPU’s free memory pr791 S DicksFix several numeric edge cases pr790 S Dicks
pca()withzero_center=Falseon sparse input reported raw Gram eigenvalues asvariance; it now reportsS²/(n-1)like thelanczosandrandomizedsolversbbknn()now zeroes self-distances likeneighbors(), so float noise withcosineorcorrelationno longer leaks into the connectivitiesDistancedraws bootstrap indices with an exact integer sampler; the float32 draw was slightly non-uniform and could not reach every cell in very large groupsThe pseudobulk metrics of
Distanceraise on requested groups without cells instead of silently dropping them, andedistancecontrasts without cells warn instead of silently returningNaN
Handle a few edge cases like scanpy/squidpy do: a
clusterssubset inligrec(),init_pos=True/Falseindraw_graph(), a user-suppliedadata_simtogether withbatch_keyinscrublet(), and a non-categoricalgroupbyinrank_genes_groups()pr789 S DicksFix
score_genes()with a customgene_poolon CSR and Dask inputs, and its per-gene means on Dask dense inputs that contain NaNs pr788 S DicksFix int32 index overflow in the dense
normalize_totalkernels and theguide_assignmentkernels past 2³¹ elements, and makenormalize_totalsafe on AnnData views pr785 S DicksMake the
lanczosSVD breakdown check scale-aware; the previous fixed threshold never triggered in float32. pr755 S DicksFix
harmony_integrate()with RMM managed memory by making multi-key clustering arrays optional and allocating them only when needed. pr766 A Holly & S DicksFix
umap()on neighbor graphs whosemetriccumldoes not know pr768 S DicksMake
regress_out()numerically robust pr767 S DicksFix
neighbors()withalgorithm="all_neighbors"losing the neighbors that cross cluster boundaries on multiple GPUs;overlap_factornow scales with the cluster count pr769 S DicksFix
neighbors()withmetric="inner_product"failing in the connectivity step for everyalgorithm. The metric is no longer forwarded tocuml’sfuzzy_simplicial_set, which rejects the metrics it does not know and ignores it anyway when the neighbors are precomputed pr769 S DicksFix
neighbors()withalgorithm="all_neighbors"andalgorithm_kwds={"n_clusters": 2}always raising; the derivedoverlap_factoris now capped atn_clusters - 1pr769 S DicksFix batched
all_neighborsreturning incomplete or inaccurate results on multi-GPU CUDA 12 systems. pr782 S Dicks
Features
Route multi-GPU copies through host memory when P2P validation fails. pr771 S Dicks
Split
calculate_niche()intocalculate_niche_neighborhood(),calculate_niche_utag()andcalculate_niche_cellcharter(), withmask,library_keyand cross-flavormin_niche_size, followingsquidpypr758 S DicksSpeed up
harmony_integrate()and make it reproducible by seeding k-means from a deterministicfloat64fit on a bounded, batch-stratified random subsample instead of a non-reproduciblefloat32fit over all cells.dtypenow defaults tonumpy.float32pr756 S DicksDerive unset
harmony_integrate()stopping rules fromflavor:harmony2follows Harmony2 defaults,harmony1still follows harmony-pytorch pr756 S DicksAdd support for
numpy.random.Generatorto the Scanpy-aligned APIs that previously accepted arandom_stateparameter, followingscanpypr761 S DicksAdd
rsc.settingswith apresetswitch for Scanpy 1 or Scanpy 2 preview defaults pr751 S DicksAdd
key_addedtodiffmap()anddraw_graph()pr751 S DicksDerive
harmony_integrate()’sadjusted_basisfrombasisinstead of hard-coding"X_pca_harmony", so it followspreset("pca"gives"pca_harmony") and a custombasisis suffixed rather than ignored pr751 S DicksAdd
mean_in_log_spacetorank_genes_groups()pr751 S DicksAdd
cosineandinner_productto the metrics supported byalgorithm="all_neighbors"inneighbors().algorithm_kwds={"algo": "ivf_pq"}still requireseuclidean/sqeuclideanpr769 S Dicks
Performance
Speed up
umap()and cut its peak memory by no longer moving the representation to the GPU. pr768 S DicksKeep the dataset on device for unbatched
all_neighborsbuilds inneighbors()pr769 S Dicks
Misc
Build the local Docker images against CUDA 12.9.1 on CUDA 12, matching the published images pr757 S Dicks
Require
scverse-misc[settings]>=0.1.3pr751 S DicksDrop the remaining
librmm/rapids_loggerbuild- and link-time dependencies. No RAPIDS C++ package is needed to build, so isolated source builds now work on both CUDA 12 and CUDA 13 without--no-build-isolationpr762 S DicksDefault
all_neighborsto nn-descent’sgraph_degreeof 64/128 likecuml.UMAPinstead ofn_neighborspr769 S Dicks
Deprecations
Remove the deprecated
use_highly_variableargument ofpca(), followingscanpy. Usemask_var="highly_variable"instead ofuse_highly_variable=Trueandmask_var=Noneinstead ofuse_highly_variable=Falsepr751 S DicksDeprecate
calculate_niche(); the new functions replacecopywithinplaceand dropgmm_initand the leidenrandom_statepr758 S Dicks
Removals
Remove the
random_seedparameter ofscrublet_simulate_doublets(), followingscanpy. Userng(orrandom_state) instead pr761 S Dicks
Version 0.16.0#
0.16.1 2026-07-27#
Features
Add unified single- and multi-GPU exact Wilcoxon support for host- and device-resident dense, CSR, and CSC input. By default, host input and device OVO use all visible GPUs, while device OVR stays on its owner GPU. pr730 S Dicks
Model Harmony batch keys separately, following the Harmony papers instead of joint harmony-pytorch encoding. pr735 S Dicks
Stream host-resident input to the GPU for
t-test,wilcoxon_binned, andaggregate(), enabling out-of-core analysis and optional multi-GPU. pr737 S Dicks
Bug fixes
Match pertpy’s Mixscale control-score standardization by using the sample standard deviation (
ddof=1) pr733 S DicksUpdate CUDA scratch allocation for compatibility with RMM changes in RAPIDS 26.08. pr740 S Dicks
Misc
Maintain local legacy-compatible
_get_obs_repand_set_obs_rephelpers instead of relying on Scanpy’s private representation helpers pr732 S Dicks
Deprecations
Deprecate and removed
correction_method="original"inharmony_integrate(). pr735 S Dicks
0.16.0 2026-07-16#
Features
Reworked GPU
rank_genes_groups()Wilcoxon onto dedicated nanobind CUDA kernels pr636 S Dicksrank_genes_groups()no longer truncates gene names longer than 50 characters inuns[...]['names'](the field is nowobjectdtype, matching Scanpy) pr636 S DicksAdd
Mixscape(perturbation_signature,mixscape,lda) andMixscale(perturbation_signature,mixscale) for GPU-accelerated perturbation-efficacy analysis pr688 S Dicks
Performance
Batched cuSOLVER precision-Cholesky for the full-covariance GMM (
gmm_fit_predict), ~2-3x faster pr688 S DicksDistancewithmetric="edistance"now accepts sparse CSR input (a sparse layer orlayer_key="X"), densified inside the CUDA kernel so the dense matrix is never materialized on the GPU pr689 S Dicks
Bug fixes
neighbors()withmethod="jaccard"no longer crashes withCUDA_ERROR_ILLEGAL_ADDRESSon large datasets wheren_obs * (n_neighbors - 1)**2exceeds2**31pr700 S Dickspca()no longer imports a removed cuML internal, fixingImportErroron recent cuML builds pr708 S DicksPromote dense integer inputs in
normalize_total()andscale()to floating point pr718 S DicksFix
scale()withobsmand metadata changes fromlog1p()withinplace=Falsepr719 S DicksReject Dask arrays chunked along the feature axis pr717 S Dicks
Correct masked aggregation statistics and pseudobulk calculations from adata.X pr720 S Dicks
leiden()andtl.louvainwithuse_dask=Truenow always tear down the cugraph communicator, even when the run fails, so a single failure no longer makes every later dask clustering call raiseCommunicator is already initializedpr721 S Dicks
Misc
Scanpy compat:
scale(),log1p()andpca()rename their first argument fromadatatodataand now accept a matrix in addition to anAnnData, matching Scanpy pr699 S DicksScanpy compat: add
rsc.pp.sqrtto square-root transform the data matrix pr699 S DicksScanpy compat:
pca()acceptsreturn_infoto return(X_pca, components, variance_ratio, variance)for matrix input pr699 S DicksScanpy compat:
filter_genes()andfilter_cells()now write only the count column matching the threshold used (n_counts,n_cellsorn_genes) instead of always writing both, matching Scanpy pr699 S DicksRequire
scikit-build-core>=1.0.1to build; 1.0.0 truncated the sharedtestingnamespace package in editable installs, breaking the test suite at collection pr721 S DicksUse Hatchling as the build backend, with scikit-build-core’s Hatchling plugin building the nanobind CUDA extensions pr724 S Dicks
Version 0.15.0#
0.15.2 2026-06-03#
Features
Add GPU-accelerated
GuideAssignment(assign_by_threshold,assign_to_max_guide,assign_mixture_model), mirroringpertpy.pp.GuideAssignmentpr637 S DicksAdd pseudobulk based distance metrics to
Distance:euclidean,root_mean_squared_error,mse,mean_absolute_error,pearson_distance,cosine_distance,r2_distance. Matchespertpy.tl.Distancepr676 S DicksAdd bootstrap support (
bootstrap=True) to the pseudobulk distance metrics ofDistanceforpairwiseandonesided_distances, plus array-levelDistance.bootstrap. Each iteration resamples cells per group on the GPU and recomputes the group-mean distances pr684 S Dickstl.draw_graphnow exposes therandom_stateparameter ofcugraph.layout.force_atlas2pr681 J Pintar
Performance
aggregate()only computes the buffers the requested metrics need via metric-templated CUDA kernels, up to ~3.7x faster for single-metric requests on sparse data pr685 S Dicks
Bug fixes
Fixes per-batch clip threshold in
pp.highly_variable_genes(flavor="pearson_residuals", batch_key=...): each batch now uses its ownsqrt(n_cells_in_batch)instead of silently reusing the first batch’s value pr674 A MikaeiliDistancedrops unused (zero-cell)groupbycategories for all metrics;edistancepreviously returnedNaNfor empty categories pr683 S DicksThe
rapids-singlecell-cu12Docker image is pinned back tocuda-version=12.8so it no longer pulls CUDA 13 RAPIDS binaries (cuda-bindings13.x) and works on driver 535+ again; the image build now fails fast if CUDA 12/13 packages are mixed pr686 S Dicks
0.15.1 2026-05-20#
Features
Add
rsc.gr.calculate_nichewith flavorsneighborhood,utag, andcellcharter. Mirrorssquidpy.gr.calculate_nichepr644 S DicksAdd a minimal full-covariance GMM (
squidpy_gpu._gmm.gmm_fit_predict) used by thecellcharterpr644 S Dickstl.leidenandtl.louvainnow record the final modularity value inadata.uns[key_added]["modularity"](scalar for a single resolution, list for multiple resolutions) pr648 J PintarAdd 64-bit
indptr/indicessupport throughout the sparse pipeline. Nanobind CUDA kernels are now templated on the index dtype with bindings registered for bothint32andint64, enabling datasets withnnz > 2³¹-1once CuPy ships int64 sparse support pr620 S Dicks
Bug fixes
Fixes
tl.rank_genes_groupsreturning NaN/zerologfoldchanges/pvalswithgroups=[subset]andreference='rest'pr651 S DicksFixes
pp.bbknnconnectivities diverging from upstreambbknn: per-batch neighbours are now sorted by distance beforefuzzy_simplicial_set(so weights no longer collapse near 1.0), and the defaulttrimmatches upstream (10 * neighbors_within_batch * n_batches). Trimming kernel no longer crashes for largetrim, and a new block-cooperative sort kernel is auto-dispatched for largetrimfor substantial speedups pr659 S DicksFixes float64 precision loss in
pp.normalize_pearson_residualson CSR/CSC input pr658 A Mikaeili & S DicksFixes Harmony CUDA kernels to avoid misaligned vector loads on odd-PC or offset-contiguous inputs and prevent a shared-memory race in column-sum reductions. pr668 S Dicks
Fixes indexing issues for very large datasets. pr670 S Dicks
Fixes integer overflows in
co_occurrencefor very large datasets pr671 S Dicks
Misc
Tidy
_check_gpu_Xreturn value on the canonicalizing branch pr664 S Dicksadata.uns[key_added]["params"]["resolution"]is now stored as a scalarfloatwhen a single resolution is passed totl.leidenandtl.louvainto match behaviour in Scanpy, and as alistwhen multiple resolutions are passed. Previously it was always stored as a list. pr648. J PintarDrop dependency on
cuml.thirdparty_adapters.check_array(removed in cuml 26.06);init_posvalidation intl.umapandtl.draw_graphis now handled locally pr660 S DicksUnify cuBLAS handle creation across GMM and harmony pr662 S Dicks
Use C++ math overloads in templated CUDA kernels and switch
1/sqrttorsqrtwhere precision-tolerant pr666 S Dicks
0.15.0 2026-04-30#
Features
Replaces CuPy RawKernel infrastructure with precompiled nanobind/CUDA C++ extensions pr455 S Dicks
All GPU kernels are now compiled at build time via scikit-build-core instead of JIT-compiled on first call, eliminating startup latency and CuPy kernel cache issues across CUDA/driver upgrades. Prebuilt wheels are available on PyPI as
rapids-singlecell-cu12(CUDA 12) andrapids-singlecell-cu13(CUDA 13) for both x86_64 and aarch64 — no CUDA toolkit or nvcc required for installation.nanobind’s typed array bindings enforce dtype (e.g., float32 vs float64) and memory layout (C-contiguous vs F-contiguous) at the Python/C++ boundary, catching mismatches with clear
TypeErrormessages before they reach the GPU instead of producing silent corruption or cryptic CUDA errors.Kernels are now proper C++ with headers, templates, and multi-file organization, which will enable more optimized and composable functions that are entirely C++ in future releases.
Rewrites Harmony clustering and correction loops in C++, removing the
use_gemmparameter and one-hotPhimatrix in favor of categorical indices.correction_methodnow defaults toNoneand auto-selectsbatchedorfastbased on workspace size pr578 S DicksImproves numerical accuracy and adds parameters to
tl.rank_genes_groupsWilcoxon methods: useserfcfor p-values to avoid underflow, addstie_correctanduse_continuitytowilcoxon_binned, and refactorsAggregatewith a unifiedcount_mean_var()dispatcher and rawsq_sumoutput for GPU-resident stats computation pr585 S DicksReplace cuML KDE in
tl.embedding_densitywith a custom CUDA kernel using covariance-aware Gaussian KDE matchingscipy.stats.gaussian_kde, removing the cuML dependency and thebatchsizeparameter pr590 S DicksAllow multiple control groups in
onesided_distancesfor computing energy distances against several references in a single kernel launch pr601 S DicksAdd
contrast_distancestoEDistanceMetricfor computing energy distances directly from a contrasts DataFrame pr603 S DicksAdd Dask support for
highly_variable_geneswithflavor='seurat_v3'andflavor='seurat_v3_paper'pr616 S DicksAdd Harmony2 support with stabilized diversity penalty, dynamic per-cluster-per-batch ridge regularization, and automatic batch pruning [PYM+26] pr625 S Dicks
Performance
Improve L2 cache efficiency in
edistanceandco_occurrencekernels by always tiling the smaller group into shared memory, yielding up to 5x speedup for datasets with unequal group sizes pr607 S Dicks
Bug fixes
Fix
TypeErrorwhen using nanobind CUDA kernels with RMM managed memory (managed_memory=True). Nanobind bindings now accept bothkDLCUDAandkDLCUDAManagedDLPack device types pr592 S DicksFix multi-GPU
cudaErrorLaunchFailureduring cross-device result aggregation when using RMM without pool allocation for very large datasets pr594 S DicksFix ForceAtlas2 random cell ordering by sorting positions by vertex in
tl.draw_graphpr621 L Faure
Removals
Remove
tl.mdeand thepymdedependency. The function is still available inscvi-toolspr588 S Dicks
Misc
Version 0.14.0#
0.14.1 2026-02-13#
Features
Adds Dask support to decoupler methods for out-of-core processing of large datasets pr558 S Dicks
Adds
gauss(adaptive Gaussian kernel) andjaccard(PhenoGraph) connectivity methods topp.neighborsvia a newmethodparameter. Refactorspp.neighbors,pp.bbknn, andtl.diffmapinternals with shared helper functions pr563 S DicksAdds
baseparameter topp.log1pandexclude_highly_expressed/max_fractionparameters topp.normalize_total, matching scanpy’s API pr565 S DicksAdds Dask support and categorical covariate support to
pp.regress_outpr567 S DicksAdds
wilcoxon_binnedmethod totl.rank_genes_groups— a histogram-based approximate Wilcoxon rank-sum test that supports Dask arrays pr568 S Dicks
Performance
Optimizes
pp.harmony_integratewith a newbatchedcorrection method that processes all clusters simultaneously and multiple new CUDA-Kernels that speed up the fuzzy clustering. Changes defaultcorrection_methodto"batched"pr557 S DicksSpeeds up
tl.rank_genes_groupsfor scipy sparse inputs with a parallel Numba CSR-to-CSC conversion and direct CSC indptr pointer copy for column subsetting pr560 S Dicks
Bug Fixes
Fixes
get.aggregatewithreturn_sparse=Truefailing for more than 8 groups and producing incorrect results for groups with empty categories pr559 S DicksFixes sparse PCA gram matrix kernel producing incorrect results with unsorted CSR column indices, which becomes relevant with CuPy 14 no longer guaranteeing sorted indices in CSR matrices pr566 S Dicks
0.14.0 2026-02-02#
Features
Adds
ptg.Distancefor GPU-accelerated distance computation between groups of cells, compatible with pertpy’s Distance API pr454 S Dicks & S ÖzleyenAdds
lanczosandrandomizedSVD solvers for sparse PCA. Lanczos uses bidiagonalization with implicit restarts for exact results. Randomized SVD uses CholeskyQR2 orthogonalization (Tomás et al. 2024) for fast approximate results pr544 S DicksAdded support for
tl.rank_genes_groupswith methodslogreg&wilcoxonpr502 S Dicks & E FleischelAdds
t-testandt-test_overestim_varmethods totl.rank_genes_groupswith Dask support andmask_varparameter pr549 S DicksAdds multi-GPU support to
ptg.Distancefor edistance computation pr545 S DicksAdds multi-GPU support to
gr.co_occurrencewith an optimized kernel pr546 S DicksAdds multi-GPU support to
gr.spatial_autocorrfor permutation tests pr555 S Dicks
Performance
Optimizes
pp.highly_variable_geneswithflavor="pearson_residuals"(Welford’s single-pass variance) pr538 S DicksRewrites
pp.highly_variable_geneswithflavor="poisson_gene_selection"using using only CuPy, replacing PyTorch and Monte Carlo sampling with exact analytical formula. Adds Dask support pr541 S Dicks
Bug Fixes
Fixes
_sparse_to_densekernel to support matrices with >2M rows by using grid-stride loops and querying device grid dimension limits pr535 S DicksFixes
tl.draw_graphgraph creation causing incorrect ForceAtlas2 layouts andAttributeErrorpr529 S DicksFixes
gr.spatial_autocorrsparse kernels returning inf/nan due to dtype mismatch in means array pr555 S Dicks
Misc
RAPIDS nightly test success is no longer required for merging pr539 S Dicks
Version 0.13.0#
0.13.5 2025-12-13#
Features
Adds support for multi-GPU clustering via Dask to
tl.leidenandtl.louvainpr502 S DicksAdds support for specifying multiple resolutions as a list in
tl.leidenandtl.louvainpr502 S Dicks
Performance
Improves
pp.neighborsperformance withall_neighborsandnn_descentwhen a Dask cluster is active pr499 S Dicks
Misc
Update Docker Container to work with
CUDA-13pr520 S Dicks
0.13.4 2025-11-12#
Features
Added
rsc.dcg.waggrfunction for decoupler-GPU pr469 M ChengAdded
rsc.dcg.zscorefunction for decoupler-GPU pr470 S KharukSupport isolated vertices in nearest neighbors graph for
tl.leidenandtl.louvain. pr476 J PintarIn
pp.neighborsset self-distances to zero where this is definitionally required by the metric, but non-zero distances are potentially returned bycuvs/cumldue to FP32 rounding. pr477 J Pintaradd support for
scipy sparse arrayconversion withgetpr496 S Dicks
0.13.3 2025-10-21#
Features
Add Multi-GPU support for
pp.neighbors(requirescuvs >= 25.10) with the new algorithmsmg_ivfflat,mg_ivfpq, andall_neighbors. pr465 S Dicks
Performance
make
dcg.aucellfaster using a single rank pass algorithm pr448 S Dicksmake FDR calculation faster and more scalable offering a new CPU and updated GPU path for
dcg. pr450 S Dicks
Bug fixes
Updates
tl.embedding_densityto work withrapids-25.10pr464 S DicksAllow for UMAP to run on larger than int32 connectivity graphspr465 S Dicks
Misc
Deprecate CUDA-11 and add support for CUDA-13 pr441 S Dicks
0.13.2 2025-09-02#
Features
adds support for sparse Truncated SVD in PCA pr438 S Dicks
adds support for Truncated SVD in PCA with Dask arrays (sparse and dense) pr438 S Dicks
enables out-of-core execution for dense Dask PCA with
svd_solver = 'covariance_eigh'the new default pr438 S Dicks
Bug fixes
fixes a potential bug where unsorted CSR matrices could lead to instabilities pr438 S Dicks
Fixes a small issue with
harmonypr444 S Dicks
Misc
All of
pp.harmony_integrate’s run options are now tested againstharmonypypr444 S Dicks
0.13.1 2025-08-13#
Features
adds support for
tl.umapto supportinit_posin the form ofndarray,pagaorobsm[key]pr427 S Dicks
Performance
speed up
_get_mean_varfor the minor axis ofcsxmatrices pr423 S Dicksspeed up
gr.co_occurrenceusing acsr-based scheme pr424 S Dicksspeed up
adj_PVcalculation fordecoupler_gpupr429 S Dicks
Bug fixes
Fixes a bug where
decoupler_gpuwould not work fornp.ndarraypr429 S Dicks
Misc
0.13.0 2025-08-06#
Features
Add support for aggregate operations on CSC matrices, Fortran-ordered arrays, and Dask with sparse CSR and dense matrices pr395 S Dicks
Adds dask support for
tl.score_genes&tl.score_genes_cell_cyclepr408 S DicksAdds dask support for
tl.rank_genes_groups_logregpr413 S DicksUpdates
rapids_singlecell.dcgto work withDecoupler 2.0.0pr418 S Dicks
Performance
speed up
pp.harmony_integratefor smaller datasets pr421 S Dicks
Bug fixes
Fixes a bug for
_get_mean_varwith dask chunk sizes pr408 S Dicks
Misc
Version 0.12.0#
0.12.7 2025-06-10#
Features
Adds
algorithm_kwdstopp.neighbors&pp.bbknnto fine-tuneivfflat,ivfpq&nn_descentpr381 S Dicks
Performance
Speed up
pp.harmony_integrateeven more pr379 S Dicks
Bug fixes
key_addedwill now be used as the key for.unsfortl.leidenandtl.louvainpr378 S Dicks
Misc
0.12.6 2025-05-27#
Features
Allow for
tl.leidenandtl.louvainto usefloat64bit weights pr374 S Dicks
Bug fixes
Fix the bug causing
pp.harmony_integrateto use the heuristic implementation instead of the benchmark one whencolsum_algois set to"benchmark"pr375 S Dicks
0.12.5 2025-05-23#
Features
Optimize performance of
pp.harmony_integratewith integrated benchmarking forcolsum_algopr373 S Dicks
Performance
Make
pp.regress_outmore memory efficient pr370 S DicksImproves performance of
pp.harmony_integrateeven more for larger datasets pr373 S Dicks
Bug fixes
remove
random_statefrom cuml’sPCAandTruncatedSVDpr368 S Dicksfixes a error with
pp.harmony_integratewhereEdidn’t update correctly pr373 S Dicks
Misc
adds tests for RAPIDS upcoming release pr368 S Dicks
0.12.4 2025-05-07#
Features
thetainpp.harmony_integratecan now be a list or array pr353 S Dicks
Performance
replace
adata._sanitizeforpp.highly_variable_genes. Now onlybatch_keycolumn will be categorized pr355 S Dicksreplace
adata._sanitizefortl.embedding_density. Now onlygroupbycolumn will be categorized pr355 S DicksRefactored
pp.harmony_integrateto be more memory efficient and faster. pr353 S Dicks
Bug fixes
Fixes
get.X_to_CPUfordask.arraypr360 S Dicks
Misc
Update notebooks for
anndata>0.11.4pr356 S Dicks
0.12.3 2025-04-11#
Bug fixes
Fixed
harmony_integratebreakage caused by undocumented changes to fused kernel float handling inCuPy 13.4.1pr351 S Dicks
0.12.2 2025-04-11#
Features
Adds
gr.co_occurrencepr342 S Dicks
Misc
0.12.1 2025-03-10#
Features
Misc
0.12.0 2025-03-03#
Features
Updates
pp.filter_genes&pp.filter_cellsAPI to be closer to thescanpyimplementation pr324 S Dicks
Bug fixes
Fixes a dtype issue with
decouplernets for optimal compatibility pr331 S Dicks
Version 0.11.0#
0.11.1 2025-01-21#
Misc
0.11.0 2024-12-19#
Features
Adds support for Multi-GPU out-of-core support through Dask pr179 S Dicks, I Gold & P Angerer
use
cuvsoverraftforpp.neighborsforrapids>=24.12pr304 S Dicksswitched to a different implementation of
pp.harmony_integratebased onharmony-pytorchpr308 S Dicks
Misc
Update
get_random_stateforscrubletpr301 S Dicks
Version 0.10.0#
0.10.11 2024-11-12#
Features
Adds
trimtopp.bbknnto restrict theconnectivitiespr285 S Dicks & P Angerer
Performance
make
trimforpp.bbknneven faster without needing to transpose pr290 S Dicks
Misc
Adds support for
Numpy-2.0pr277 S DicksAdds support for
rapids-24.10pr277 S DicksUpdates testing to use
rapids-24.10pr277 S DicksUpdates
dockerimage to userapids-24.10pr277 S Dickstl.UMAPnow usessimplicial_set_embeddingforrapids>=24.10pr278 S DicksUpdates
dockerimage to use the defaultENTRYPOINTpr292 N Trummer
0.10.10 2024-10-08#
Bug fixes
0.10.9 2024-10-01#
Features
add
key_addedparameter totl.pca,tl.tsne, andtl.umapthat allows to control where to put the output within the AnnData object pr244 P Angereradds
pp.bbknnusingraftandcumlas the backend pr264 S Dicks
Misc
0.10.8 2024-08-09#
Features
adds
tl.score_genespr235 S Dicksadds
tl.score_genes_cell_cyclepr235 S Dicksadds
get.X_to_GPUandget.X_to_CPUpr235 S Dicksadds
dcg.run_aucellpr236 S Dicks
Misc
0.10.7 2024-07-23#
Features
adds
decoupler_gpu.run_ulmpr224 S Dicks
Performance
adds
_sparse2densefor better performance pr220 S Dicksrefactors
regress_outpr222 S Dicksrefactors
decoupler_gpudataloading pr224 S Dicksupdates
regress_outfor better memory use pr227 S Dicksavoid
.toarray()in sparse PCA transform pr228 S Dicks
Bug fixes
Removes support for older rapids with
tl.louvainthat cause issues pr226 S Dicks
0.10.6 2024-06-25#
Bug fixes
removes
.Ato be compatible with scipy 1.14.0 pr214 S Dicks
Misc
updates tests to work without
scanpy.testingpr215 S Dicks
0.10.5 2024-06-11#
Bug fixes
fixes an issue with
tl.umapandinit_pospr197 S Dicksfixes an issue with
pp.highly_variable_genesforflavor = 'seurat_v3'with sparsecscpr199 S Dicksadds
AnyRandomto_utilspr200 S Dicks
Misc
updates installer for
rapids-24.06pr205 S Dicks
0.10.4 2024-05-14#
Bug fixes
fixes the creation of the docker container on release pr193 T Korten (HZDR/Helmholtz AI)
0.10.3 2024-05-13#
Features
adds the flavor
seurat_v3_papertopp.highly_variable_genespr170 S Dicksbuild docker images in github CI pr177 T Korten (HZDR/Helmholtz AI)
Performance
updates the
qc_kernelfor sparse matrixes to only write once for each major axis pr169 S Dicksreplaces sparse matrix operations with an element-wise kernel for
seurat_v3andseurat_v3_paper. This should use less memory. pr172 S Dickspp.scalenow usescp.clipfor all clipping pr173 S Dicksupdates
pp.highly_variable_genesfor the flavorsseuratandcell_rangerpr183 S Dickspp.scalenow usesRawKernelsfor dense and csr pr185 S Dicksupdates
gr.spatial_autocorrto use a preallocation during the iterations pr188 S Dicks_get_mean_varfor dense input now usescupy.ReductionKernelto improve precision and speed pr190 S Dicks
Bug fixes
fixes a bug where the
pp.scalewould have issues withint64indexing pr187 S Dicks
0.10.2 2024-04-15#
Features
adds the option to return the results for
get.aggregateas sparse matrices if the input is sparse pr160 S Dicksadds support for
rapids-24.04pr166 S Dicks
Performance
for
pp.scalereplaces array operation with an elementwise kernel to improve memory footprint pr159 S Dicks
Bug fixes
fixes small bugs with pandas in
ligrecpr166 S Dicks
Misc
0.10.1 2024-04-03#
Bug fixes
updates the behavior of
_check_gpu_Xforrequire_cf. It now only works forpearson_residualscalcs and corrects instead of throwing an error pr154 S DicksFixes the behavior of
pp.scalewithmask_obsandmax_value. Now only the masked part gets clipped pr158 S Dicks
Misc
0.10.0 2024-03-26#
Features
added
getmodule pr100 S Dicksswitch
utilsfunctions togetpr100 S Dicksadded
get.aggregatedto create condensedanndataobjects pr100 S Dicksadded
pp.scrubletandpp.scrublet_simulate_doubletspr129 S Dicksadds the option to return a copied
AnnDataforget.anndata_to_CPU&get.anndata_to_GPUpr134 S Dicksadds
maskargument topp.scaleandpp.pcapr135 S Dicksadds the option to run
pp.scaleon sparse matrixeszero_center = Falsewithout densification pr135 S Dicksupdated
ruffand now requires parameters by name/keyword in all public APIs pr140 S Dicksadds the option to run
pp.harmonywithnp.float32pr145 S Dicks
Bug fixes
Fixes an issue where
pp.normalizeandpp.log1pnow usecopyandinplacecorrectly pr129 S Dickschanges the graph constructor for
tl.leidenandtl.louvainpr143 S DicksAdded a test to handle zero features, that caused issues in the sparse
pp.pcapr144 S DicksAdded a test to check if sparse matrices are in
canonical format. For now this only affectspp.highly_variable_genes,pp.scaleandpp.normalize_pearson_residuals. pr146 S Dicks
Removals
Removed
cunnDatawhich was deprecated in0.9.0. Please useAnnDatafrom now on. pr130 S Dicks
Version 0.9.0#
0.9.6#
Bug fixes
Misc
Updates Conda yaml file to work with rapids-24.02 pr128 S Dicks
0.9.5#
Bug fixes
tl.louvainnow has backward compatibility with older rapids versions pr114 S Dicks
Misc
Updates Conda yaml file to work with rapids-23.12 pr114 S Dicks
0.9.4#
Features
leiden()now providesrandom_stateparameter for initializing the optimization pr102 J Pintar & S Dickstl.louvainnow providesthresholdparameter for setting the minimum modularity gain between levels pr103 J Pintar & S Dicksadded a kernel for sparse sum along the major axis pr112 S Dicks
calculate_qc_metrics()now uses less atomics and global memory during kernels pr113 S Dicks
0.9.3#
Features
neighborsnow works withraftand better supports approximate search withcagra,ivfpqandivfflatpr89 S Dicksspatial_autocorrnow works with sparse data matrices without densifying. It will use the sparse matrix by default. pr93 S Dicks
Bug fixes
Fixes an issue where
pcadidn’t write all parameters pr91 S Dicks
0.9.2#
Bug fixes
Fixes implicit conversion issue for
Umapandneighborspr82 S Dicks
0.9.1#
Features
added batchsize for
embedding_density()pr67 S Dicksadds subclustering and brings
leiden()andtl.louvaincloser to feature parity with scanpy pr68 S Dicks
Misc
Can now be installed against CUDA11 and CUDA12 with pip pr72 S Dicks
0.9.0#
Features
added support for dense
cupy.ndarraypr60 S Dicksadded support for 64 bit floats pr60 S Dicks
added
rapids_singlecell.utilsto help withAnnDataGPU conversion pr60 S Dicksswitched
neighbors()topppr60 S Dicksswitched
harmony_integrate()topppr60 S Dicksdeprecated
rapids_singlecell.cunnData.cunnDatapr60 S Dicks
Docs
updated Usage_Principles pr60 L Heumos & S Dicks
added a release-notes pr60 P Angerer & S Dicks
changed notebooks to work with anndata pr60 S Dicks
Bug fixes
Fix
rapids_singlecell.preprocessing._utils._get_mean_varpr60 S DicksFix
harmony_integrate()reproducibility pr60 S Dicks
Misc
tests now work with anndata
Version 0.8.0#
0.8.1#
Bug fixes
fixed
rsc.tl.neighborsfor rapids-23.08 pr55 S Dicks
Misc
switched testing to rapids-23.08 with cuda-11.8
0.8.0#
Features