iot-salzburg / gpu-jupyter

GPU-Jupyter: Leverage the flexibility of Jupyterlab through the power of your NVIDIA GPU to run your code from Tensorflow and Pytorch in collaborative notebooks on the GPU.
Apache License 2.0
708 stars 235 forks source link

Is removing llvmlite 0.38 safe? #70

Closed pcasagranda closed 2 years ago

pcasagranda commented 2 years ago

I'm using this excellent docker image for tests. Installing huggingface asrecognition fails, as it requires llvmlite-0.36.0-cp39-cp39-manylinux2010_x86_64. However, even the gpu-jupyter generated as "slim" (--slim) includes llvmlite 0.38, which cannot be uninstalled with pip.

I removed it with conda. Is it safe or you can suggest other solutions?

ChristophSchranz commented 2 years ago

Hi @pcasagranda I'm glad you like it! :)

llvmite is installed because it is part of the anaconda-toolstack that is stacked into this installation. I'm not sure if this is safe. I suppose the anaconda toolstack tries to install the latest version that is compatible with the other toolstack. So downgrading will be in many cases okay. Expecially if you do so by conda, it automatically will run some tests. And in case it doesn't, you can't crash your host system within the docker-container 😉