I’m not keen to mix Conda and pip together in my environment.
In my dockerfile (from 3.9.7-slim-bullseye) I simply added --no-binary xgboost to compile:
…
RUN printf “# Testing repository - main, contrib and non-free branches\ndeb http://deb.debian.org/debian testing main contrib\ndeb-src http://deb.debian.org/debian testing main contrib\n” >> /etc/apt/sources.list
&& apt-get update
&& apt-get install --no-install-recommends -y -o APT::Immediate-Configure=0 -o APT::Install-Suggests=0
curl
ffmpeg
libglfw3
python3-opengl
xauth
xorg-dev
xvfb
…
RUN pip install --no-cache-dir --requirement ./requirements.txt --no-binary xgboost
The installation seems to be ok and the file libxgboost.so is 5.4M (without CUDA)
I think this has something to do with Celery, do any of you guys have a similar setup?