libtensorflow_cc

Pre-built libtensorflow_cc.so and Docker Images for TensorFlow C++ API

https://github.com/ika-rwth-aachen/libtensorflow_cc

Science Score: 72.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
    Links to: zenodo.org
  • Committers with academic emails
    2 of 2 committers (100.0%) from academic institutions
  • Institutional organization owner
    Organization ika-rwth-aachen has institutional domain (www.ika.rwth-aachen.de)
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (13.5%) to scientific vocabulary

Keywords

cpp docker tensorflow
Last synced: 6 months ago · JSON representation ·

Repository

Pre-built libtensorflow_cc.so and Docker Images for TensorFlow C++ API

Basic Info
  • Host: GitHub
  • Owner: ika-rwth-aachen
  • License: mit
  • Language: Dockerfile
  • Default Branch: main
  • Homepage:
  • Size: 97.7 KB
Statistics
  • Stars: 66
  • Watchers: 2
  • Forks: 8
  • Open Issues: 4
  • Releases: 38
Topics
cpp docker tensorflow
Created over 3 years ago · Last pushed about 2 years ago
Metadata Files
Readme License Citation

README.md

libtensorflow_cc

We provide a pre-built library and a Docker image for easy installation and usage of the TensorFlow C++ API.

In order to, e.g., run TensorFlow models from C++ source code, one usually needs to build the C++ API in the form of the libtensorflow_cc.so library from source. There is no official release of the library and the build from source is only sparsely documented.

We try to remedy this current situation by providing two main components: 1. We provide the pre-built libtensorflow_cc.so including accompanying headers as a one-command-install deb-package. The package is available for both x8664/amd64 and arm64 machines running Ubuntu. See Installation. 2. We provide a pre-built Docker image based on the official TensorFlow Docker image. Our Docker image has both TensorFlow Python and TensorFlow C++ installed. The Docker images support both x8664/amd64 and arm64 architectures. The arm64 version is specifically targeted at NVIDIA Jetson Orin. See Docker Images.

[!IMPORTANT]
This repository is open-sourced and maintained by the Institute for Automotive Engineering (ika) at RWTH Aachen University.
Deep Learning is one of many research topics within our Vehicle Intelligence & Automated Driving domain.
If you would like to learn more about how we can support your deep learning or automated driving efforts, feel free to reach out to us!
     Timo Woopen - Manager Research Area Vehicle Intelligence & Automated Driving
     +49 241 80 23549
     timo.woopen@ika.rwth-aachen.de

If you want to use the TensorFlow C++ API to load, inspect, and run saved models and frozen graphs in C++, we suggest that you also check out our helper library tensorflow_cpp.


Demo

Run the following from the Git repository root to mount, build and run the example application in the pre-built Docker container.

```bash

libtensorflow_cc$

docker run --rm \ --volume $(pwd)/example:/example \ --workdir /example \ rwthika/tensorflow-cc:latest \ ./build-and-run.sh

Hello from TensorFlow C++ 2.13.0!

A =

1 2

3 4

x =

1

2

A * x =

5

11

```

Installation

The pre-built libtensorflow_cc.so library and accompanying headers are packaged as a deb-package that can be installed as shown below. The deb-package can also be downloaded manually from the Releases page. We provide versions with and without GPU support for x86_64/amd64 and arm64 architectures.

GPU

bash wget https://github.com/ika-rwth-aachen/libtensorflow_cc/releases/download/v2.13.0/libtensorflow-cc_2.13.0-gpu_$(dpkg --print-architecture).deb sudo dpkg -i libtensorflow-cc_2.13.0-gpu_$(dpkg --print-architecture).deb ldconfig

CPU

bash wget https://github.com/ika-rwth-aachen/libtensorflow_cc/releases/download/v2.13.0/libtensorflow-cc_2.13.0_$(dpkg --print-architecture).deb sudo dpkg -i libtensorflow-cc_2.13.0_$(dpkg --print-architecture).deb ldconfig

CMake Integration

Use find_package() to locate and integrate the TensorFlow C++ API into your CMake project.

```cmake

CMakeLists.txt

find_package(TensorFlow REQUIRED)

...

addexecutable(foo ...) # / addlibrary(foo ...)

...

targetincludedirectories(foo PRIVATE ${TensorFlowINCLUDEDIRS}) targetlinklibraries(foo PRIVATE ${TensorFlow_LIBRARIES}) ```

Docker Images

Instead of installing the TensorFlow C++ API using our deb-package, you can also run or build on top the pre-built Docker images in our Docker Hub repository. If supported, we offer CPU-only and GPU-supporting images. Starting with TensorFlow 2.9.2, we offer multi-arch images, supporting x86_64/amd64 and arm64 architectures.

The amd64 images are based on the official TensorFlow Docker images. The arm64 images are based on NVIDIA's official L4T TensorFlow images for Jetson, targeted at NVIDIA Jetson Orin. Our provided images only install the TensorFlow C++ API on top of those. The resulting images therefore enable you to run TensorFlow in both Python and C++.

