From 35ca027aa4cc13cfde6a280cf1e761c9a14d7d7c Mon Sep 17 00:00:00 2001 From: peterjunpark Date: Thu, 23 Oct 2025 14:39:58 -0400 Subject: [PATCH] Fix broken links under rocm-for-ai/ (#5564) --- docs/how-to/rocm-for-ai/system-setup/system-health-check.rst | 4 ++-- .../rocm-for-ai/training/benchmark-docker/megatron-lm.rst | 2 +- .../rocm-for-ai/training/benchmark-docker/primus-megatron.rst | 4 ++-- .../rocm-for-ai/training/benchmark-docker/primus-pytorch.rst | 2 +- .../training/benchmark-docker/pytorch-training.rst | 2 +- docs/how-to/rocm-for-ai/training/scale-model-training.rst | 2 +- 6 files changed, 8 insertions(+), 8 deletions(-) diff --git a/docs/how-to/rocm-for-ai/system-setup/system-health-check.rst b/docs/how-to/rocm-for-ai/system-setup/system-health-check.rst index 79563b61f..ac0b4ebd2 100644 --- a/docs/how-to/rocm-for-ai/system-setup/system-health-check.rst +++ b/docs/how-to/rocm-for-ai/system-setup/system-health-check.rst @@ -92,7 +92,7 @@ GPUs, which can impact end-to-end latency. .. _healthcheck-install-transferbench: 1. To get started, use the instructions in the `TransferBench documentation - `_ + `__ or use the following commands: .. code:: shell @@ -102,5 +102,5 @@ GPUs, which can impact end-to-end latency. CC=hipcc make 2. Run the suggested TransferBench tests -- see `TransferBench benchmarking - `_ + `__ in the Instinct performance benchmarking documentation for instructions. diff --git a/docs/how-to/rocm-for-ai/training/benchmark-docker/megatron-lm.rst b/docs/how-to/rocm-for-ai/training/benchmark-docker/megatron-lm.rst index 86672adf5..6c8cf154f 100644 --- a/docs/how-to/rocm-for-ai/training/benchmark-docker/megatron-lm.rst +++ b/docs/how-to/rocm-for-ai/training/benchmark-docker/megatron-lm.rst @@ -14,7 +14,7 @@ Training a model with Megatron-LM on ROCm `__ Docker Hub registry will be deprecated soon in favor of `rocm/primus `__. The ``rocm/primus`` Docker containers will cover PyTorch training ecosystem frameworks, - including Megatron-LM, `torchtitan, and torchtune `__. + including Megatron-LM and :doc:`torchtitan `. Primus with Megatron is designed to replace this ROCm Megatron-LM training workflow. To learn how to migrate workloads from Megatron-LM to Primus with Megatron, diff --git a/docs/how-to/rocm-for-ai/training/benchmark-docker/primus-megatron.rst b/docs/how-to/rocm-for-ai/training/benchmark-docker/primus-megatron.rst index 596473912..06cca9ed6 100644 --- a/docs/how-to/rocm-for-ai/training/benchmark-docker/primus-megatron.rst +++ b/docs/how-to/rocm-for-ai/training/benchmark-docker/primus-megatron.rst @@ -18,7 +18,7 @@ model training. Performance acceleration is powered by `Primus Turbo `__ Docker Hub registry will be deprecated soon in favor of `rocm/primus `__. The ``rocm/primus`` Docker containers will cover PyTorch training ecosystem frameworks, - including Megatron-LM, `torchtitan, and torchtune `__. + including Megatron-LM and :doc:`torchtitan `. Primus with Megatron is designed to replace the :doc:`ROCm Megatron-LM training ` workflow. To learn how to migrate workloads from @@ -183,7 +183,7 @@ Configuration ============= Primus defines a training configuration in YAML for each model in -`examples/megatron/configs `__. +`examples/megatron/configs `__. .. datatemplate:yaml:: /data/how-to/rocm-for-ai/training/primus-megatron-benchmark-models.yaml diff --git a/docs/how-to/rocm-for-ai/training/benchmark-docker/primus-pytorch.rst b/docs/how-to/rocm-for-ai/training/benchmark-docker/primus-pytorch.rst index b8ab934c6..d243800b8 100644 --- a/docs/how-to/rocm-for-ai/training/benchmark-docker/primus-pytorch.rst +++ b/docs/how-to/rocm-for-ai/training/benchmark-docker/primus-pytorch.rst @@ -17,7 +17,7 @@ Primus now supports the PyTorch torchtitan backend. `__ Docker Hub registry will be deprecated soon in favor of `rocm/primus `__. The ``rocm/primus`` Docker containers will cover PyTorch training ecosystem frameworks, - including `Megatron-LM `__, torchtitan, and torchtune. + including torchtitan and :doc:`Megatron-LM `. Primus with the PyTorch torchtitan backend is designed to replace the :doc:`ROCm PyTorch training ` workflow. See diff --git a/docs/how-to/rocm-for-ai/training/benchmark-docker/pytorch-training.rst b/docs/how-to/rocm-for-ai/training/benchmark-docker/pytorch-training.rst index a9c4de9f0..782cc61b3 100644 --- a/docs/how-to/rocm-for-ai/training/benchmark-docker/pytorch-training.rst +++ b/docs/how-to/rocm-for-ai/training/benchmark-docker/pytorch-training.rst @@ -14,7 +14,7 @@ Training a model with PyTorch on ROCm `__ Docker Hub registry will be deprecated soon in favor of `rocm/primus `__. The ``rocm/primus`` Docker containers will cover PyTorch training ecosystem frameworks, - including `Megatron-LM `__, torchtitan, and torchtune. + including torchtitan and :doc:`Megatron-LM `. See :doc:`primus-pytorch` for details. diff --git a/docs/how-to/rocm-for-ai/training/scale-model-training.rst b/docs/how-to/rocm-for-ai/training/scale-model-training.rst index 2b2ce23e3..a74bb3e0f 100644 --- a/docs/how-to/rocm-for-ai/training/scale-model-training.rst +++ b/docs/how-to/rocm-for-ai/training/scale-model-training.rst @@ -46,7 +46,7 @@ In DDP training, each process or worker owns a replica of the model and processe See the following developer blogs for more in-depth explanations and examples. -* `Multi GPU training with DDP — PyTorch Tutorials `_ +* `Multi GPU training with DDP — PyTorch Tutorials `__ * `Building a decoder transformer model on AMD GPUs — ROCm Blogs `_