Skip to content

Releases: AMD-AGI/Primus

v26.4.0

Choose a tag to compare

@HuangWei-95 HuangWei-95 released this 29 Jun 01:26
4dbe94f

What's Changed

  • Merge Release/v26.3 back into main by @GeneDer in #733
  • feat: add quantized tensor support and fix rmsnorm by @RuibinCheung in #735
  • default NCCL_PXN_DISABLE to 0 to prevent failure of multi-node traini… by @amd-fuyuajin in #728
  • feat(dashboard): unify weekly + monthly reports, fix responsiveness and redeploy by @WangLingxun in #739
  • feat(torchtitan): SDMA copy-engine all-gather for FSDP by @lorri-rao in #740
  • fix(runner): run direct launcher via array instead of eval by @WangLingxun in #744
  • [Megatron-LM] fix: primus turbo attn memory footprint issue by @RuibinCheung in #745
  • [Megatron-LM] fix: primus turbo grouped linear weight layout by @RuibinCheung in #743
  • [Megatron-Bridge] Add support for Mamba SFT posttraining with Megatron-Bridge by @clairesonglee in #587
  • feat(megatron): forward last-rank training_log to rank 0 for Megatron-Bridge by @WangLingxun in #747
  • [Fix] pin down dependnecies for megatron by @GeneDer in #749
  • feat(packaging): build & publish Primus wheel with bundled primus-cli by @HuangWei-95 in #750
  • [Fix] unsupported moe_use_legacy_grouped_gemm arg in Mamba models by @GeneDer in #756
  • [Megatron-LM] feat: add use_turbo_permute_padding to reduce d2h by @RuibinCheung in #742
  • Add llama3.1 8b mxfp4 support by @vidushi8 in #748
  • Add llama3.1 8b mxfp8 example by @vidushi8 in #746
  • chore(skills): consolidate agent skills under skills/ with per-tool symlinks by @WangLingxun in #751
  • feat(megatron):: support sft native by @wenxie-amd in #701
  • chore(docker): bump base image rocm/primus v26.2 -> v26.3 by @WangLingxun in #737
  • feat(packaging): third_party pip extras + fix dashboard refresh timing by @HuangWei-95 in #757
  • feat(megatron): SDMA copy-engine all-gather for FSDP2 (use_torch_fsdp2) by @lorri-rao in #763
  • fix PYTHONPATH for pip-installed primus by @amd-fuyuajin in #762
  • [OOB Release] add jax v26.4 dockerfile by @GeneDer in #767
  • Tuning agent, memory based benchmarking support plus fixes by @araina-amd in #755
  • fix(v263): root-fix gfx942 hd128 backward crash in image + CI runtime by @WangLingxun in #764
  • [projection] add unit tests; fix single-node DP and dense MoE-spec bugs by @WangLingxun in #760
  • Add core unit tests (pipeline_parallel, utils) and report UT coverage in CI by @WangLingxun in #765
  • fix(megatron): extend aiter DEEPBIND hd128 backward fix to gfx950 by @wenxie-amd in #768
  • refactor(turbo): rename deprecated turbo flags and hard-assert on rem… by @wenxie-amd in #769
  • Dev/update readme pip install by @GeneDer in #770
  • docs: add CI status badges to README by @tanyaroosta in #771
  • fix(torchtitan): correct MFU on MI350X/MI355X via peak FLOPS patch by @WangLingxun in #772
  • fix(megatron): don't log from spawned async-checkpoint worker by @lorri-rao in #775
  • [OOB Release] add primus v26.4 dockerfile by @GeneDer in #782

New Contributors

Full Changelog: v26.3...v26.4.0

v26.3.1

Choose a tag to compare

@HuangWei-95 HuangWei-95 released this 09 Jun 08:18

Full Changelog: v26.3...v26.3.1

v26.2.1

v26.2.1 Pre-release
Pre-release

Choose a tag to compare

@HuangWei-95 HuangWei-95 released this 09 Jun 08:14

Full Changelog: v26.2...v26.2.1

Primus release v26.3

Choose a tag to compare

@HuangWei-95 HuangWei-95 released this 09 Jun 01:48

