From cc5804511ab7cfc32ce04e2eedb3da088ce51dae Mon Sep 17 00:00:00 2001 From: Bubble <88232192+beatlesforever@users.noreply.github.com> Date: Fri, 3 Jan 2025 11:35:19 +0800 Subject: [PATCH] Update Tutorial.md (#61) --- docs/Tutorial.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/docs/Tutorial.md b/docs/Tutorial.md index b8137dd..ae9b084 100755 --- a/docs/Tutorial.md +++ b/docs/Tutorial.md @@ -167,8 +167,20 @@ As shown in the figure below, the first row represents various parameters: `node | `link_num` | Total number of connections | | `gpu_type_str` | Type of GPU | +The following command generates the topology shown in the image: +```bash +python3 ./astra-sim-alibabacloud/inputs/topo/gen_HPN_7.0_topo_mulgpus_one_link.py -g 8 -gt A100 -bw 400Gbps -nvbw 2400Gbps -psn 1 +``` simai_topo +The `link_num` is `20` because each ASW (Aggregation Switch) is connected to a single PSW (Pod Switch, node 17). Since the topology uses `-psn 1` (single-plane topology), only one plane of PSWs is utilized, limiting the connections to `4` between ASWs and PSWs. + +To increase the `link_num` to `24`, you need to enable a dual-plane topology by setting `-ps`n to `2` in the command. This will activate both planes of PSWs, doubling the connections between ASWs and PSWs. For example: + +```bash +python3 ./astra-sim-alibabacloud/inputs/topo/gen_HPN_7.0_topo_mulgpus_one_link.py -g 8 -gt A100 -bw 400Gbps -nvbw 2400Gbps -psn 2 +``` + You can choose to customize any `topo` following the format shown above. Of course, we also provide a script to directly generate a `topo` for the HPN architecture. ```bash