| TensorFlow Version | CPU/GPU | Architecture | Image:Tag | | :---: | :---: | :---: | --- | | 2.13.0 | GPU | amd64 | rwthika/tensorflow-cc:latest-gpu | | 2.13.0 | CPU | amd64, arm64 | rwthika/tensorflow-cc:latest |

All TensorFlow Versions (GPU) | TensorFlow Version | Architecture | Image:Tag | | :---: | :---: | --- | | latest | amd64 | `rwthika/tensorflow-cc:latest-gpu` | | 2.13.0 | amd64 | `rwthika/tensorflow-cc:2.13.0-gpu` | | 2.12.0 | amd64 | `rwthika/tensorflow-cc:2.12.0-gpu` | | 2.11.1 | amd64 | `rwthika/tensorflow-cc:2.11.0-gpu` | | 2.11.0 | amd64, arm64 | `rwthika/tensorflow-cc:2.11.0-gpu` | | 2.10.1 | amd64, arm64 | `rwthika/tensorflow-cc:2.10.1-gpu` | | 2.10.0 | amd64, arm64 | `rwthika/tensorflow-cc:2.10.0-gpu` | | 2.9.3 | amd64, arm64 | `rwthika/tensorflow-cc:2.9.3-gpu` | | 2.9.2 | amd64, arm64 | `rwthika/tensorflow-cc:2.9.2-gpu` | | 2.9.1 | amd64 | `rwthika/tensorflow-cc:2.9.1-gpu` | | 2.9.0 | amd64 | `rwthika/tensorflow-cc:2.9.0-gpu` | | 2.8.4 | amd64, arm64 | `rwthika/tensorflow-cc:2.8.4-gpu` | | 2.8.3 | amd64 | `rwthika/tensorflow-cc:2.8.3-gpu` | | 2.8.2 | amd64 | `rwthika/tensorflow-cc:2.8.2-gpu` | | 2.8.1 | amd64 | `rwthika/tensorflow-cc:2.8.1-gpu` | | 2.8.0 | amd64 | `rwthika/tensorflow-cc:2.8.0-gpu` | | 2.7.4 | amd64 | `rwthika/tensorflow-cc:2.7.4-gpu` | | 2.7.3 | amd64 | `rwthika/tensorflow-cc:2.7.3-gpu` | | 2.7.2 | amd64 | `rwthika/tensorflow-cc:2.7.2-gpu` | | 2.7.1 | amd64 | `rwthika/tensorflow-cc:2.7.1-gpu` | | 2.7.0 | amd64 | `rwthika/tensorflow-cc:2.7.0-gpu` |
All TensorFlow Versions (CPU) | TensorFlow Version | Architecture | Image:Tag | | :---: | :---: | --- | | latest | amd64, arm64 | `rwthika/tensorflow-cc:latest` | | 2.13.0 | amd64, arm64 | `rwthika/tensorflow-cc:2.13.0` | | 2.12.1 | arm64 | `rwthika/tensorflow-cc:2.12.1` | | 2.12.0 | amd64, arm64 | `rwthika/tensorflow-cc:2.12.0` | | 2.11.1 | amd64, arm64 | `rwthika/tensorflow-cc:2.11.1` | | 2.11.0 | amd64, arm64 | `rwthika/tensorflow-cc:2.11.0` | | 2.10.1 | amd64, arm64 | `rwthika/tensorflow-cc:2.10.1` | | 2.10.0 | amd64, arm64 | `rwthika/tensorflow-cc:2.10.0` | | 2.9.3 | amd64, arm64 | `rwthika/tensorflow-cc:2.9.3` | | 2.9.2 | amd64, arm64 | `rwthika/tensorflow-cc:2.9.2` | | 2.9.1 | amd64 | `rwthika/tensorflow-cc:2.9.1` | | 2.9.0 | amd64 | `rwthika/tensorflow-cc:2.9.0` | | 2.8.4 | amd64, arm64 | `rwthika/tensorflow-cc:2.8.4` | | 2.8.3 | amd64 | `rwthika/tensorflow-cc:2.8.3` | | 2.8.2 | amd64 | `rwthika/tensorflow-cc:2.8.2` | | 2.8.1 | amd64 | `rwthika/tensorflow-cc:2.8.1` | | 2.8.0 | amd64 | `rwthika/tensorflow-cc:2.8.0` | | 2.7.4 | amd64 | `rwthika/tensorflow-cc:2.7.4` | | 2.7.3 | amd64 | `rwthika/tensorflow-cc:2.7.3` | | 2.7.2 | amd64 | `rwthika/tensorflow-cc:2.7.2` | | 2.7.1 | amd64 | `rwthika/tensorflow-cc:2.7.1` | | 2.7.0 | amd64 | `rwthika/tensorflow-cc:2.7.0` | | 2.6.1 | amd64 | `rwthika/tensorflow-cc:2.6.1` | | 2.6.0 | amd64 | `rwthika/tensorflow-cc:2.6.0` | | 2.5.1 | amd64 | `rwthika/tensorflow-cc:2.5.1` | | 2.5.0 | amd64 | `rwthika/tensorflow-cc:2.5.0` | | 2.4.3 | amd64 | `rwthika/tensorflow-cc:2.4.3` | | 2.4.2 | amd64 | `rwthika/tensorflow-cc:2.4.2` | | 2.4.1 | amd64 | `rwthika/tensorflow-cc:2.4.1` | | 2.4.0 | amd64 | `rwthika/tensorflow-cc:2.4.0` | | 2.3.4 | amd64 | `rwthika/tensorflow-cc:2.3.4` | | 2.3.3 | amd64 | `rwthika/tensorflow-cc:2.3.3` | | 2.3.2 | amd64 | `rwthika/tensorflow-cc:2.3.2` | | 2.3.1 | amd64 | `rwthika/tensorflow-cc:2.3.1` | | 2.3.0 | amd64 | `rwthika/tensorflow-cc:2.3.0` | | 2.0.4 | amd64 | `rwthika/tensorflow-cc:2.0.4` | | 2.0.3 | amd64 | `rwthika/tensorflow-cc:2.0.3` | | 2.0.1 | amd64 | `rwthika/tensorflow-cc:2.0.1` | | 2.0.0 | amd64 | `rwthika/tensorflow-cc:2.0.0` |

Build

If you would like to build the deb-package and Docker images yourself, use the Makefile as instructed below.

All make targets support the flags TF_VERSION (defaults to 2.13.0), GPU (defaults to 1), and ARCH (defaults to host architecture) in order to build a specific TensorFlow version in CPU/GPU mode for a specific architecture. The flag BUILD_PIP_PACKAGE (defaults to 0) enables you to also build the pip-package alongside.

All make targets listed below also have a counterpart named <target>-all, which can be used to build multiple TensorFlow versions one after the other using the TF_VERSIONS flag like so:

shell make 0-download-official-dockerfiles-all TF_VERSIONS="2.9.0 2.8.0 2.7.0"

0. Download Dockerfiles from TensorFlow repository

This downloads the directory tensorflow/tools/dockerfiles/ from the TensorFlow repository.

shell make 0-download-official-dockerfiles

1. Build TensorFlow Development Image

This builds a TensorFlow development image tensorflow/tensorflow:X.Y.Z-devel[-gpu] based on the Dockerfile downloaded from the TensorFlow repository.

shell make 1-build-official-devel-image

2. Build TensorFlow C++ Image

Based on the development image, this builds the TensorFlow C++ library libtensorflow_cc.so and installs it in a runtime image rwthika/tensorflow-cc:X.Y.Z[-gpu], including both Python and C++ TensorFlow. In an intermediate Docker build stage, a deb-package libtensorflow-cc_X.Y.Z[-gpu].deb is created.

shell make 2-build-cpp-image

3. Export TensorFlow C++ Library Installation Package

This exports the deb-package libtensorflow-cc_X.Y.Z[-gpu].deb to the libtensorflow-cc output folder.

shell make 3-export-libtensorflow-cc

4. Test TensorFlow C++

This installs builds and runs the example application inside a container of the runtime image.

shell make 4-test-libtensorflow-cc

5. Print Versions of Build Tools

This prints the exact version numbers of all tools involved in the build process.

shell make 5-print-versions

Supported TensorFlow Versions

