Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +4 -2
Dockerfile
CHANGED
@@ -31,8 +31,6 @@ RUN rm -f /etc/apt/sources.list.d/*.list && \
|
|
31 |
# if the next line does not work, we can also try this: libegl1-mesa-dev
|
32 |
libegl1 \
|
33 |
libgles2 \
|
34 |
-
libcusparse \
|
35 |
-
libcusparse-dev \
|
36 |
build-essential \
|
37 |
libsndfile-dev \
|
38 |
software-properties-common \
|
@@ -70,6 +68,10 @@ RUN curl -sLo ~/miniconda.sh https://repo.continuum.io/miniconda/Miniconda3-py31
|
|
70 |
&& rm ~/miniconda.sh \
|
71 |
&& conda clean -ya
|
72 |
|
|
|
|
|
|
|
|
|
73 |
WORKDIR $HOME/app
|
74 |
|
75 |
#######################################
|
|
|
31 |
# if the next line does not work, we can also try this: libegl1-mesa-dev
|
32 |
libegl1 \
|
33 |
libgles2 \
|
|
|
|
|
34 |
build-essential \
|
35 |
libsndfile-dev \
|
36 |
software-properties-common \
|
|
|
68 |
&& rm ~/miniconda.sh \
|
69 |
&& conda clean -ya
|
70 |
|
71 |
+
# Make sure that Jax and cuSPARSE are properly installed for CUDA 12.x
|
72 |
+
RUN conda install nvidia::libcusparse
|
73 |
+
RUN conda install "jaxlib=*=*cuda*" jax -c conda-forge
|
74 |
+
|
75 |
WORKDIR $HOME/app
|
76 |
|
77 |
#######################################
|