Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Colab implementation #30

Open
saketkc opened this issue Jul 12, 2020 · 2 comments
Open

Colab implementation #30

saketkc opened this issue Jul 12, 2020 · 2 comments

Comments

@saketkc
Copy link

saketkc commented Jul 12, 2020

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

@cornhundred
Copy link

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

@saketkc
Copy link
Author

saketkc commented Jun 30, 2022

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants