Files
Sneha DasandGitHub 19059da816 feat: add production-ready MNIST example for PyTorch (#3063)
* feat(examples): align speech and audio examples with MNIST TrainJob flow

This commit updates the speech-recognition and audio-classification notebooks to consistently use the Kubeflow Trainer SDK for TrainJob creation, status checking, and log streaming. It also adjusts the test workflows.

Signed-off-by: Sneha Das <[email protected]>

* fix: resolve torchcodec dependency and ddp timeout

Signed-off-by: Sneha Das <[email protected]>

* fix: align installation steps with mnist example

Signed-off-by: Sneha Das <[email protected]>

* fix: align installation step in speech recognition  with mnist example

Signed-off-by: Sneha Das <[email protected]>

* fix: update SDK installation and paths in audio/speech notebooks

Signed-off-by: Sneha Das <[email protected]>

* chore: fix end of file newlines in notebooks

Signed-off-by: Sneha Das <[email protected]>

* fix: updated the installation path

Signed-off-by: Sneha Das <[email protected]>

---------

Signed-off-by: Sneha Das <[email protected]>
2026-02-10 18:01:14 +00:00

886 B

PyTorch Examples

This directory contains examples for training PyTorch models using the Kubeflow Trainer SDK.

Examples

Task Model Dataset Notebook
Image Classification CNN Fashion MNIST mnist.ipynb
Question Answering DistilBERT SQuAD fine-tune-distilbert.ipynb
Speech Recognition Transformer Speech Commands speech-recognition.ipynb
Audio Classification CNN (M5) GTZAN audio-classification.ipynb
Data Caching [Model] [Dataset] data-cache-example.ipynb

Prerequisites

To run these examples, install the Kubeflow SDK:

pip install -U kubeflow