You need the following:
- Python >3.7
Some libraries installed on Graal:
With the Tensorflow runtime, in addition to using Tensorflow in a classical way, it is possible to do distributed training. For the moment only the "MultiWorkerMirroredStrategy" strategy is compatible with Graal. For more information on how to configure your code: multi_worker_strategy_tensorflow Note that Graal takes care of creating and configuring the TF_CONFIG.
Clone the example project and use pip to build it.
The example project named tensorflow_examples is composed of 2 modules. We can find an implementation of a classification model with Tensorflow and the same model with Tensorflow Distributed.