Skip to content

Conversation

@cli99
Copy link
Owner

@cli99 cli99 commented Nov 13, 2024

What does this PR do?

This PR makes the following changes:

  1. In get_memory_optimizer_state_and_gradient_per_layer, updatingmemory_optimizer_state_others_per_layer given layernorm is not sharded across the tensor parallel processes.
  2. In get_latency_fwd_per_tp_comm, using get_intra_node_bandwidth which is adjusted by intra_node_memory_efficiency in allreduce latency calculation.

What issue(s) does this change relate to?

Related to #27

@cli99 cli99 merged commit d841e40 into main Nov 13, 2024
1 check passed
@cli99 cli99 deleted the fix-tp branch November 13, 2024 22:41
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.

2 participants