Skip to content

Commit

Permalink
platform: Set RDMA protocol as default for trn1/trn1n platforms
Browse files Browse the repository at this point in the history
With switching to this plugin implementation, we want to take
advantage of the RDMA protocol on trn1/trn1n platforms without setting
environment variables.

This commit sets RDMA protocol as default for trn1/trn1n platforms.

Signed-off-by: Michael Axtmann <[email protected]>
  • Loading branch information
maxtmann committed Aug 16, 2024
1 parent 8e098c1 commit ef67c46
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/platform-aws.c
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,18 @@ struct ec2_platform_data {
.net_flush_required = true,
.default_protocol = "SENDRECV",
},
{
.name = "trn1.32xlarge",
.gdr_required = true,
.net_flush_required = true,
.default_protocol = "RDMA",
},
{
.name = "trn1n.32xlarge",
.gdr_required = true,
.net_flush_required = true,
.default_protocol = "RDMA",
}
};

/*
Expand Down

0 comments on commit ef67c46

Please sign in to comment.