Comments (4)
We cover the enhancement to use custom dataloader in the recent version of scVI-tools.
However, it is not clear yet which minimal checks (integer, gene names) we still want to perform.
About your example: @Intron7: Is this idea of having AnnData in torch recommended? What analysis capabilities are possible in this scenario? I thought this is meant to be done in rapids_singlecell. Does rapids copy back and forth between CPU and GPU or is the full data kept between processing steps on GPU?
from scvi-tools.
Thanks! Is there already a link to an example usage of this new version?
AFAIK rapids_singlecell keeps matrices on GPU without back and forth, (not using torch though) https://rapids-singlecell.readthedocs.io/en/latest/Usage_Principles.html
from scvi-tools.
We are still talking about how this would work. However at the moment whenever I use rsc I have to transform back to cpu and than use scvi. Rapids-singlecell really wants .X
and .layers
on the GPU so everything has to be in memory. I would really like if we used DLPack for this. DLPack allows for the 0 copy conversion from cupy and jax to torch.
from scvi-tools.
Hi @j-bac, thanks for the suggestion. We will be releasing a tutorial with our next release (v1.2) that covers a basic usecase with a custom dataloader. I'll note that we currently don't support inference methods yet (e.g. get_latent_representation
), but it's something we're working on.
from scvi-tools.
Related Issues (20)
- No library_size argument in get_normalized_expression for MultiVI HOT 1
- torch.distributed.DistBackendError when training on multiple GPUs HOT 5
- conda issue- import scvi HOT 5
- Mixed usage of `n_samples_overall` in `get_normalized_expression`
- Use TensorBoard as default logger
- VeloVI uses np.argsort, does not work with sparse spliced/unspliced layers HOT 4
- Document `SOLO.predict()` return values better. HOT 9
- Jax dependency error, solution other than downgrade? HOT 6
- SCVI can no longer be imported in R studio via reticulate HOT 2
- Fail to accerlerate scvi analysis using gpu on mac M1 HOT 7
- Update CI description in maintenance guide
- benign typo in kwarg HOT 1
- scvi tools train with multi gpus HOT 2
- SemiSupervisedDataSplitter not properly separating unlabelled cells into train/val/test HOT 1
- 'SCVI' object has no attribute 'eval' HOT 2
- Assistance Required with scvi-tools GPU Setup on Ubuntu HOT 7
- Can we have a scVI with reconstruction distirbution as normal distribution? HOT 4
- Consider non-jitting MRVI tests/long tests pytest flag
- Jax version of VAEMixin
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from scvi-tools.