What's Changed

  • Pass missed HIPBLASLT env to docker by @Z-Y00 in #504
  • container: pass HIPBLASLT_* env vars through to container by @Xiaoming-AMD in #506
  • posttrain: enable megatron patches for megatron-bridge and fix intermittent framework parsing by @Xiaoming-AMD in #507
  • tests: run megatron/torchtitan trainer UT via primus-cli direct (instead of run_pretrain.sh) by @Xiaoming-AMD in #508
  • fix(yaml): remove deprecated turbo option from llama4 config by @RuibinCheung in #502
  • Fixes RCCL all‑to‑all benchmark to use torch.distributed.group.WORLD only after init_process_group(). by @Vivicai1005 in #501
  • Feat/fix mlflow multinode invalid metric log by @olehtika in #344
  • fix(megatron): handle 2-element tensor in loss reducer by @dzautner in #340
  • megatron: remove useless parameters from base configuration by @takaswie in #333
  • ci(benchmark): add more model for single node by @HuangWei-95 in #509
  • feat(primus-pipeline): add offload logic for PP input and attn OPs, fix some bugs by @ChengYao-amd in #511
  • model summary tool by @wenxie-amd in #515
  • fix(post-train): guard against HF datasets >= 3.0 incompatibility by @Xiaoming-AMD in #516
  • feat(megatron-bridge): support backend parameter overrides by @Xiaoming-AMD in #518
  • docs: update docs/examples to use ./primus-cli from repo root by @Xiaoming-AMD in #512
  • update cicd runner by @Xiaoming-AMD in #526
  • fix(megatron-bridge): add version constraint to turbo TE spec provider patch by @Xiaoming-AMD in #524
  • Feature/backends/megatron mlflow env by @mvstrauss in #345
  • ci(benchmark): split torch job to avoid timeout, add jax by @HuangWei-95 in #514
  • feat(megatron-bridge): enable DEBUG logging for MI355X configs by @Xiaoming-AMD in #527
  • feat(registry): add staged trainer registration with (backend, stage) key by @Xiaoming-AMD in #523
  • fix(megatron): add TEGroupedMLP compatibility check for PrimusTurbo by @WangLingxun in #528
  • [Megatron-LM] fix(mxfp4): get_fp4_context not be set correctly by @RuibinCheung in #522
  • refactor(cli): improve subcommand loading, diagnostics, and patch version matching by @Xiaoming-AMD in #531
  • fix(megatron): fix DelayedScaling incompatibility with save_original_… by @WangLingxun in #532
  • Add HummingbirdXT backend integration by @limou102 in #533
  • enable FP8 for DeepSeek v3 16B and fix Llama3.1 70B model path by @WangLingxun in #517
  • refactor(megatron): add tokenizer override patch, move to new arch by @HuangWei-95 in #530
  • ci(deterministic): add env for megatron ci test by @HuangWei-95 in #539
  • Update Docker base image from v25.10 to v26.1 by @WangLingxun in #534
  • Ci/test trainer/fix pipefail by @HuangWei-95 in #543
  • feat(primus-pipeline): update PP simulation tools by @ChengYao-amd in #537
  • fix:roolback turbo to 52337 by @Xiaoming-AMD in #541
  • Refactor Training Runtime and Simplify Backend/Trainer Hierarchy by @Xiaoming-AMD in #536
  • [Megatron-LM] fix(fp8): the static property of FP8GlobalStateManager not be set correctly by @RuibinCheung in #548
  • docs: add backend extension guide and simplify pretrain hooks by @Xiaoming-AMD in #544
  • ci(benchmark): fix megatron pattern for new arch by @HuangWei-95 in #546
  • [Feature] Megatron-LM Llama 3.2 1B/3B Pretraining by @clairesonglee in #551
  • Fix (ROCM): GPU count via GUID in rocm-smi by @WangLingxun in #547
  • Multinode projection with different parallelization strategies when single node is benchmarked by @araina-amd in #492
  • [Docs] & [Feature]: Add Post-Training Documentation and Update Qwen3_32B Configs for MI300X & MI355X by @kailashg26 in #556
  • Fix/megatron/megatron fsdp patches by @jasainio in #553
  • Fix/primus turbo/cpu init support by @jasainio in #552
  • FIX: accumulate eval loss across all iterations by @sarthak-amd in #558
  • doc(primus-pipeline): add primus-pipeline blog by @ChengYao-amd in #513
  • Fix/preflight NUMA imbalance to mean uneven GPU distribution across nodes by @alexsu52 in #554
  • update ainic bundle to 56. disable hipblaslt tuning by @wenxie-amd in #563
  • feat(megatron): add average elapsed time metric by @HuangWei-95 in #561
  • fix: normalize --key=value overrides by stripping leading dashes by @WangLingxun in #562
  • chore(ci): update primus-turbo by @RuibinCheung in #550
  • Expand projection.md with memory projection and performance details by @araina-amd in #576
  • feat(megatron): migrate profiler args in core workflow by @HuangWei-95 in #573
  • feat(megatron): migrate muon optimizer to core workflow by @HuangWei-95 in #574
  • ci(benchmark): add multinode benchmark by @HuangWei-95 in #575
  • Dev/fuyuajin/maxtext backend test by @amd-fuyuajin in #557
  • refactor(config): unify override parsing and simplify runtime config normalization by @WangLingxun in #572
  • fix(megatron): patch validate_args and add ROCM argument validation by @WangLingxun in #581
  • enable moe_grouped_gemm in qwen by @wenxie-amd in #583
  • fix(primus-pipeline): fix primus pipeline patch by @ChengYao-amd in #582
  • fix(primus-pipeline): fix PRIMUS_TRAIN_RUNTIME=core issues by @ChengYao-amd in #586
  • Add simulation backends and improve performance projection accuracy by @araina-amd in #560
  • fix(run_pretrain): Enable NVTE_CK_USES_BWD_V3 for TE >= 2.6 by @Xiaoming-AMD in #596
  • feat(config): add Qwen3 MoE model configs and update tests by @wenxie-amd in #590
  • Fix/preflight handle local routes in route_to_master by @alexsu52 in #566
  • Fix/preflight distinguish single-node distributed from multi-node by @alexsu52 in #565
  • Primus docker release/v26.2 by @clairesonglee in #579
  • refactor(maxtext): switch maxtext to register-patch workflow by @llying-001 in #601
  • chore(megatron): bump version to core_v0.16.0 by @HuangWei-95 in #549
  • fix(cli): pass --debug to python and include file:line in error msg by @HuangWei-95 in #592
  • feat: Update Primus-Turbo by setting DeepEP CPU timeout via env. by @zhenhuang12 in #609
  • fix(megatron): apply validate_args_modified path in base trainer by @WangLingxun in #588
  • [Megatron-LM] fix: api compatible issue after mcore upgrade to v0.16.0 by @RuibinCheung in #617
  • feat: add uccl-ep to docker built and add USING_UEP flag to run_pretrain and runner hook by @zhenhuang12 in #591
  • refactor(maxtext): switch submodule maxtext to rocm/maxtext repo by @llying-001 in #615
  • fix(hook): add 06_fix_aiter_asm_dir to resolve hipModuleLoad file-not-found by @WangLingxun in #621
  • update primus-turbo version / dockerfile / CI by @xiaobochen-amd in #619
  • fix(tests): validate training completion in UT and capture torchrun exit code by @WangLingxun in #620
  • refactor(trainer): remove deprecated light-megatron backend path by @WangLingxun in #585
  • [Feature] add support for gpt oss by @GeneDer in #616
  • fix: use CUDA_DEVICE_MAX_CONNECTIONS from env if it is set, default to 1 by @zhenhuang12 in #623
  • perf-projection: add pipeline scheduler comparison and fix plotext import by @araina-amd in https://githu...