Show Table | Version | Architecture | Step 1 (CPU) | Step 2 (CPU) | Step 4 (CPU) | Step 1 (GPU) | Step 2 (GPU) | Step 4 (GPU) | Notes | | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | --- | | 2.13.0 | amd64 | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | | | 2.13.0 | arm64 | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :x: | - | linker error at the end of building `libtensorflow_cc.so`; CPU image without Python TensorFlow | | 2.12.1 | amd64 | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | missing image `tensorflow/tensorflow:2.12.1` | | 2.12.1 | arm64 | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :x: | - | linker error at the end of building `libtensorflow_cc.so`; CPU image without Python TensorFlow | | 2.12.0 | amd64 | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | | | 2.12.0 | arm64 | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :x: | - | linker error at the end of building `libtensorflow_cc.so`; CPU image without Python TensorFlow | | 2.11.1 | amd64 | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | | | 2.11.1 | arm64 | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :x: | - | linker error at the end of building `libtensorflow_cc.so`; CPU image without Python TensorFlow | | 2.11.0 | amd64 | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | | | 2.11.0 | arm64 | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | | | 2.10.1 | amd64 | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | | | 2.10.1 | arm64 | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | | | 2.10.0 | amd64 | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | | | 2.10.0 | arm64 | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | | | 2.9.3 | amd64 | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | | | 2.9.3 | arm64 | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | | | 2.9.2 | amd64 | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | | | 2.9.2 | arm64 | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | | | 2.9.1 | amd64 | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | | | 2.9.0 | amd64 | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | | | 2.8.4 | amd64 | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | | | 2.8.4 | arm64 | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | | | 2.8.3 | amd64 | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | | | 2.8.2 | amd64 | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | | | 2.8.1 | amd64 | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | | | 2.8.0 | amd64 | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | | | 2.7.4 | amd64 | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | | | 2.7.3 | amd64 | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | | | 2.7.2 | amd64 | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | | | 2.7.1 | amd64 | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | | | 2.7.0 | amd64 | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | | | 2.6.5 | amd64 | :white_check_mark: | :x: | - | :x: | - | - | missing image `tensorflow/tensorflow:2.6.5`; unable to locate `libcudnn7=8.1.0.77-1+cuda11.2` | | 2.6.4 | amd64 | :white_check_mark: | :x: | - | :x: | - | - | missing image `tensorflow/tensorflow:2.6.4`; unable to locate `libcudnn7=8.1.0.77-1+cuda11.2` | | 2.6.3 | amd64 | :white_check_mark: | :x: | - | :x: | - | - | missing image `tensorflow/tensorflow:2.6.3`; unable to locate `libcudnn7=8.1.0.77-1+cuda11.2` | | 2.6.2 | amd64 | :white_check_mark: | :x: | - | :x: | - | - | missing image `tensorflow/tensorflow:2.6.2`; unable to locate `libcudnn7=8.1.0.77-1+cuda11.2` | | 2.6.1 | amd64 | :white_check_mark: | :white_check_mark: | :white_check_mark: | :x: | - | - | unable to locate `libcudnn7=8.1.0.77-1+cuda11.2` | | 2.6.0 | amd64 | :white_check_mark: | :white_check_mark: | :white_check_mark: | :x: | - | - | unable to locate `libcudnn7=8.1.0.77-1+cuda11.2` | | 2.5.3 | amd64 | :white_check_mark: | :x: | - | :x: | - | - | missing image `tensorflow/tensorflow:2.5.3`; unable to locate `libcudnn7=8.1.0.77-1+cuda11.2` | | 2.5.2 | amd64 | :white_check_mark: | :x: | - | :x: | - | - | missing image `tensorflow/tensorflow:2.5.2`; unable to locate `libcudnn7=8.1.0.77-1+cuda11.2` | | 2.5.1 | amd64 | :white_check_mark: | :white_check_mark: | :white_check_mark: | :x: | - | - | unable to locate `libcudnn7=8.1.0.77-1+cuda11.2` | | 2.5.0 | amd64 | :white_check_mark: | :white_check_mark: | :white_check_mark: | :x: | - | - | unable to locate `libcudnn7=8.1.0.77-1+cuda11.2` | | 2.4.4 | amd64 | :white_check_mark: | :x: | - | :x: | - | - | missing image `tensorflow/tensorflow:2.4.4`; unable to locate `libcudnn7=8.0.4.30-1+cuda11.0` | | 2.4.3 | amd64 | :white_check_mark: | :white_check_mark: | :white_check_mark: | :x: | - | - | unable to locate `libcudnn7=8.0.4.30-1+cuda11.0` | | 2.4.2 | amd64 | :white_check_mark: | :white_check_mark: | :white_check_mark: | :x: | - | - | unable to locate `libcudnn7=8.0.4.30-1+cuda11.0` | | 2.4.1 | amd64 | :white_check_mark: | :white_check_mark: | :white_check_mark: | :x: | - | - | unable to locate `libcudnn7=8.0.4.30-1+cuda11.0` | | 2.4.0 | amd64 | :white_check_mark: | :white_check_mark: | :white_check_mark: | :x: | - | - | unable to locate `libcudnn7=8.0.4.30-1+cuda11.0` | | 2.3.4 | amd64 | :white_check_mark: | :white_check_mark: | :white_check_mark: | :x: | - | - | unable to locate `libcudnn7=7.6.4.38-1+cuda10.1` | | 2.3.3 | amd64 | :white_check_mark: | :white_check_mark: | :white_check_mark: | :x: | - | - | unable to locate `libcudnn7=7.6.4.38-1+cuda10.1` | | 2.3.2 | amd64 | :white_check_mark: | :white_check_mark: | :white_check_mark: | :x: | - | - | unable to locate `libcudnn7=7.6.4.38-1+cuda10.1` | | 2.3.1 | amd64 | :white_check_mark: | :white_check_mark: | :white_check_mark: | :x: | - | - | unable to locate `libcudnn7=7.6.4.38-1+cuda10.1` | | 2.3.0 | amd64 | :white_check_mark: | :white_check_mark: | :white_check_mark: | :x: | - | - | unable to locate `libcudnn7=7.6.4.38-1+cuda10.1` | | 2.2.3 | amd64 | :white_check_mark: | :x: | - | :x: | - | - | no module named `numpy`; unable to locate `libcudnn7=7.6.4.38-1+cuda10.1` | | 2.2.2 | amd64 | :white_check_mark: | :x: | - | :x: | - | - | no module named `numpy`; unable to locate `libcudnn7=7.6.4.38-1+cuda10.1` | | 2.2.1 | amd64 | :white_check_mark: | :x: | - | :x: | - | - | no module named `numpy`; unable to locate `libcudnn7=7.6.4.38-1+cuda10.1` | | 2.2.0 | amd64 | :white_check_mark: | :x: | - | :x: | - | - | no module named `numpy`; unable to locate `libcudnn7=7.6.4.38-1+cuda10.1` | | 2.1.4 | amd64 | :white_check_mark: | :x: | - | :x: | - | - | no module named `numpy`; unable to locate `libcudnn7=7.6.2.24-1+cuda10.0` | | 2.1.3 | amd64 | :white_check_mark: | :x: | - | :x: | - | - | no module named `numpy`; unable to locate `libcudnn7=7.6.2.24-1+cuda10.0` | | 2.1.2 | amd64 | :white_check_mark: | :x: | - | :x: | - | - | no module named `numpy`; unable to locate `libcudnn7=7.6.2.24-1+cuda10.0` | | 2.1.1 | amd64 | :white_check_mark: | :x: | - | :x: | - | - | no module named `numpy`; unable to locate `libcudnn7=7.6.2.24-1+cuda10.0` | | 2.1.0 | amd64 | :white_check_mark: | :x: | - | :x: | - | - | no module named `numpy`; unable to locate `libcudnn7=7.6.2.24-1+cuda10.0` | | 2.0.4 | amd64 | :white_check_mark: | :white_check_mark: | :white_check_mark: | :x: | - | - | unable to locate `libcudnn7=7.6.2.24-1+cuda10.0` | | 2.0.3 | amd64 | :white_check_mark: | :white_check_mark: | :white_check_mark: | :x: | - | - | unable to locate `libcudnn7=7.6.2.24-1+cuda10.0` | | 2.0.2 | amd64 | :white_check_mark: | :x: | - | :x: | - | - | missing image `tensorflow/tensorflow:2.0.2`; unable to locate `libcudnn7=7.6.2.24-1+cuda10.0` | | 2.0.1 | amd64 | :white_check_mark: | :white_check_mark: | :white_check_mark: | :x: | - | - | unable to locate `libcudnn7=7.6.2.24-1+cuda10.0` | | 2.0.0 | amd64 | :white_check_mark: | :white_check_mark: | :white_check_mark: | :x: | - | - | unable to locate `libcudnn7=7.6.2.24-1+cuda10.0` |

