rapids-single-cell-examples
rapids-single-cell-examples copied to clipboard
Colab implementation
Thanks for creating the notebooks!
I was interested in trying out the examples with an easy access to GPU. Are there plans to support Colab-friendly notebooks?
I put up a small example using the PBMC dataset here (this one being a small dataset is probably not the best to demonstrate the advantages of a GPU implementation though): https://colab.research.google.com/drive/1yHzkDfpqHOlX8jA3DqFTQNFyeubrt-YD?usp=sharing
I'm also interested in trying out the single cell clustering examples on Google Colab including the examples show here https://developer.nvidia.com/blog/accelerating-single-cell-genomic-analysis-using-rapids/
@saketkc I'm seeing an error with you Colab notebook
********************************************************************************************************
Enjoy using RAPIDS! If you have any issues with or suggestions for RAPIDSAI on Colab, please create a issue on https://github.com/rapidsai/rapidsai-csp-utils/issues/new.
---------------------------------------------------------------------------
ValueError Traceback (most recent call last)
[<ipython-input-3-f8691e4eb843>](https://localhost:8080/#) in <module>()
4 import sys, os
5
----> 6 dist_package_index = sys.path.index('/usr/local/lib/python3.6/dist-packages')
7 sys.path = sys.path[:dist_package_index] + ['/usr/local/lib/python3.6/site-packages'] + sys.path[dist_package_index:]
8 sys.path
ValueError: '/usr/local/lib/python3.6/dist-packages' is not in list
@cornhundred - I think Colab now uses Python 3.7 by default so it should hopefully work if you replace 3.6
by 3.7
- though I haven't tested if the above approach still works.