xwang2713 eacaa17c9e HPCC-26464 upgrade TensorFlow to version 2.6.0 3 tahun lalu
..
Dockerfile eacaa17c9e HPCC-26464 upgrade TensorFlow to version 2.6.0 3 tahun lalu
README.md e34fa3eb1a HPCC-25980 Update with TensorFlow 2.5 4 tahun lalu

README.md

HPCC Systems Machine Learning GNN GPU Docker Images

Tensorflow 2 with GPU support

The new Tensorflow 2 and Nvidia Cuda libraries are not always compatible. It will be ideal if we can use Docker image by published by Tensorflow (Docker Hub tensorflow/tensorflow -gpu) but the base image is Ubuntu 18.04 and we use Ubuntu 20.04. So instead we create the images by addiing Tensorflow 2 and Nvida Cuda, etc libraries on the top of hpccystems/platform-core image.

When preparing the Dockerfile, specially for Tensorflow 2 with GPU support it is important to reference Tensorflow and Nvidia Cuda Dockerfiles and Docker images to pick compatible libabries.

Docker image and Dockerfile Reference

Tensforflow

Nvidia Cuda

https://hub.docker.com/layers/nvidia/cuda/11.3.1-base/images/sha256-351d731f46159c1afdb003121e96b512a77c410c2b43ee6ea74cf1413bb858ab?context=explore

Build

Go to ml images under /dockerfiles/ml directory:

export INPUT_BUILD_ML= <one of ml, gnn and gnn-gpu>
./buildall.sh

You can provide "-l" to build without version information as a default image. You need manually push the image to Docker repository such as Docker Hub.

Machine Learning features can also be built with buildall.sh when environment variable BUILD_ML is defined. To build all set BUILD_ML=all. To build individual or subset set, for exampl, BUILD_ML=gnn or BUILD_ML="gnn gnn-gpu".