Extend memory freeing to other PipelinedForwards #1971
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary:
Biggest win in semi-sync pipeline.
Post diff
TrainPipelineBase | Runtime (P90): 10.098 s | Memory (P90): 8.418 GB
TrainPipelineSparseDist | Runtime (P90): 10.050 s | Memory (P90): 8.655 GB
TrainPipelineSemiSync | Runtime (P90): 9.541 s | Memory (P90): 10.332 GB
PrefetchTrainPipelineSparseDist | Runtime (P90): 10.063 s | Memory (P90): 8.918 GB
Pre diff
TrainPipelineBase | Runtime (P90): 10.125 s | Memory (P90): 8.418 GB
TrainPipelineSparseDist | Runtime (P90): 10.033 s | Memory (P90): 8.654 GB
TrainPipelineSemiSync | Runtime (P90): 9.529 s | Memory (P90): 11.932 GB
PrefetchTrainPipelineSparseDist | Runtime (P90): 10.109 s | Memory (P90): 8.910 GB
Differential Revision: D57169568