File size: 585 Bytes
1be89f3 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 |
# cuda11.8 due to implicit
FROM pytorch/pytorch:2.7.0-cuda11.8-cudnn9-devel@sha256:e567ea2642d4e25ef647e9872d09980613a7b1ecc8d2973e339c60a07343046f
WORKDIR /yambda
RUN apt-get update && \
apt-get install -y --no-install-recommends \
libsuitesparse-dev \
build-essential \
git
ENV CUDACXX=/usr/local/cuda/bin/nvcc \
SUITESPARSE_INCLUDE_DIR=/usr/include/suitesparse \
SUITESPARSE_LIBRARY_DIR=/usr/lib
RUN pip install implicit
RUN git clone https://github.com/glami/sansa.git && cd sansa && pip install . && cd ..
COPY . .
RUN pip install -e .
|