-
Notifications
You must be signed in to change notification settings - Fork 2
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
pyeddl cannot be installed in Google Colab #68
Comments
Hi Jon. I'm not sure what happened exactly. It says "Check the logs for full command output" in the end, but it looks like you haven't posted them. Did you install EDDL in a standard system location before running the above commands? That's required before trying installation with pip. Alternatively, a fully automated, easy installation is available via Conda. Full instructions are available at https://github.com/deephealthproject/conda_builds, but here is what you need for PyEDDL: (example for python 3.7 and ecvl compiled for GPU): channel configuration:
env creation and installation:
Packages are also available Python 3.6, 3.7 and 3.8, and compiled for CPU, GPU and GPU + CUDNN. |
But this doesn't work on Google Collab where the python is just running and we run the commands from the python in shell mode. In Google Collab like in other environments is the pip install method the one that is always well supported, but unfortunately pyeddl does not provide pip install. Anyway, perhaps you can try it in Google Collab and if you get it you can send us the notebook to use it in the Winter School. |
I managed to install it via a package called condacolab. I pushed the notebook with the installation steps to this repo as docs/ColabInstall.ipynb. |
In the case of CUDNN it seems that something failed (cudatoolkit?): !conda install pyeddl-cudnn Collecting package metadata (current_repodata.json): done SpecsConfigurationConflictError: Requested specs conflict with configured specs. |
The same for CUDA: Collecting package metadata (current_repodata.json): done SpecsConfigurationConflictError: Requested specs conflict with configured specs. |
It looks like the Colab backend is currently using CUDA 11. condacolab tries to be conservative and pins the |
We are thinking in using Google Colab for the WinterSchool, but I tried the following commands from three different notebook cells, in order to follow the indications in the pyeddl documentation about installation, and it fails.
!python3 -m pip install --upgrade setuptools pip
!python3 -m pip install --upgrade numpy 'pybind11<2.6' pytest
!(export EDDL_WITH_CUDA="true" ; python3 -m pip install pyeddl)
I wonder if it would be possible to use Colab for the Winter School or we have to search for another option. Anyway, the installation of the pyeddl with pip is difficult in general, I cannot be successful in other Linux machines I administer.
Here the output of the three commands to see the failures:
The text was updated successfully, but these errors were encountered: