Skip to content

Instantly share code, notes, and snippets.

@saketkc
Last active June 25, 2020 17:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save saketkc/77e3d2590b4c8e186094b06b10d01779 to your computer and use it in GitHub Desktop.
Save saketkc/77e3d2590b4c8e186094b06b10d01779 to your computer and use it in GitHub Desktop.
#!/bin/bash
set -eox pipefail
#python -c "import sys, os; dist_package_index = sys.path.index('/usr/local/lib/python3.6/dist-packages'); sys.path = sys.path[:dist_package_index] + ['/usr/local/lib/python3.6/site-packages'] + sys.path[dist_package_index:]; sys.path.append('/usr/local/lib/python3.6/site-packages/'); exec(open('rapidsai-csp-utils/colab/update_modules.py').read(), globals()); print(sys.path)"
python -c "import sys, os; ['', '/env/python', '/usr/lib/python36.zip', '/usr/lib/python3.6', '/usr/lib/python3.6/lib-dynload', '/usr/local/lib/python3.6/site-packages', '/usr/local/lib/python3.6/dist-packages', '/usr/lib/python3/dist-packages', '/usr/local/lib/python3.6/site-packages/']; exec(open('rapidsai-csp-utils/colab/update_modules.py').read(), globals()); print(sys.path)"
nvcc --version
conda config --add channels defaults
conda config --add channels bioconda
conda config --add channels conda-forge
conda config --add channels nvidia
conda config --add channels rapidsai
conda install -y dask-cuda dask-cudf cuml cugraph numba=0.48* scipy ucx-py ucx-proc=*=gpu scikit-learn louvain cupy=7 scanpy umap-learn pip
#r-seurat r-reticulate
pip install jupyter-server-proxy
pip install git+https://github.com/dask/dask.git
pip install git+https://github.com/dask/distributed.git
wget -c https://raw.githubusercontent.com/clara-parabricks/rapids-single-cell-examples/master/notebooks/rapids_scanpy_funcs.py
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment