Skip to content

Commit

Permalink
Update llmfoundry/models/utils/tp_strategy.py
Browse files Browse the repository at this point in the history
Co-authored-by: Mihir Patel <[email protected]>
  • Loading branch information
eitanturok and mvpatel2000 authored Sep 26, 2024
1 parent 39a92ad commit 92719e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion llmfoundry/models/utils/tp_strategy.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
def ffn_tp_strategy(model: ComposerModel) -> dict[str, ParallelStyle]:
TP_LAYERS = {'up_proj', 'down_proj'}

# validate that all TP_LAYERS are in model
# Validate that all TP_LAYERS are in model
tp_layers_in_model = {
layer for layer in TP_LAYERS for name, _ in model.named_modules()
if layer in name
Expand Down

0 comments on commit 92719e7

Please sign in to comment.