Skip to content

Commit

Permalink
add rdma config hint (#10040)
Browse files Browse the repository at this point in the history
  • Loading branch information
umiswing authored Mar 9, 2025
1 parent a9fd408 commit da96c72
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions paddlenlp/transformers/fused_a2a.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,7 @@ def get_buffer(group: Group, hidden_bytes: int):
):
# Split long line for PEP8 compliance
num_nvl_bytes = max(config.get_nvl_buffer_size_hint(hidden_bytes, group.world_size), num_nvl_bytes)
# TODO(umiswing): support internode
# num_rdma_bytes = max(
# config.get_rdma_buffer_size_hint(hidden_bytes, group.world_size), num_rdma_bytes
# )
num_rdma_bytes = max(config.get_rdma_buffer_size_hint(hidden_bytes, group.world_size), num_rdma_bytes)

# Allocate buffer if not existed or not enough buffer
# NOTES: the adaptive routing configuration of the network **must be off**
Expand Down

0 comments on commit da96c72

Please sign in to comment.