From f7839d1694ffea0fa1a526e4e8f41328f7187df1 Mon Sep 17 00:00:00 2001 From: cloverxqx <154257859+cloverxqx@users.noreply.github.com> Date: Mon, 22 Jan 2024 13:01:51 -0500 Subject: [PATCH 01/25] Update ubuntu-cuda --- Dockerfiles/ubuntu-cuda | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Dockerfiles/ubuntu-cuda b/Dockerfiles/ubuntu-cuda index eea30ed..dba370e 100644 --- a/Dockerfiles/ubuntu-cuda +++ b/Dockerfiles/ubuntu-cuda @@ -1,5 +1,4 @@ -FROM nvidia/cuda:11.6.2-cudnn8-devel-ubuntu20.04 - +FROM nvidia/cuda:11.7.1-cudnn8-runtime-ubuntu22.04 # copy the contents of this repository to the container COPY . tensorflow_cc # alternatively, clone the repository From d1fac6034be93de211254b75c6f3113de732b1ae Mon Sep 17 00:00:00 2001 From: cloverxqx <154257859+cloverxqx@users.noreply.github.com> Date: Mon, 22 Jan 2024 14:07:06 -0500 Subject: [PATCH 02/25] Update ubuntu-cuda --- Dockerfiles/ubuntu-cuda | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfiles/ubuntu-cuda b/Dockerfiles/ubuntu-cuda index dba370e..6c16bd9 100644 --- a/Dockerfiles/ubuntu-cuda +++ b/Dockerfiles/ubuntu-cuda @@ -1,4 +1,4 @@ -FROM nvidia/cuda:11.7.1-cudnn8-runtime-ubuntu22.04 +FROM nvidia/cuda:11.7.1-cudnn8-devel-ubuntu22.04 # copy the contents of this repository to the container COPY . tensorflow_cc # alternatively, clone the repository From c72f72f74dc40a8f037819ba29e1e6946e65bdc9 Mon Sep 17 00:00:00 2001 From: cloverxqx <154257859+cloverxqx@users.noreply.github.com> Date: Mon, 22 Jan 2024 16:51:50 -0500 Subject: [PATCH 03/25] Update ubuntu-requirements.sh --- ubuntu-requirements.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ubuntu-requirements.sh b/ubuntu-requirements.sh index 6ead29e..87c58db 100755 --- a/ubuntu-requirements.sh +++ b/ubuntu-requirements.sh @@ -13,7 +13,7 @@ if [[ "$OSTYPE" == "linux-gnu" ]]; then apt-get -y update apt-get -y install \ cmake \ - g++-9 \ + g++ \ git \ python3-dev \ python3-numpy \ From 1e26d4e0f0ccd2717bf5fcf7b5fc69abb338542a Mon Sep 17 00:00:00 2001 From: cloverxqx <154257859+cloverxqx@users.noreply.github.com> Date: Mon, 22 Jan 2024 16:52:18 -0500 Subject: [PATCH 04/25] Update install-ubuntu.sh --- Dockerfiles/install-ubuntu.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfiles/install-ubuntu.sh b/Dockerfiles/install-ubuntu.sh index 43b5987..1150bea 100755 --- a/Dockerfiles/install-ubuntu.sh +++ b/Dockerfiles/install-ubuntu.sh @@ -17,7 +17,7 @@ done if $cuda; then # install libcupti - apt-get -y install cuda-command-line-tools-11-6 + apt-get -y install cuda-command-line-tools-11-7 fi apt-get -y clean From 3f89e5587659ef09c026dbd6fcc165ae2a869544 Mon Sep 17 00:00:00 2001 From: cloverxqx <154257859+cloverxqx@users.noreply.github.com> Date: Tue, 23 Jan 2024 10:41:26 -0500 Subject: [PATCH 05/25] Update BAZEL_VERSION --- Dockerfiles/BAZEL_VERSION | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfiles/BAZEL_VERSION b/Dockerfiles/BAZEL_VERSION index ac14c3d..03f488b 100644 --- a/Dockerfiles/BAZEL_VERSION +++ b/Dockerfiles/BAZEL_VERSION @@ -1 +1 @@ -5.1.1 +5.3.0 From d372a7e78ff7cc9ed4900c37f34d844c9840fc94 Mon Sep 17 00:00:00 2001 From: cloverxqx <154257859+cloverxqx@users.noreply.github.com> Date: Tue, 23 Jan 2024 10:49:55 -0500 Subject: [PATCH 06/25] Update PROJECT_VERSION --- tensorflow_cc/PROJECT_VERSION | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tensorflow_cc/PROJECT_VERSION b/tensorflow_cc/PROJECT_VERSION index c8e38b6..d8b6989 100644 --- a/tensorflow_cc/PROJECT_VERSION +++ b/tensorflow_cc/PROJECT_VERSION @@ -1 +1 @@ -2.9.0 +2.12.0 From cd5f52b52a1fa006b10cfa27c6e99674876d5e55 Mon Sep 17 00:00:00 2001 From: cloverxqx <154257859+cloverxqx@users.noreply.github.com> Date: Wed, 24 Jan 2024 11:34:23 -0500 Subject: [PATCH 07/25] Update CMakeLists.txt --- tensorflow_cc/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tensorflow_cc/CMakeLists.txt b/tensorflow_cc/CMakeLists.txt index 9e23a37..dce55bc 100644 --- a/tensorflow_cc/CMakeLists.txt +++ b/tensorflow_cc/CMakeLists.txt @@ -12,7 +12,7 @@ set(LOCAL_RAM_RESOURCES 4096 CACHE STRING "The amount of local RAM resources pas set(LOCAL_CPU_RESOURCES HOST_CPUS CACHE STRING "The amount of local CPU cores passed to bazel scheduler (e.g., 2).") set(TENSORFLOW_TAG "v${version}" CACHE STRING "The tensorflow release tag to be checked out (default v${version}).") option(INSTALL_PROTOBUF "Install protobuf compatible with tensorflow version." OFF) -set(CMAKE_CXX_STANDARD 14 CACHE STRING "The C++ standard for building and linking the library (e.g., 14).") +set(CMAKE_CXX_STANDARD 20 CACHE STRING "The C++ standard for building and linking the library (e.g., 14).") # ------------- # CMake Options From db42675116572f4a0e5391f852b859a417ee153d Mon Sep 17 00:00:00 2001 From: cloverxqx <154257859+cloverxqx@users.noreply.github.com> Date: Wed, 24 Jan 2024 11:35:49 -0500 Subject: [PATCH 08/25] Update build_tensorflow.sh.in --- tensorflow_cc/cmake/build_tensorflow.sh.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tensorflow_cc/cmake/build_tensorflow.sh.in b/tensorflow_cc/cmake/build_tensorflow.sh.in index c609efa..b9980bc 100755 --- a/tensorflow_cc/cmake/build_tensorflow.sh.in +++ b/tensorflow_cc/cmake/build_tensorflow.sh.in @@ -88,9 +88,9 @@ fi # set bazel options for c++17 standard if necessary cxx_std_opts="" -if [ "@CMAKE_CXX_STANDARD@" == 17 ]; then +if [ "@CMAKE_CXX_STANDARD@" == 20 ]; then echo "Using C++17 standard" - cxx_std_opts="--config=c++17_gcc" + cxx_std_opts="--config=c++20_gcc" fi # configure and build From 861636504e19f6f5e7b3da99a604294eba768474 Mon Sep 17 00:00:00 2001 From: cloverxqx <154257859+cloverxqx@users.noreply.github.com> Date: Wed, 24 Jan 2024 11:46:05 -0500 Subject: [PATCH 09/25] Update ubuntu-cuda --- Dockerfiles/ubuntu-cuda | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfiles/ubuntu-cuda b/Dockerfiles/ubuntu-cuda index 6c16bd9..e9b4f41 100644 --- a/Dockerfiles/ubuntu-cuda +++ b/Dockerfiles/ubuntu-cuda @@ -1,4 +1,4 @@ -FROM nvidia/cuda:11.7.1-cudnn8-devel-ubuntu22.04 +FROM nvidia/cuda:11.8.0-cudnn8-devel-ubuntu22.04 # copy the contents of this repository to the container COPY . tensorflow_cc # alternatively, clone the repository From c639874baba54a71b3d8dd514e06c1d0cbdae723 Mon Sep 17 00:00:00 2001 From: cloverxqx <154257859+cloverxqx@users.noreply.github.com> Date: Wed, 24 Jan 2024 12:15:59 -0500 Subject: [PATCH 10/25] Update CMakeLists.txt --- tensorflow_cc/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tensorflow_cc/CMakeLists.txt b/tensorflow_cc/CMakeLists.txt index dce55bc..9e23a37 100644 --- a/tensorflow_cc/CMakeLists.txt +++ b/tensorflow_cc/CMakeLists.txt @@ -12,7 +12,7 @@ set(LOCAL_RAM_RESOURCES 4096 CACHE STRING "The amount of local RAM resources pas set(LOCAL_CPU_RESOURCES HOST_CPUS CACHE STRING "The amount of local CPU cores passed to bazel scheduler (e.g., 2).") set(TENSORFLOW_TAG "v${version}" CACHE STRING "The tensorflow release tag to be checked out (default v${version}).") option(INSTALL_PROTOBUF "Install protobuf compatible with tensorflow version." OFF) -set(CMAKE_CXX_STANDARD 20 CACHE STRING "The C++ standard for building and linking the library (e.g., 14).") +set(CMAKE_CXX_STANDARD 14 CACHE STRING "The C++ standard for building and linking the library (e.g., 14).") # ------------- # CMake Options From c7cad381598d9db2edf55591961620c59c24bf8f Mon Sep 17 00:00:00 2001 From: cloverxqx <154257859+cloverxqx@users.noreply.github.com> Date: Wed, 24 Jan 2024 12:16:37 -0500 Subject: [PATCH 11/25] Update build_tensorflow.sh.in --- tensorflow_cc/cmake/build_tensorflow.sh.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tensorflow_cc/cmake/build_tensorflow.sh.in b/tensorflow_cc/cmake/build_tensorflow.sh.in index b9980bc..c609efa 100755 --- a/tensorflow_cc/cmake/build_tensorflow.sh.in +++ b/tensorflow_cc/cmake/build_tensorflow.sh.in @@ -88,9 +88,9 @@ fi # set bazel options for c++17 standard if necessary cxx_std_opts="" -if [ "@CMAKE_CXX_STANDARD@" == 20 ]; then +if [ "@CMAKE_CXX_STANDARD@" == 17 ]; then echo "Using C++17 standard" - cxx_std_opts="--config=c++20_gcc" + cxx_std_opts="--config=c++17_gcc" fi # configure and build From 86fa8e5184ba1ffb0d1b803d24e3f6991e6fba85 Mon Sep 17 00:00:00 2001 From: cloverxqx <154257859+cloverxqx@users.noreply.github.com> Date: Wed, 24 Jan 2024 12:20:09 -0500 Subject: [PATCH 12/25] Update build_tensorflow.sh.in --- tensorflow_cc/cmake/build_tensorflow.sh.in | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tensorflow_cc/cmake/build_tensorflow.sh.in b/tensorflow_cc/cmake/build_tensorflow.sh.in index c609efa..f6a9243 100755 --- a/tensorflow_cc/cmake/build_tensorflow.sh.in +++ b/tensorflow_cc/cmake/build_tensorflow.sh.in @@ -88,9 +88,9 @@ fi # set bazel options for c++17 standard if necessary cxx_std_opts="" -if [ "@CMAKE_CXX_STANDARD@" == 17 ]; then - echo "Using C++17 standard" - cxx_std_opts="--config=c++17_gcc" +if [ "@CMAKE_CXX_STANDARD@" == 20 ]; then + echo "Using C++20 standard" + cxx_std_opts="--config=c++20_gcc" fi # configure and build From cb767b9228b4e8d28f2a886d7dc9fd836638b753 Mon Sep 17 00:00:00 2001 From: Qianxue Xia <2qx@ornl.gov> Date: Wed, 22 May 2024 17:28:24 -0400 Subject: [PATCH 13/25] Update Dockerfile to use nvidia/cuda:12.3.1-devel-ubuntu22.04 and install cuDNN --- Dockerfiles/ubuntu-cuda | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfiles/ubuntu-cuda b/Dockerfiles/ubuntu-cuda index e9b4f41..0218c97 100644 --- a/Dockerfiles/ubuntu-cuda +++ b/Dockerfiles/ubuntu-cuda @@ -1,4 +1,4 @@ -FROM nvidia/cuda:11.8.0-cudnn8-devel-ubuntu22.04 +FROM nvidia/cuda:12.3.1-devel-ubuntu22.04 # copy the contents of this repository to the container COPY . tensorflow_cc # alternatively, clone the repository From e7ad14eb38da1fb2e75b371ae388bd056ba48d59 Mon Sep 17 00:00:00 2001 From: cloverxqx <154257859+cloverxqx@users.noreply.github.com> Date: Wed, 22 May 2024 17:52:53 -0400 Subject: [PATCH 14/25] Update ubuntu-cuda cudnn --- Dockerfiles/ubuntu-cuda | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/Dockerfiles/ubuntu-cuda b/Dockerfiles/ubuntu-cuda index 0218c97..5e85a42 100644 --- a/Dockerfiles/ubuntu-cuda +++ b/Dockerfiles/ubuntu-cuda @@ -1,4 +1,26 @@ FROM nvidia/cuda:12.3.1-devel-ubuntu22.04 +# Set cuDNN environment variables +ENV NV_CUDNN_VERSION=8.9.6.50 +ENV NV_CUDNN_PACKAGE_NAME=libcudnn8 +ENV NV_CUDNN_PACKAGE=libcudnn8=8.9.6.50-1+cuda12.3 +ENV NV_CUDNN_PACKAGE_DEV=libcudnn8-dev=8.9.6.50-1+cuda12.3 +ARG TARGETARCH + +# Set the maintainer label +LABEL maintainer="NVIDIA CORPORATION " +LABEL com.nvidia.cudnn.version=8.9.6.50 + +# Install cuDNN +RUN apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204/x86_64/3bf863cc.pub \ + && echo "deb https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204/x86_64 /" > /etc/apt/sources.list.d/cuda.list \ + && apt-get update \ + && apt-get install -y --no-install-recommends \ + ${NV_CUDNN_PACKAGE} \ + ${NV_CUDNN_PACKAGE_DEV} \ + && apt-mark hold ${NV_CUDNN_PACKAGE} \ + && apt-get clean \ + && rm -rf /var/lib/apt/lists/* + # copy the contents of this repository to the container COPY . tensorflow_cc # alternatively, clone the repository From 621d40b88318fca94623af092c91f6ae0813e6a1 Mon Sep 17 00:00:00 2001 From: cloverxqx <154257859+cloverxqx@users.noreply.github.com> Date: Thu, 23 May 2024 10:56:47 -0400 Subject: [PATCH 15/25] Update ubuntu-cuda --- Dockerfiles/ubuntu-cuda | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/Dockerfiles/ubuntu-cuda b/Dockerfiles/ubuntu-cuda index 5e85a42..8990399 100644 --- a/Dockerfiles/ubuntu-cuda +++ b/Dockerfiles/ubuntu-cuda @@ -10,16 +10,8 @@ ARG TARGETARCH LABEL maintainer="NVIDIA CORPORATION " LABEL com.nvidia.cudnn.version=8.9.6.50 -# Install cuDNN -RUN apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204/x86_64/3bf863cc.pub \ - && echo "deb https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204/x86_64 /" > /etc/apt/sources.list.d/cuda.list \ - && apt-get update \ - && apt-get install -y --no-install-recommends \ - ${NV_CUDNN_PACKAGE} \ - ${NV_CUDNN_PACKAGE_DEV} \ - && apt-mark hold ${NV_CUDNN_PACKAGE} \ - && apt-get clean \ - && rm -rf /var/lib/apt/lists/* +RUN |1 TARGETARCH=amd64 /bin/sh -c +/bin/bash # copy the contents of this repository to the container COPY . tensorflow_cc From 18b0724b7fb14aa1a49cce4fd0ee6c4ec887b569 Mon Sep 17 00:00:00 2001 From: cloverxqx <154257859+cloverxqx@users.noreply.github.com> Date: Thu, 23 May 2024 11:08:45 -0400 Subject: [PATCH 16/25] Update ubuntu-cuda --- Dockerfiles/ubuntu-cuda | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfiles/ubuntu-cuda b/Dockerfiles/ubuntu-cuda index 8990399..0a6bb20 100644 --- a/Dockerfiles/ubuntu-cuda +++ b/Dockerfiles/ubuntu-cuda @@ -11,7 +11,7 @@ LABEL maintainer="NVIDIA CORPORATION " LABEL com.nvidia.cudnn.version=8.9.6.50 RUN |1 TARGETARCH=amd64 /bin/sh -c -/bin/bash + # copy the contents of this repository to the container COPY . tensorflow_cc From 5a32f14bd172fd0f9543c005f670a4ec7ff63d1e Mon Sep 17 00:00:00 2001 From: cloverxqx <154257859+cloverxqx@users.noreply.github.com> Date: Thu, 23 May 2024 11:09:57 -0400 Subject: [PATCH 17/25] Update ubuntu-cuda --- Dockerfiles/ubuntu-cuda | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/Dockerfiles/ubuntu-cuda b/Dockerfiles/ubuntu-cuda index 0a6bb20..ded226a 100644 --- a/Dockerfiles/ubuntu-cuda +++ b/Dockerfiles/ubuntu-cuda @@ -10,7 +10,16 @@ ARG TARGETARCH LABEL maintainer="NVIDIA CORPORATION " LABEL com.nvidia.cudnn.version=8.9.6.50 -RUN |1 TARGETARCH=amd64 /bin/sh -c +RUN mkdir -p /etc/apt/keyrings \ + && curl -fsSL https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204/x86_64/3bf863cc.pub | gpg --dearmor -o /etc/apt/keyrings/cuda-archive-keyring.gpg \ + && echo "deb [signed-by=/etc/apt/keyrings/cuda-archive-keyring.gpg] https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204/x86_64/ /" > /etc/apt/sources.list.d/cuda.list \ + && apt-get update \ + && apt-get install -y --no-install-recommends \ + ${NV_CUDNN_PACKAGE} \ + ${NV_CUDNN_PACKAGE_DEV} \ + && apt-mark hold ${NV_CUDNN_PACKAGE} \ + && apt-get clean \ + && rm -rf /var/lib/apt/lists/* # copy the contents of this repository to the container From 4592fa166bec599a1cbc676f592d65149e96e16b Mon Sep 17 00:00:00 2001 From: cloverxqx <154257859+cloverxqx@users.noreply.github.com> Date: Thu, 23 May 2024 11:11:25 -0400 Subject: [PATCH 18/25] Update ubuntu-cuda --- Dockerfiles/ubuntu-cuda | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Dockerfiles/ubuntu-cuda b/Dockerfiles/ubuntu-cuda index ded226a..b36e150 100644 --- a/Dockerfiles/ubuntu-cuda +++ b/Dockerfiles/ubuntu-cuda @@ -10,6 +10,14 @@ ARG TARGETARCH LABEL maintainer="NVIDIA CORPORATION " LABEL com.nvidia.cudnn.version=8.9.6.50 +# Install necessary tools including curl +RUN apt-get update && apt-get install -y --no-install-recommends \ + curl \ + gnupg \ + ca-certificates \ + && rm -rf /var/lib/apt/lists/* + +# Add the NVIDIA package repositories RUN mkdir -p /etc/apt/keyrings \ && curl -fsSL https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204/x86_64/3bf863cc.pub | gpg --dearmor -o /etc/apt/keyrings/cuda-archive-keyring.gpg \ && echo "deb [signed-by=/etc/apt/keyrings/cuda-archive-keyring.gpg] https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204/x86_64/ /" > /etc/apt/sources.list.d/cuda.list \ From b2508d201e4c8709134d8bf82c57ad13886e884b Mon Sep 17 00:00:00 2001 From: cloverxqx <154257859+cloverxqx@users.noreply.github.com> Date: Thu, 30 May 2024 12:40:18 -0400 Subject: [PATCH 19/25] Update BAZEL_VERSION --- Dockerfiles/BAZEL_VERSION | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfiles/BAZEL_VERSION b/Dockerfiles/BAZEL_VERSION index 03f488b..f22d756 100644 --- a/Dockerfiles/BAZEL_VERSION +++ b/Dockerfiles/BAZEL_VERSION @@ -1 +1 @@ -5.3.0 +6.5.0 From 6b72c98ac3608a44856bcd67a63fa4bf6093d62a Mon Sep 17 00:00:00 2001 From: cloverxqx <154257859+cloverxqx@users.noreply.github.com> Date: Thu, 30 May 2024 12:42:00 -0400 Subject: [PATCH 20/25] Update ubuntu-cuda --- Dockerfiles/ubuntu-cuda | 32 +------------------------------- 1 file changed, 1 insertion(+), 31 deletions(-) diff --git a/Dockerfiles/ubuntu-cuda b/Dockerfiles/ubuntu-cuda index b36e150..acc2b99 100644 --- a/Dockerfiles/ubuntu-cuda +++ b/Dockerfiles/ubuntu-cuda @@ -1,34 +1,4 @@ -FROM nvidia/cuda:12.3.1-devel-ubuntu22.04 -# Set cuDNN environment variables -ENV NV_CUDNN_VERSION=8.9.6.50 -ENV NV_CUDNN_PACKAGE_NAME=libcudnn8 -ENV NV_CUDNN_PACKAGE=libcudnn8=8.9.6.50-1+cuda12.3 -ENV NV_CUDNN_PACKAGE_DEV=libcudnn8-dev=8.9.6.50-1+cuda12.3 -ARG TARGETARCH - -# Set the maintainer label -LABEL maintainer="NVIDIA CORPORATION " -LABEL com.nvidia.cudnn.version=8.9.6.50 - -# Install necessary tools including curl -RUN apt-get update && apt-get install -y --no-install-recommends \ - curl \ - gnupg \ - ca-certificates \ - && rm -rf /var/lib/apt/lists/* - -# Add the NVIDIA package repositories -RUN mkdir -p /etc/apt/keyrings \ - && curl -fsSL https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204/x86_64/3bf863cc.pub | gpg --dearmor -o /etc/apt/keyrings/cuda-archive-keyring.gpg \ - && echo "deb [signed-by=/etc/apt/keyrings/cuda-archive-keyring.gpg] https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204/x86_64/ /" > /etc/apt/sources.list.d/cuda.list \ - && apt-get update \ - && apt-get install -y --no-install-recommends \ - ${NV_CUDNN_PACKAGE} \ - ${NV_CUDNN_PACKAGE_DEV} \ - && apt-mark hold ${NV_CUDNN_PACKAGE} \ - && apt-get clean \ - && rm -rf /var/lib/apt/lists/* - +FROM nvidia/cuda:12.3.2-cudnn9-devel-ubuntu22.04 # copy the contents of this repository to the container COPY . tensorflow_cc From 9d4cb5b958879ed93c4c53972b0a4cb9d990247d Mon Sep 17 00:00:00 2001 From: cloverxqx <154257859+cloverxqx@users.noreply.github.com> Date: Thu, 30 May 2024 12:44:00 -0400 Subject: [PATCH 21/25] Update install-ubuntu.sh --- Dockerfiles/install-ubuntu.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfiles/install-ubuntu.sh b/Dockerfiles/install-ubuntu.sh index 1150bea..17f3c1c 100755 --- a/Dockerfiles/install-ubuntu.sh +++ b/Dockerfiles/install-ubuntu.sh @@ -17,7 +17,7 @@ done if $cuda; then # install libcupti - apt-get -y install cuda-command-line-tools-11-7 + apt-get -y install cuda-command-line-tools-12-3 fi apt-get -y clean From 7d7a18deed184864d4eb51a05cc4a3959e267301 Mon Sep 17 00:00:00 2001 From: cloverxqx <154257859+cloverxqx@users.noreply.github.com> Date: Thu, 30 May 2024 12:44:53 -0400 Subject: [PATCH 22/25] Update PROJECT_VERSION --- tensorflow_cc/PROJECT_VERSION | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tensorflow_cc/PROJECT_VERSION b/tensorflow_cc/PROJECT_VERSION index d8b6989..0e7079b 100644 --- a/tensorflow_cc/PROJECT_VERSION +++ b/tensorflow_cc/PROJECT_VERSION @@ -1 +1 @@ -2.12.0 +2.16.1 From 3b7f8d34442e9bb53e90a2b7c22bbf829545dca5 Mon Sep 17 00:00:00 2001 From: cloverxqx <154257859+cloverxqx@users.noreply.github.com> Date: Tue, 2 Jul 2024 11:46:42 -0400 Subject: [PATCH 23/25] Update CMakeLists.txt change CMAKE_CXX_STANDARD from 14 to 18 --- tensorflow_cc/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tensorflow_cc/CMakeLists.txt b/tensorflow_cc/CMakeLists.txt index 9e23a37..72ae550 100644 --- a/tensorflow_cc/CMakeLists.txt +++ b/tensorflow_cc/CMakeLists.txt @@ -12,7 +12,7 @@ set(LOCAL_RAM_RESOURCES 4096 CACHE STRING "The amount of local RAM resources pas set(LOCAL_CPU_RESOURCES HOST_CPUS CACHE STRING "The amount of local CPU cores passed to bazel scheduler (e.g., 2).") set(TENSORFLOW_TAG "v${version}" CACHE STRING "The tensorflow release tag to be checked out (default v${version}).") option(INSTALL_PROTOBUF "Install protobuf compatible with tensorflow version." OFF) -set(CMAKE_CXX_STANDARD 14 CACHE STRING "The C++ standard for building and linking the library (e.g., 14).") +set(CMAKE_CXX_STANDARD 18 CACHE STRING "The C++ standard for building and linking the library (e.g., 14).") # ------------- # CMake Options From 7fd8892e3c9dcf8fad46bb880c13b23ce8737752 Mon Sep 17 00:00:00 2001 From: cloverxqx <154257859+cloverxqx@users.noreply.github.com> Date: Tue, 2 Jul 2024 12:15:42 -0400 Subject: [PATCH 24/25] Update CMakeLists.txt --- tensorflow_cc/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tensorflow_cc/CMakeLists.txt b/tensorflow_cc/CMakeLists.txt index 72ae550..dce55bc 100644 --- a/tensorflow_cc/CMakeLists.txt +++ b/tensorflow_cc/CMakeLists.txt @@ -12,7 +12,7 @@ set(LOCAL_RAM_RESOURCES 4096 CACHE STRING "The amount of local RAM resources pas set(LOCAL_CPU_RESOURCES HOST_CPUS CACHE STRING "The amount of local CPU cores passed to bazel scheduler (e.g., 2).") set(TENSORFLOW_TAG "v${version}" CACHE STRING "The tensorflow release tag to be checked out (default v${version}).") option(INSTALL_PROTOBUF "Install protobuf compatible with tensorflow version." OFF) -set(CMAKE_CXX_STANDARD 18 CACHE STRING "The C++ standard for building and linking the library (e.g., 14).") +set(CMAKE_CXX_STANDARD 20 CACHE STRING "The C++ standard for building and linking the library (e.g., 14).") # ------------- # CMake Options From 93831d1181f6374cdf35365030b2eebc18a90682 Mon Sep 17 00:00:00 2001 From: cloverxqx <154257859+cloverxqx@users.noreply.github.com> Date: Tue, 2 Jul 2024 12:15:59 -0400 Subject: [PATCH 25/25] Update PROJECT_VERSION --- tensorflow_cc/PROJECT_VERSION | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tensorflow_cc/PROJECT_VERSION b/tensorflow_cc/PROJECT_VERSION index 0e7079b..68e69e4 100644 --- a/tensorflow_cc/PROJECT_VERSION +++ b/tensorflow_cc/PROJECT_VERSION @@ -1 +1 @@ -2.16.1 +2.15.0