Version Matrix

Show Table | TensorFlow | Architecture | Ubuntu | GCC | Bazel | Python | protobuf | CUDA | cuDNN | TensorRT | GPU Compute Capability | | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | | 2.13.0 | amd64 | 20.04 | 9.4.0/11.4.0 | 6.3.2 | 3.8.10 | 3.21.9 | 11.8.89 | 8.6.0 | 8.5.3 | 9.0, 8.9, 8.6, 8.0, 7.5, 7.0, 6.1, 6.0 | | 2.13.0 | arm64 | 20.04 | 9.4.0/11.4.0 | 6.3.2 | 3.8.10 | 3.21.9 | - | - | - | - | | 2.12.1 | amd64 | 20.04 | 9.4.0/11.4.0 | 6.3.2 | 3.8.10 | 3.21.9 | 11.8.89 | 8.6.0 | 8.5.3 | 9.0, 8.9, 8.6, 8.0, 7.5, 7.0, 6.1, 6.0 | | 2.12.1 | arm64 | 20.04 | 9.4.0/11.4.0 | 6.3.2 | 3.8.10 | 3.21.9 | - | - | - | - | | 2.12.0 | amd64 | 20.04 | 9.4.0/11.4.0 | 6.3.2 | 3.8.10 | 3.21.9 | 11.8.89 | 8.6.0 | 8.5.3 | 9.0, 8.9, 8.6, 8.0, 7.5, 7.0, 6.1, 6.0 | | 2.12.0 | arm64 | 20.04 | 9.4.0/11.4.0 | 6.3.2 | 3.8.10 | 3.21.9 | - | - | - | - | | 2.11.1 | amd64 | 20.04 | 9.4.0 | 6.3.2 | 3.8.10 | 3.9.2 | 11.2.152 | 8.1.0 | 7.2.2 | 8.6, 8.0, 7.5, 7.0, 6.1, 6.0 | | 2.11.1 | arm64 | 20.04 | 9.4.0 | 6.3.2 | 3.8.10 | 3.9.2 | - | - | - | - | | 2.11.0 | amd64 | 20.04 | 9.4.0 | 6.0.0 | 3.8.10 | 3.9.2 | 11.2.152 | 8.1.0 | 7.2.2 | 8.6, 8.0, 7.5, 7.2, 7.0, 6.1, 6.0, 5.3 | | 2.11.0 | arm64 | 20.04 | 9.4.0 | 6.0.0 | 3.8.10 | 3.9.2 | 11.4.239 | 8.4.1 | 8.4.1 | 8.7, 8.6, 8.0, 7.5, 7.2, 7.0, 6.1, 6.0, 5.3 | | 2.10.1 | amd64 | 20.04 | 9.4.0 | 6.0.0 | 3.8.10 | 3.9.2 | 11.2.152 | 8.1.0 | 7.2.2 | 8.6, 8.0, 7.5, 7.2, 7.0, 6.1, 6.0, 5.3 | | 2.10.1 | arm64 | 20.04 | 9.4.0 | 6.0.0 | 3.8.10 | 3.9.2 | 11.4.239 | 8.4.1 | 8.4.1 | 8.7, 8.6, 8.0, 7.5, 7.2, 7.0, 6.1, 6.0, 5.3 | | 2.10.0 | amd64 | 20.04 | 9.4.0 | 6.0.0 | 3.8.10 | 3.9.2 | 11.2.152 | 8.1.0 | 7.2.2 | 8.6, 8.0, 7.5, 7.2, 7.0, 6.1, 6.0, 5.3 | | 2.10.0 | arm64 | 20.04 | 9.4.0 | 6.0.0 | 3.8.10 | 3.9.2 | 11.4.239 | 8.4.1 | 8.4.1 | 8.7, 8.6, 8.0, 7.5, 7.2, 7.0, 6.1, 6.0, 5.3 | | 2.9.3 | amd64 | 20.04 | 9.4.0 | 6.0.0 | 3.8.10 | 3.9.2 | 11.2.152 | 8.1.0 | 7.2.2 | 8.6, 8.0, 7.5, 7.2, 7.0, 6.1, 6.0, 5.3 | | 2.9.3 | arm64 | 20.04 | 9.4.0 | 6.0.0 | 3.8.10 | 3.9.2 | 11.4.239 | 8.4.1 | 8.4.1 | 8.7, 8.6, 8.0, 7.5, 7.2, 7.0, 6.1, 6.0, 5.3 | | 2.9.2 | amd64 | 20.04 | 9.4.0 | 5.3.1 | 3.8.10 | 3.9.2 | 11.2.152 | 8.1.0 | 7.2.2 | 8.6, 8.0, 7.5, 7.2, 7.0, 6.1, 6.0, 5.3 | | 2.9.2 | arm64 | 20.04 | 9.4.0 | 5.3.2 | 3.8.10 | 3.9.2 | 11.4.239 | 8.4.1 | 8.4.1 | 8.7, 8.6, 8.0, 7.5, 7.2, 7.0, 6.1, 6.0, 5.3 | | 2.9.1 | amd64 | 20.04 | 9.4.0 | 5.3.0 | 3.8.10 | 3.9.2 | 11.2.152 | 8.1.0 | 7.2.2 | 8.6, 8.0, 7.5, 7.2, 7.0, 6.1, 6.0, 5.3 | | 2.9.0 | amd64 | 20.04 | 9.4.0 | 5.3.0 | 3.8.10 | 3.9.2 | 11.2.152 | 8.1.0 | 7.2.2 | 8.6, 8.0, 7.5, 7.2, 7.0, 6.1, 6.0, 5.3 | | 2.8.4 | amd64 | 20.04 | 9.4.0 | 4.2.1 | 3.8.10 | 3.9.2 | 11.2.152 | 8.1.0 | 7.2.2 | 8.6, 8.0, 7.5, 7.2, 7.0, 6.1, 6.0, 5.3 | | 2.8.4 | arm64 | 20.04 | 9.4.0 | 4.2.1 | 3.8.10 | 3.9.2 | 11.4.166 | 8.3.2 | 8.4.0 | 8.7, 8.6, 8.0, 7.5, 7.2, 7.0, 6.1, 6.0, 5.3 | | 2.8.3 | amd64 | 20.04 | 9.4.0 | 4.2.1 | 3.8.10 | 3.9.2 | 11.2.152 | 8.1.0 | 7.2.2 | 8.6, 8.0, 7.5, 7.2, 7.0, 6.1, 6.0, 5.3 | | 2.8.2 | amd64 | 20.04 | 9.4.0 | 4.2.1 | 3.8.10 | 3.9.2 | 11.2.152 | 8.1.0 | 7.2.2 | 8.6, 8.0, 7.5, 7.2, 7.0, 6.1, 6.0, 5.3 | | 2.8.1 | amd64 | 20.04 | 9.4.0 | 4.2.1 | 3.8.10 | 3.9.2 | 11.2.152 | 8.1.0 | 7.2.2 | 8.6, 8.0, 7.5, 7.2, 7.0, 6.1, 6.0, 5.3 | | 2.8.0 | amd64 | 20.04 | 9.4.0 | 4.2.1 | 3.8.10 | 3.9.2 | 11.2.152 | 8.1.0 | 7.2.2 | 8.6, 8.0, 7.5, 7.2, 7.0, 6.1, 6.0, 5.3 | | 2.7.4 | amd64 | 20.04 | 9.4.0 | 3.7.2 | 3.8.10 | 3.9.2 | 11.2.152 | 8.1.0 | 8.0.0 | 8.6, 8.0, 7.5, 7.2, 7.0, 6.1, 6.0, 5.3 | | 2.7.3 | amd64 | 20.04 | 9.4.0 | 3.7.2 | 3.8.10 | 3.9.2 | 11.2.152 | 8.1.0 | 8.0.0 | 8.6, 8.0, 7.5, 7.2, 7.0, 6.1, 6.0, 5.3 | | 2.7.2 | amd64 | 20.04 | 9.4.0 | 3.7.2 | 3.8.10 | 3.9.2 | 11.2.152 | 8.1.0 | 8.0.0 | 8.6, 8.0, 7.5, 7.2, 7.0, 6.1, 6.0, 5.3 | | 2.7.1 | amd64 | 20.04 | 9.4.0 | 3.7.2 | 3.8.10 | 3.9.2 | 11.2.152 | 8.1.0 | 8.0.0 | 8.6, 8.0, 7.5, 7.2, 7.0, 6.1, 6.0, 5.3 | | 2.7.0 | amd64 | 20.04 | 9.4.0 | 3.7.2 | 3.8.10 | 3.9.2 | 11.2.152 | 8.1.0 | 8.0.0 | 8.6, 8.0, 7.5, 7.2, 7.0, 6.1, 6.0, 5.3 | | 2.6.5 | amd64 | 18.04 | 7.5.0 | 3.7.2 | 3.6.9 | 3.9.2 | - | - | - | - | | 2.6.4 | amd64 | 18.04 | 7.5.0 | 3.7.2 | 3.6.9 | 3.9.2 | - | - | - | - | | 2.6.3 | amd64 | 18.04 | 7.5.0 | 3.7.2 | 3.6.9 | 3.9.2 | - | - | - | - | | 2.6.2 | amd64 | 18.04 | 7.5.0 | 3.7.2 | 3.6.9 | 3.9.2 | - | - | - | - | | 2.6.1 | amd64 | 18.04 | 7.5.0 | 3.7.2 | 3.6.9 | 3.9.2 | - | - | - | - | | 2.6.0 | amd64 | 18.04 | 7.5.0 | 3.7.2 | 3.6.9 | 3.9.2 | - | - | - | - | | 2.5.3 | amd64 | 18.04 | 7.5.0 | 3.7.2 | 3.6.9 | 3.9.2 | - | - | - | - | | 2.5.2 | amd64 | 18.04 | 7.5.0 | 3.7.2 | 3.6.9 | 3.9.2 | - | - | - | - | | 2.5.1 | amd64 | 18.04 | 7.5.0 | 3.7.2 | 3.6.9 | 3.9.2 | - | - | - | - | | 2.5.0 | amd64 | 18.04 | 7.5.0 | 3.7.2 | 3.6.9 | 3.9.2 | - | - | - | - | | 2.4.4 | amd64 | 18.04 | 7.5.0 | 3.1.0 | 3.6.9 | 3.9.2 | - | - | - | - | | 2.4.3 | amd64 | 18.04 | 7.5.0 | 3.1.0 | 3.6.9 | 3.9.2 | - | - | - | - | | 2.4.2 | amd64 | 18.04 | 7.5.0 | 3.1.0 | 3.6.9 | 3.9.2 | - | - | - | - | | 2.4.1 | amd64 | 18.04 | 7.5.0 | 3.1.0 | 3.6.9 | 3.9.2 | - | - | - | - | | 2.4.0 | amd64 | 18.04 | 7.5.0 | 3.1.0 | 3.6.9 | 3.9.2 | - | - | - | - | | 2.3.4 | amd64 | 18.04 | 7.5.0 | 3.1.0 | 3.6.9 | 3.9.2 | - | - | - | - | | 2.3.3 | amd64 | 18.04 | 7.5.0 | 3.1.0 | 3.6.9 | 3.9.2 | - | - | - | - | | 2.3.2 | amd64 | 18.04 | 7.5.0 | 3.1.0 | 3.6.9 | 3.9.2 | - | - | - | - | | 2.3.1 | amd64 | 18.04 | 7.5.0 | 3.1.0 | 3.6.9 | 3.9.2 | - | - | - | - | | 2.3.0 | amd64 | 18.04 | 7.5.0 | 3.1.0 | 3.6.9 | 3.9.2 | - | - | - | - | | 2.2.3 | amd64 | 18.04 | 7.5.0 | 2.0.0 | 2.7.17 | 3.8.0 | - | - | - | - | | 2.2.2 | amd64 | 18.04 | 7.5.0 | 2.0.0 | 2.7.17 | 3.8.0 | - | - | - | - | | 2.2.1 | amd64 | 18.04 | 7.5.0 | 2.0.0 | 2.7.17 | 3.8.0 | - | - | - | - | | 2.2.0 | amd64 | 18.04 | 7.5.0 | 2.0.0 | 2.7.17 | 3.8.0 | - | - | - | - | | 2.1.4 | amd64 | 18.04 | 7.5.0 | 0.29.1 | 2.7.17 | 3.8.0 | - | - | - | - | | 2.1.3 | amd64 | 18.04 | 7.5.0 | 0.29.1 | 2.7.17 | 3.8.0 | - | - | - | - | | 2.1.2 | amd64 | 18.04 | 7.5.0 | 0.29.1 | 2.7.17 | 3.8.0 | - | - | - | - | | 2.1.1 | amd64 | 18.04 | 7.5.0 | 0.29.1 | 2.7.17 | 3.8.0 | - | - | - | - | | 2.1.0 | amd64 | 18.04 | 7.5.0 | 0.29.1 | 2.7.17 | 3.8.0 | - | - | - | - | | 2.0.4 | amd64 | 18.04 | 7.5.0 | 0.26.1 | 2.7.17 | 3.8.0 | - | - | - | - | | 2.0.3 | amd64 | 18.04 | 7.5.0 | 0.26.1 | 2.7.17 | 3.8.0 | - | - | - | - | | 2.0.2 | amd64 | 18.04 | 7.5.0 | 0.26.1 | 2.7.17 | 3.8.0 | - | - | - | - | | 2.0.1 | amd64 | 18.04 | 7.5.0 | 0.26.1 | 2.7.17 | 3.8.0 | - | - | - | - | | 2.0.0 | amd64 | 18.04 | 7.5.0 | 0.26.1 | 2.7.17 | 3.8.0 | - | - | - | - |

