Create training data, fine-tune with examples, post-train with rewards, then test and deploy, all in one secure OpenShift AI project. Built on the open-source tools your team already uses, with Red Hat support.
Built by Nijesh Kanjinghat · Read the article on Medium ↗
Exact reports on 300 held-out notes, untuned vs tuned Granite 4.1-3B
LoRA training run on a share of one NVIDIA L4 GPU (about 10 GB)
Adapter size. Small enough to send over a satellite link
4-bit edge model, runs offline on a laptop CPU at 97% exact
RAG works where you have a data centre. At sea you don't, so the model itself has to know the job.
A fictional Singapore defence company. Its Sentinel-7 uncrewed surface vessels patrol the Singapore Strait, with watchkeepers on shore consoles.
Operators send terse radio notes. The ops room needs each one turned into a strict JSON contact report (BD-SCR). No field invented, the operator's certainty kept, fault codes exactly as the vessel manual gives them.
s7 0612z patrol 6kn hdg 270 batt 64 vis gd. poss small craft brg 040
Granite 4.1-3B, tuned, beat 70B and 120B hosted models on exact reports, with a prompt 15× shorter.
SFT teaches the report format. GRPO teaches rules a checker can verify. Both from one Training Hub API.
Synthetic data, training, tracking and serving (SDG Hub, Training Hub, MLflow, vLLM, llama.cpp) in one OpenShift AI project, on a share of one GPU.
Training Hub runs Unsloth, TRL and SentenceTransformers under the hood. The value sits on top: methods Red Hat built, one API across them, and a platform that runs, tracks, serves and governs the result.
Each row starts from what a team does on its own GPU box today. The right column is the OpenShift AI name used in the rest of this page.
| What you do today | On OpenShift AI | What it means for you |
|---|---|---|
| A shared server, a shared login | Project | A separate space per team or use case, with its own users, data, GPUs and endpoints. Nothing leaves it unless you allow it. |
| Jupyter on a GPU box | Workbench | JupyterLab the platform runs for you, from a Red Hat image with Training Hub, PyTorch, TRL and MLflow already installed. |
| python train.py or torchrun | Training Hub + TrainJob | One Python call per method. Run it in the notebook, or hand the same call to Kubeflow Trainer, which runs it on cluster GPUs as a TrainJob. |
| "Which GPU can I use?" | Hardware profile | A named size (GPU type, memory, CPU) you pick from a menu. Several jobs can share one GPU. |
| Waiting in chat for a free GPU | Kueue | A queue that hands out GPUs fairly between teams and starts your job when capacity is free. |
| Weights & Biases, a folder of checkpoints | MLflow | Experiment tracking and a model registry, built into the platform and scoped to your project. |
| vllm serve, llama-server | Model serving (KServe) | A managed endpoint with TLS, login and autoscaling. vLLM and llama.cpp both run this way. |
| Bash scripts and cron | AI Pipelines | Repeatable, logged runs (Kubeflow Pipelines) started from the dashboard, such as "evaluate, then promote the winner". |
Each step shows the dev-environment way, the OpenShift AI way, the evidence from our runs and the code. Use the arrow keys to move between steps.
With Training Hub, switching method means changing one function name, not the stack. Choose a mistake to see the method that fixed it in our runs.
Every number comes from data the models never trained on, scored by the same scorer for every model. Runs that did not help are logged in MLflow next to the ones that did.
Tags show where the value comes from: methods and tooling from Red Hat AI, or the OpenShift AI platform.
| Need | Dev environment TRL · Unsloth · transformers | Red Hat OpenShift AI | Our evidence |
|---|
Each notebook runs in an OpenShift AI workbench with the Training Hub image, using plain library calls: SDG Hub, Training Hub, the Kubeflow SDK, MLflow and KFP. Open the repository ↗
The cluster admin grants the training-edit role in your project, so notebooks can start training jobs on the cluster.
A hardware profile for your GPU. About 10 GB of GPU memory (a share of one NVIDIA L4) is enough for LoRA on Granite 4.1-3B.
Training Hub, the Kubeflow SDK, MLflow and TRL come preinstalled. Choose it when you create the workbench.
One volume for models, data and checkpoints, shared by the workbench and the training jobs.
Turn on MLflow tracking for the project, and add a pipeline server so you can run the promotion pipeline.