Red Hat field build wires OpenShift AI training to serving
A new reference pattern uses Kubeflow Trainer v2, OSFT, MLflow and vLLM to turn banking complaints into strict routing decisions.
Red Hat AI Americas has published a complete OpenShift AI 3.5 reference build for distributed fine-tuning with Kubeflow Trainer v2. The example trains a small language model to classify banking complaints into 77 intents, tracks the run in MLflow and serves the resulting model through KServe and vLLM.
The pattern covers the full training path
The repository starts with the Banking77 dataset and fine-tunes Qwen2.5-1.5B-Instruct using Orthogonal Subspace Fine-Tuning, or OSFT. Its stated goal is narrower than a conversational support agent: the trained model should return strict JSON routing decisions instead of conversational filler.
The training job runs through OpenShift AI’s Kubeflow Trainer v2 integration. The documented reference environment uses two GPU worker nodes with one NVIDIA L40S each, a shared ReadWriteMany volume and a CPU-based Jupyter workbench. That separation is deliberate: assigning a GPU to the workbench would leave too little capacity for the two-node training job.
Kueue can admit the job when the namespace is managed, while JobSet and the OpenShift AI training operator provide the underlying distributed-workload pieces. The notebook streams training logs, locates the completed checkpoint and records the model in MLflow.
Shared storage connects training and serving
The example writes its checkpoints to a shared PVC. After training, an operator deploys the model from that storage using OpenShift AI’s single-model serving interface and a vLLM KServe runtime. There is no separate export stage.
The repository includes cluster-readiness checks, setup and teardown scripts, RBAC manifests for the workbench and MLflow, and a troubleshooting guide. It explicitly checks for the training runtime, GPU capacity, shared storage, and Kueue admission before the notebook submits work.
That operational detail makes the project more useful than a notebook alone. It records common failure modes: a training job can remain suspended if Kueue cannot admit two GPUs simultaneously; the workbench service account needs access to Trainer v2 resources; and OSFT can emit a tokenizer configuration that must be cleaned before vLLM accepts the checkpoint.
What teams can reuse
The banking classifier is a demonstration, not a supported product workflow, and the repository currently has no tagged release. But its shape is reusable: prepare data in a workbench, submit a distributed Trainer v2 job, track it in MLflow, persist checkpoints on shared storage and expose the selected model through the OpenShift AI dashboard.
For platform teams evaluating OpenShift AI 3.5’s distributed training path, the reference build provides a concrete bill of materials and reveals the coordination points between storage, GPU scheduling, RBAC, experiment tracking and serving. Those interfaces are usually where an otherwise plausible fine-tuning demo stops being repeatable.
sources
- RHOAI Banking Support Agent Demogithub.com
- OpenShift AI 3.5 distributed workloads documentationdocs.redhat.com
comments · 0