Primus/Primus-LM is a flexible and high-performance training framework designed for large-scale foundation model training and inference on AMD GPUs. It supports pretraining, post-training, and reinforcement learning workflows with multiple backends including Megatron-LMโ , TorchTitanโ alongside ROCm-optimized components.
Please refer to ROCm documentation hereโ for more details.
Updated the Megatron-LM backend to Megatron Core 0.19.2 and adapted the associated training paths.
Added Flux.1 Schnell launch recipes for 1, 4, and 8 MI355X nodes, and a recommendation backend for DLRMv4.
Refreshed MLPerf training recipes and launchers for Llama 3.1 8B, GPT-OSS, and Llama 2 70B LoRA.
Improved checkpoint conversion and loading; corrected unpacked SFT loss masking and diffusion loss handling.
Routed diffusion benchmarks through primus-cli and improved MI325X benchmark support.
Llama 3.1 8B MLPerf launchers retain the image's bundled RCCL by default; the experimental rebuilt copy-engine ReduceScatter path was found to corrupt gradients.
Updated the training stack to the ROCm 10.2 nightly (10.2.0a20261020), PyTorch 2.16 pre-release, and Transformer Engine 2.20 development build.
Added GLM-5.3-Flash support, ZAYA1-8B FP8 recipes, and HunyuanWorld-Mirror post-training. GLM training validation covers an 8-layer proxy; the full model was checked forward-only.
Added convergence testing and improved unattended batch benchmarks, including timeouts, failure reporting, and baseline comparisons.
Enabled Triton fused AdamW by default in TorchTitan; added optional Turbo cross-entropy and GPT-OSS kernel fusions.
Fixed fused MoE parameter-gather synchronization and several DeepEP, FP8, and TorchTitan issues.
Compatibility notes:
Mock-data benchmarks now use each model's actual vocabulary size; throughput and memory results are not directly comparable with earlier releases.
Some fusion environment variables became configuration keys. Review the migration notes before reusing custom launch scripts.
Improved GPU detection and network-interface handling.
Compatibility notes: ROCm wheel indexes changed, and the TorchTitan Turbo grouped-GEMM configuration key was renamed. Consult the detailed notes when migrating a bare-metal installation or custom configuration.