Training is the phase of machine learning where model parameters are adjusted to minimize a loss on a dataset. For deep learning, that means repeated forward passes (compute predictions), backward passes (propagate gradients via autodiff), and optimizer steps (update weights)—from scratch pretraining, continued pretraining, or fine-tuning (full, LoRA, or other parameter-efficient methods). The objective is model quality (accuracy, perplexity, task metrics) within a compute and time budget, not millisecond response to end users. Training jobs are batch-oriented: large minibatches, epochs over terabytes of tokens or images, checkpointing to durable storage, and experiment tracking. LLM training at scale uses distributed strategies—data parallel, tensor parallel, pipeline parallel, and expert parallel for MoE—coordinated by frameworks such as PyTorch with FSDP or DeepSpeed.
Architecturally, training stresses sustained compute and inter-GPU bandwidth more than single-request latency. A CPU prepares data pipelines and launches kernels, but the heavy work is on GPUs executing matrix multiplications and attention; NCCL (or vendor collectives) synchronizes gradients across devices. Unlike inference, there is no per-user KV cache growing with chat length; memory is dominated by activations (often checkpointed or recomputed to save VRAM), optimizer states (Adam stores two moments per parameter), and sharded weights. Multi-node training depends on InfiniBand or RoCE latency between nodes; a single slow link stalls the whole step. Inference optimizes “many small sessions”; training optimizes “one job uses the whole cluster until convergence.” Mixed precision (BF16/FP8), gradient accumulation, and curriculum learning are training-specific techniques rarely applied to serving paths.
Red Hat supports training workloads on Red Hat Enterprise Linux AI and OpenShift AI through GPU-enabled RHEL nodes, containerized PyTorch/Jupyter environments, and Kubernetes job scheduling for distributed training. Customers run training clusters or namespaces with GPU quotas, shared storage for datasets and checkpoints (Ceph, NFS, object storage), and MLOps tooling for experiment lineage. Red Hat’s AI portfolio emphasizes a path from curated models and InstructLab-style alignment on RHEL AI to deployment on OpenShift AI for inference; training may run on the same platform or on burst capacity, always under the same SELinux, identity, and subscription model. Partner hardware (NVIDIA, AMD) and reference designs document network topology and driver stacks for multi-GPU nodes so training jobs are supportable in production, not only in ad hoc lab VMs.
