Skip to content

Detect GOAL rank layout for HTSIM mapping#18

Merged
tommasobo merged 1 commit into
mainfrom
tb/goal-rank-layout-detection
May 12, 2026
Merged

Detect GOAL rank layout for HTSIM mapping#18
tommasobo merged 1 commit into
mainfrom
tb/goal-rank-layout-detection

Conversation

@tommasobo
Copy link
Copy Markdown
Contributor

This PR detects the GOAL rank layout used by the loaded binary, which lets HTSIM choose the correct rank-to-node assignment for V1 vs V2 generated traces.

The GOAL binary does not store an explicit generator version, so we infer the layout from the parsed header. V1 --unique-nic traces use NIC IDs to distinguish GPUs within a node, so HTSIM maps (rank, nic) to rank * num_nics + nic. V2 traces use GPU-rank layout, so HTSIM maps each GOAL rank directly to the HTSIM node.

@tommasobo tommasobo merged commit 64d199c into main May 12, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant