mirror of
https://github.com/zebrajr/tensorflow.git
synced 2025-12-06 12:20:11 +01:00
Add libnvrtc.so.11.1 path to LD_LIBRARY_PATH for RBE configs, as required by TensorRT 7.
PiperOrigin-RevId: 383633428 Change-Id: Ibf04b8952b67c7bd95b34f6420f6cbbec1acda93
This commit is contained in:
parent
801784753f
commit
c17efed8b0
5
.bazelrc
5
.bazelrc
|
|
@ -430,7 +430,10 @@ build:rbe_linux_cuda_base --config=tensorrt
|
|||
build:rbe_linux_cuda_base --action_env=TF_CUDA_VERSION=11
|
||||
build:rbe_linux_cuda_base --action_env=TF_CUDNN_VERSION=8
|
||||
build:rbe_linux_cuda_base --repo_env=REMOTE_GPU_TESTING=1
|
||||
test:rbe_linux_cuda_base --test_env=LD_LIBRARY_PATH="/usr/local/cuda/lib64:/usr/local/cuda/extras/CUPTI/lib64"
|
||||
# TensorRT 7 for CUDA 11.1 is compatible with CUDA 11.2, but requires
|
||||
# libnvrtc.so.11.1. See https://github.com/NVIDIA/TensorRT/issues/1064.
|
||||
# TODO(b/187962120): Remove when upgrading to TensorRT 8.
|
||||
test:rbe_linux_cuda_base --test_env=LD_LIBRARY_PATH="/usr/local/cuda/lib64:/usr/local/cuda/extras/CUPTI/lib64:/usr/local/cuda-11.1/lib64"
|
||||
|
||||
build:rbe_linux_cuda11.2_nvcc_base --config=rbe_linux_cuda_base
|
||||
build:rbe_linux_cuda11.2_nvcc_base --host_crosstool_top="@ubuntu18.04-gcc7_manylinux2010-cuda11.2-cudnn8.1-tensorrt7.2_config_cuda//crosstool:toolchain"
|
||||
|
|
|
|||
|
|
@ -95,4 +95,7 @@ ENV CLANG_VERSION="r7f6f9f4cf966c78a315d15d6e913c43cfa45c47c"
|
|||
COPY install/install_latest_clang.sh /install/
|
||||
RUN /install/install_latest_clang.sh
|
||||
|
||||
# TensorRT 7 for CUDA 11.1 is compatible with CUDA 11.2, but requires
|
||||
# libnvrtc.so.11.1. See https://github.com/NVIDIA/TensorRT/issues/1064.
|
||||
# TODO(b/187962120): Remove when upgrading to TensorRT 8.
|
||||
ENV LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:/usr/local/cuda-11.1/lib64"
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user