Read more

v26.2.0rc1

v26.2.0rc1 Pre-release
Pre-release

Choose a tag to compare

@HuangWei-95 HuangWei-95 released this 08 Jun 09:23

Full Changelog: v26.2...v26.2.0rc1

Primus release v26.2

Primus release v26.2 Pre-release
Pre-release

Choose a tag to compare

@HuangWei-95 HuangWei-95 released this 08 Jun 02:07
1ec29c6

Docker version

This release tag is for building Docker v26.2.

What's Changed

  • Pass missed HIPBLASLT env to docker by @Z-Y00 in #504
  • container: pass HIPBLASLT_* env vars through to container by @Xiaoming-AMD in #506
  • posttrain: enable megatron patches for megatron-bridge and fix intermittent framework parsing by @Xiaoming-AMD in #507
  • tests: run megatron/torchtitan trainer UT via primus-cli direct (instead of run_pretrain.sh) by @Xiaoming-AMD in #508
  • fix(yaml): remove deprecated turbo option from llama4 config by @RuibinCheung in #502
  • Fixes RCCL all‑to‑all benchmark to use torch.distributed.group.WORLD only after init_process_group(). by @Vivicai1005 in #501
  • Feat/fix mlflow multinode invalid metric log by @olehtika in #344
  • fix(megatron): handle 2-element tensor in loss reducer by @dzautner in #340
  • megatron: remove useless parameters from base configuration by @takaswie in #333
  • ci(benchmark): add more model for single node by @HuangWei-95 in #509
  • feat(primus-pipeline): add offload logic for PP input and attn OPs, fix some bugs by @ChengYao-amd in #511
  • model summary tool by @wenxie-amd in #515
  • fix(post-train): guard against HF datasets >= 3.0 incompatibility by @Xiaoming-AMD in #516
  • feat(megatron-bridge): support backend parameter overrides by @Xiaoming-AMD in #518
  • docs: update docs/examples to use ./primus-cli from repo root by @Xiaoming-AMD in #512
  • update cicd runner by @Xiaoming-AMD in #526
  • fix(megatron-bridge): add version constraint to turbo TE spec provider patch by @Xiaoming-AMD in #524
  • Feature/backends/megatron mlflow env by @mvstrauss in #345
  • ci(benchmark): split torch job to avoid timeout, add jax by @HuangWei-95 in #514
  • feat(megatron-bridge): enable DEBUG logging for MI355X configs by @Xiaoming-AMD in #527
  • feat(registry): add staged trainer registration with (backend, stage) key by @Xiaoming-AMD in #523
  • fix(megatron): add TEGroupedMLP compatibility check for PrimusTurbo by @WangLingxun in #528
  • [Megatron-LM] fix(mxfp4): get_fp4_context not be set correctly by @RuibinCheung in #522
  • refactor(cli): improve subcommand loading, diagnostics, and patch version matching by @Xiaoming-AMD in #531
  • fix(megatron): fix DelayedScaling incompatibility with save_original_… by @WangLingxun in #532
  • Add HummingbirdXT backend integration by @limou102 in #533
  • enable FP8 for DeepSeek v3 16B and fix Llama3.1 70B model path by @WangLingxun in #517
  • refactor(megatron): add tokenizer override patch, move to new arch by @HuangWei-95 in #530
  • ci(deterministic): add env for megatron ci test by @HuangWei-95 in #539
  • Update Docker base image from v25.10 to v26.1 by @WangLingxun in #534
  • Ci/test trainer/fix pipefail by @HuangWei-95 in #543
  • feat(primus-pipeline): update PP simulation tools by @ChengYao-amd in #537
  • fix:roolback turbo to 52337 by @Xiaoming-AMD in #541
  • Refactor Training Runtime and Simplify Backend/Trainer Hierarchy by @Xiaoming-AMD in #536
  • [Megatron-LM] fix(fp8): the static property of FP8GlobalStateManager not be set correctly by @RuibinCheung in #548
  • docs: add backend extension guide and simplify pretrain hooks by @Xiaoming-AMD in #544
  • ci(benchmark): fix megatron pattern for new arch by @HuangWei-95 in #546
  • [Feature] Megatron-LM Llama 3.2 1B/3B Pretraining by @clairesonglee in #551
  • Fix (ROCM): GPU count via GUID in rocm-smi by @WangLingxun in #547
  • Multinode projection with different parallelization strategies when single node is benchmarked by @araina-amd in #492
  • [Docs] & [Feature]: Add Post-Training Documentation and Update Qwen3_32B Configs for MI300X & MI355X by @kailashg26 in #556
  • Fix/megatron/megatron fsdp patches by @jasainio in #553
  • Fix/primus turbo/cpu init support by @jasainio in #552
  • FIX: accumulate eval loss across all iterations by @sarthak-amd in #558
  • doc(primus-pipeline): add primus-pipeline blog by @ChengYao-amd in #513
  • Fix/preflight NUMA imbalance to mean uneven GPU distribution across nodes by @alexsu52 in #554
  • [Primus] Fix MoE MLA issue from hybrid models branch merge by @clairesonglee in #564
  • update ainic bundle to 56. disable hipblaslt tuning by @wenxie-amd in #563
  • feat(megatron): add average elapsed time metric by @HuangWei-95 in #561
  • fix: normalize --key=value overrides by stripping leading dashes by @WangLingxun in #562
  • Expand projection.md with memory projection and performance details. by @araina-amd in #578
  • chore(ci): update primus-turbo by @RuibinCheung in #550
  • Expand projection.md with memory projection and performance details by @araina-amd in #576
  • feat(megatron): migrate profiler args in core workflow by @HuangWei-95 in #573
  • feat(megatron): migrate muon optimizer to core workflow by @HuangWei-95 in #574
  • ci(benchmark): add multinode benchmark by @HuangWei-95 in #575
  • Dev/fuyuajin/maxtext backend test by @amd-fuyuajin in #557
  • refactor(config): unify override parsing and simplify runtime config normalization by @WangLingxun in #572
  • fix(megatron): patch validate_args and add ROCM argument validation by @WangLingxun in #581
  • enable moe_grouped_gemm in qwen by @wenxie-amd in #583
  • fix(primus-pipeline): fix primus pipeline patch by @ChengYao-amd in #582
  • fix(primus-pipeline): fix PRIMUS_TRAIN_RUNTIME=core issues by @ChengYao-amd in #586
  • Add simulation backends and improve performance projection accuracy by @araina-amd in #560
  • fix(run_pretrain): Enable NVTE_CK_USES_BWD_V3 for TE >= 2.6 by @Xiaoming-AMD in #596
  • feat(config): add Qwen3 MoE model configs and update tests by @wenxie-amd in #590
  • Fix/preflight handle local routes in route_to_master by @alexsu52 in #566
  • Fix/preflight distinguish single-node distributed from multi-node by @alexsu52 in #565
  • Primus docker release/v26.2 by @clairesonglee in #579
  • refactor(maxtext): switch maxtext to register-patch workflow by @llying-001 in #601
  • [Megatron-LM] Update Mamba model tokenizer by @clairesonglee in #603
  • chore(megatron): bump version to core_v0.16.0 by @HuangWei-95 in #549
  • fix(cli): pass --debug to python and include file:line in error msg by @HuangWei-95 in #592
  • feat: Update Primus-Turbo by setting DeepEP CPU timeout via env. by @zhenhuang12 in #609
  • fix(megatron): apply validate_args_modified path in base trainer by @WangLingxun in #588
  • [Megatron-LM] fix: api compatible issue after mcore upgrade to v0.16.0 by @RuibinCheung in #617
  • feat: add uccl-ep to docker built and add USING_UEP flag to run_pretrain and runner hook by @zhenhuang12 in #591
  • refactor(maxtext): switch submodule maxtext to rocm/maxtext repo by @llying-001 in #615
  • fix(hook): add 06_fix_aiter_asm_dir to resolve hipModuleLoad file-not-found by @WangLingxun in #621
  • update primus-turbo version / dockerfile / CI by @xiaobochen-amd in #619
  • fix(tests): validate training completion in UT and capture torchrun exit code by @WangLingxun in #620
  • refactor(trainer): remove deprec...
Read more

v0.7.0

Choose a tag to compare

@Xiaoming-AMD Xiaoming-AMD released this 02 Feb 08:18
9c529cd

Docker Version

This release tag is for building Docker v26.1.

What's Changed

New Contributors

Full Changelog: v0.6.0...v0.7.0

v0.6.0

Choose a tag to compare

@wenxie-amd wenxie-amd released this 20 Dec 01:03
4bccca9

Docker Version

This release tag is for building Docker v25.11.

What's Changed

Read more

v0.5.0

Choose a tag to compare

@wenxie-amd wenxie-amd released this 04 Dec 01:20

What's Changed

New Contributors

Full Changelog: v0.4.0...v0.5.0

v0.4.0

v0.4.0 Pre-release
Pre-release

Choose a tag to compare

@wenxie-amd wenxie-amd released this 18 Oct 06:40
6f84ea6

What's Changed

New Contributors

Full Changelog: v0.2.0...v0.4.0