Acknowledgements

This work is accomplished within the projects 6GEM (FKZ 16KISK038) and UNICARagil (FKZ 16EMO0284K). We acknowledge the financial support for the projects by the Federal Ministry of Education and Research of Germany (BMBF).

Notice

This repository is not endorsed by or otherwise affiliated with TensorFlow or Google. TensorFlow, the TensorFlow logo and any related marks are trademarks of Google Inc. TensorFlow is released under the Apache License 2.0.

Owner

  • Name: Institut für Kraftfahrzeuge, RWTH Aachen, ika
  • Login: ika-rwth-aachen
  • Kind: organization
  • Location: Aachen, Germany

Citation (CITATION.cff)

cff-version: 1.2.0

title: ika-rwth-aachen/libtensorflow_cc
doi: 10.5281/zenodo.7225836
type: software
repository-code: "https://github.com/ika-rwth-aachen/libtensorflow_cc.git"
authors:
  - given-names: Lennart
    family-names: Reiher
    email: "lennart.reiher@rwth-aachen.de"
    affiliation: "Institute for Automotive Engineering (ika), RWTH Aachen University"
    orcid: 0000-0002-7309-164X

GitHub Events

Total
  • Issues event: 1
  • Watch event: 7
  • Issue comment event: 2
  • Fork event: 1
