New in 0.18.0 (2022-10-12)#
Major Changes#
Add latent mode support in
SCVI
#1672. This allows for loading a model using latent representations only (i.e. without the full counts). Not only does this speed up inference by using the cached latent distribution parameters (thus skipping the encoding step), but this also helps in scenarios where the full counts are not available but cached latent parameters are. We provide utility functions and methods to dynamically convert a model to latent mode.Added
SCAR
as an external model for ambient RNA removal #1683.
Minor changes#
Faster inference in PyTorch with
torch.inference_mode
#1695.Upgrade to Lightning 1.6 #1719.
Update CI workflow to separate static code checking from pytest #1710.
Add Python 3.10 to CI workflow #1711.
Use sphinxcontrib-bibtex for references #1731.
get_latent_representation()
: more explicit and better docstring #1732.Replace custom attrdict with
ml_collections
implementation #1696.
Breaking changes#
None