Skip to content

Commit 2ca4743

Browse files
committed
fix tensorrt by ignoring it
1 parent 289470f commit 2ca4743

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

images/scipy-ml-notebook/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ USER root
88
# https://www.tensorflow.org/install/source#linux
99

1010
# Python/Mamba deps
11-
## tf 2.13 does not work with torch 2.2.1. Both require conflicting versions of typing-extensions
11+
## tf 2.18+ does not work with cu124 pytorch. tf 2.18 needs cudnn 9.3+, torch installs cudnn 9.1
1212
ARG CUDA_VERSION=12.4 \
13-
TENSORFLOW_VERSION=2.18.0 KERAS_VERSION=3.7.0 TENSORRT_VERSION=10.7.0 TORCH_VERSION=2.5.1
13+
TENSORFLOW_VERSION=2.17.0 KERAS_VERSION=3.7.0 TENSORRT_VERSION=10.7.0 TORCH_VERSION=2.5.1
1414

1515
# apt deps
1616
RUN apt-get update && \

images/scipy-ml-notebook/tensorrt_env_vars.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@
44
#export LD_LIBRARY_PATH="/opt/conda/lib/python3.11/site-packages/tensorrt:$LD_LIBRARY_PATH"
55

66
# tensorrt 8.6+
7-
export LD_LIBRARY_PATH="/opt/conda/lib/python3.11/site-packages/tensorrt:$LD_LIBRARY_PATH"
8-
export LD_LIBRARY_PATH="/opt/conda/lib/python3.11/site-packages/tensorrt_bindings:$LD_LIBRARY_PATH"
9-
export LD_LIBRARY_PATH="/opt/conda/lib/python3.11/site-packages/tensorrt_libs:$LD_LIBRARY_PATH"
7+
export LD_LIBRARY_PATH="/opt/conda/lib/python3.12/site-packages/tensorrt:$LD_LIBRARY_PATH"
8+
export LD_LIBRARY_PATH="/opt/conda/lib/python3.12/site-packages/tensorrt_bindings:$LD_LIBRARY_PATH"
9+
export LD_LIBRARY_PATH="/opt/conda/lib/python3.12/site-packages/tensorrt_libs:$LD_LIBRARY_PATH"

0 commit comments

Comments
 (0)