Last Year
  • Issues event: 1
  • Watch event: 7
  • Issue comment event: 2
  • Fork event: 1

Committers

Last synced: 8 months ago

All Time
  • Total Commits: 103
  • Total Committers: 2
  • Avg Commits per committer: 51.5
  • Development Distribution Score (DDS): 0.165
Past Year
  • Commits: 0
  • Committers: 0
  • Avg Commits per committer: 0.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
Lennart Reiher l****r@i****e 86
Jean-Pierre Busch j****h@i****e 17
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 8 months ago

All Time
  • Total issues: 6
  • Total pull requests: 5
  • Average time to close issues: 8 days
  • Average time to close pull requests: 3 days
  • Total issue authors: 5
  • Total pull request authors: 2
  • Average comments per issue: 1.0
  • Average comments per pull request: 0.0
  • Merged pull requests: 5
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 1
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 1
  • Pull request authors: 0
  • Average comments per issue: 2.0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • martinelles (2)
  • BBO-repo (1)
  • SwuduSusuwu (1)
  • lreiher (1)
Pull Request Authors
  • lreiher (4)
  • jpbusch (1)
Top Labels
Issue Labels
Pull Request Labels

Dependencies

.github/workflows/test.yml actions
  • actions/checkout v3 composite
docker/Dockerfile docker
  • "final-${TARGETARCH}" latest build
  • nvcr.io/nvidia/l4t-tensorflow r35.1.0-tf2.9-py3 build
  • tensorflow/tensorflow ${TF_VERSION}${GPU_POSTFIX} build
  • tensorflow/tensorflow ${TF_VERSION}-devel${GPU_POSTFIX}-${TARGETARCH} build
  • ubuntu focal build