solaris icon indicating copy to clipboard operation
solaris copied to clipboard

Documentation on how to install solaris in colab

Open lappemic opened this issue 2 years ago • 0 comments

Documentation request summary

Through googling i found several colab's which used solaris as a main package. Unfortunately none of them are running properly since some dependency issues and outdated libraries (even though some of the notebooks were less than 4 month old). I would find some documentation on this really helpful. At least for me, this would have saved me quite some time.

Task detail and notes

To get the notebooks running i ran the following cells:

!pip install -q condacolab
import condacolab
condacolab.install()

then

!wget https://raw.githubusercontent.com/CosmiQ/solaris/main/environment-gpu.yml
!mamba env update -n base -f environment-gpu.yml

restarting the runtime manually or with follwoing cell

import os
os.kill(os.getpid(), 9)

then solaris gets installed without any dependency issues:

!pip install solaris

after this solars can be imported:

import solaris

lappemic avatar Aug 23 '22 08:08 lappemic