/ray-pytorch-lightning-mlflow

Example MNIST training using the following MLops tech stack: Ray, PyTorch Lightning, PyTorch, MLflow and Python 3.10.12.

Primary LanguagePythonMIT LicenseMIT

READ ME

Example MNIST training using the following tech stack:

Files

Fixes

In ray.tune.examples.mnist_ptl_mini package, change

self.accuracy = Accuracy()

to

self.accuracy = Accuracy(task="multiclass", num_classes=10)

Run

python mnist.py

The experiments will be recorded to MLflow in a local folder, mlruns and to Ray Tune in ~/ray_results/tune_mnist.

Launch MLflow in the launch folder.

mlflow ui