scviva.utils.stats_dtype#
- scviva.utils.stats_dtype(device)[source]#
Preferred floating dtype for statistical computations on
device.MPS has no float64 kernel support (a Metal hardware limitation, not a version gap), so double-precision statistics fall back to float32 there; CPU and CUDA keep float64 for numerical stability.