-
-
Notifications
You must be signed in to change notification settings - Fork 234
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #126 from iot-salzburg/v1.5_cuda-12.0_ubuntu-22.04
update libcudnn8 to install TF RTX requirements
- Loading branch information
Showing
3 changed files
with
92 additions
and
60 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -380,6 +380,13 @@ LABEL maintainer="Christoph Schranz <[email protected]>, Mat | |
# Install Tensorflow, check compatibility here: | ||
# https://www.tensorflow.org/install/source#gpu | ||
# installation via conda leads to errors in version 4.8.2 | ||
# Install CUDA-specific nvidia libraries and update libcudnn8 before that | ||
USER root | ||
RUN apt-get update && \ | ||
apt-get install -y --no-install-recommends --allow-change-held-packages libcudnn8 && \ | ||
apt-get install -y --no-install-recommends libnvinfer-dev libnvinfer-plugin-dev && \ | ||
apt-get clean && rm -rf /var/lib/apt/lists/* | ||
RUN cd /usr/lib/x86_64-linux-gnu && ln -s libnvinfer_plugin.so.8 libnvinfer_plugin.so.7 && ln -s libnvinfer.so.8 libnvinfer.so.7 | ||
USER ${NB_UID} | ||
RUN pip install --upgrade pip && \ | ||
pip install --no-cache-dir tensorflow==2.15.0 keras==2.15.0 && \ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,6 +3,13 @@ LABEL maintainer="Christoph Schranz <[email protected]>, Mat | |
# Install Tensorflow, check compatibility here: | ||
# https://www.tensorflow.org/install/source#gpu | ||
# installation via conda leads to errors in version 4.8.2 | ||
# Install CUDA-specific nvidia libraries and update libcudnn8 before that | ||
USER root | ||
RUN apt-get update && \ | ||
apt-get install -y --no-install-recommends --allow-change-held-packages libcudnn8 && \ | ||
apt-get install -y --no-install-recommends libnvinfer-dev libnvinfer-plugin-dev && \ | ||
apt-get clean && rm -rf /var/lib/apt/lists/* | ||
RUN cd /usr/lib/x86_64-linux-gnu && ln -s libnvinfer_plugin.so.8 libnvinfer_plugin.so.7 && ln -s libnvinfer.so.8 libnvinfer.so.7 | ||
USER ${NB_UID} | ||
RUN pip install --upgrade pip && \ | ||
pip install --no-cache-dir tensorflow==2.15.0 keras==2.15.0 && \ | ||
|