Enable logging for the plan() function, ShardEstimators and TrainingPipeline class constructors - #3521
Closed
nipung90 wants to merge 1 commit into
Closed
Enable logging for the plan() function, ShardEstimators and TrainingPipeline class constructors#3521nipung90 wants to merge 1 commit into
nipung90 wants to merge 1 commit into
Conversation
Contributor
nipung90
added a commit
to nipung90/torchrec
that referenced
this pull request
Nov 6, 2025
…ipeline class constructors (meta-pytorch#3521) Summary: This diff enables the static logging functionality to collect data for: 1) plan() - This will allow us to look at the inputs and outputs to the planner to help with use issue debugging 2) ShardEstimators - This will allow us to look at the inputs and outputs to the ShardEstimators, which gives us the bandwidth inputs to verify if the planner is generating expected values as well as help with debugging OOMs 3) TrainingPipeline - The class type here will be an indicator of which pipeline was used by the training job. The training pipeline has implications on the memory usage and is an important data point to collect to investigate OOMs. Reviewed By: kausv Differential Revision: D86317910
nipung90
force-pushed
the
export-D86317910
branch
from
November 6, 2025 01:48
0f50c2b to
8d4b3e6
Compare
nipung90
added a commit
to nipung90/torchrec
that referenced
this pull request
Nov 6, 2025
…ipeline class constructors (meta-pytorch#3521) Summary: This diff enables the static logging functionality to collect data for: 1) plan() - This will allow us to look at the inputs and outputs to the planner to help with use issue debugging 2) ShardEstimators - This will allow us to look at the inputs and outputs to the ShardEstimators, which gives us the bandwidth inputs to verify if the planner is generating expected values as well as help with debugging OOMs 3) TrainingPipeline - The class type here will be an indicator of which pipeline was used by the training job. The training pipeline has implications on the memory usage and is an important data point to collect to investigate OOMs. Reviewed By: kausv Differential Revision: D86317910
nipung90
force-pushed
the
export-D86317910
branch
from
November 6, 2025 05:54
8d4b3e6 to
b1343d1
Compare
nipung90
added a commit
to nipung90/torchrec
that referenced
this pull request
Nov 6, 2025
…ipeline class constructors (meta-pytorch#3521) Summary: This diff enables the static logging functionality to collect data for: 1) plan() - This will allow us to look at the inputs and outputs to the planner to help with use issue debugging 2) ShardEstimators - This will allow us to look at the inputs and outputs to the ShardEstimators, which gives us the bandwidth inputs to verify if the planner is generating expected values as well as help with debugging OOMs 3) TrainingPipeline - The class type here will be an indicator of which pipeline was used by the training job. The training pipeline has implications on the memory usage and is an important data point to collect to investigate OOMs. Reviewed By: kausv Differential Revision: D86317910
nipung90
force-pushed
the
export-D86317910
branch
2 times, most recently
from
November 12, 2025 16:01
7bdf208 to
afac327
Compare
nipung90
added a commit
to nipung90/torchrec
that referenced
this pull request
Nov 12, 2025
…ipeline class constructors (meta-pytorch#3521) Summary: This diff enables the static logging functionality to collect data for: 1) plan() - This will allow us to log the inputs and outputs to the planner to help with use issue debugging 2) ShardEstimators - This will allow us to log the inputs and outputs to the ShardEstimators, which gives us the bandwidth inputs to verify if the planner is generating expected values as well as help with debugging OOMs 3) TrainingPipeline - The class type here will be an indicator of which pipeline was used by the training job. The training pipeline has implications on the memory usage and is an important data point to collect to investigate OOMs. Reviewed By: kausv Differential Revision: D86317910
nipung90
added a commit
to nipung90/torchrec
that referenced
this pull request
Nov 12, 2025
…ipeline class constructors (meta-pytorch#3521) Summary: This diff enables the static logging functionality to collect data for: 1) plan() - This will allow us to log the inputs and outputs to the planner to help with use issue debugging 2) ShardEstimators - This will allow us to log the inputs and outputs to the ShardEstimators, which gives us the bandwidth inputs to verify if the planner is generating expected values as well as help with debugging OOMs 3) TrainingPipeline - The class type here will be an indicator of which pipeline was used by the training job. The training pipeline has implications on the memory usage and is an important data point to collect to investigate OOMs. Reviewed By: kausv Differential Revision: D86317910
nipung90
force-pushed
the
export-D86317910
branch
from
November 12, 2025 16:17
afac327 to
8669082
Compare
nipung90
added a commit
to nipung90/torchrec
that referenced
this pull request
Nov 12, 2025
…ipeline class constructors (meta-pytorch#3521) Summary: This diff enables the static logging functionality to collect data for: 1) plan() - This will allow us to log the inputs and outputs to the planner to help with use issue debugging 2) ShardEstimators - This will allow us to log the inputs and outputs to the ShardEstimators, which gives us the bandwidth inputs to verify if the planner is generating expected values as well as help with debugging OOMs 3) TrainingPipeline - The class type here will be an indicator of which pipeline was used by the training job. The training pipeline has implications on the memory usage and is an important data point to collect to investigate OOMs. Reviewed By: kausv Differential Revision: D86317910
nipung90
force-pushed
the
export-D86317910
branch
from
November 12, 2025 17:37
8669082 to
2fce23a
Compare
nipung90
added a commit
to nipung90/torchrec
that referenced
this pull request
Nov 12, 2025
…ipeline class constructors (meta-pytorch#3521) Summary: This diff enables the static logging functionality to collect data for: 1) plan() - This will allow us to log the inputs and outputs to the planner to help with use issue debugging 2) ShardEstimators - This will allow us to log the inputs and outputs to the ShardEstimators, which gives us the bandwidth inputs to verify if the planner is generating expected values as well as help with debugging OOMs 3) TrainingPipeline - The class type here will be an indicator of which pipeline was used by the training job. The training pipeline has implications on the memory usage and is an important data point to collect to investigate OOMs. Reviewed By: kausv Differential Revision: D86317910
nipung90
force-pushed
the
export-D86317910
branch
from
November 12, 2025 17:42
2fce23a to
66d3870
Compare
nipung90
added a commit
to nipung90/torchrec
that referenced
this pull request
Nov 12, 2025
…ipeline class constructors (meta-pytorch#3521) Summary: This diff enables the static logging functionality to collect data for: 1) plan() - This will allow us to log the inputs and outputs to the planner to help with use issue debugging 2) ShardEstimators - This will allow us to log the inputs and outputs to the ShardEstimators, which gives us the bandwidth inputs to verify if the planner is generating expected values as well as help with debugging OOMs 3) TrainingPipeline - The class type here will be an indicator of which pipeline was used by the training job. The training pipeline has implications on the memory usage and is an important data point to collect to investigate OOMs. Reviewed By: kausv Differential Revision: D86317910
nipung90
force-pushed
the
export-D86317910
branch
2 times, most recently
from
November 12, 2025 17:46
3d64364 to
35edecb
Compare
nipung90
added a commit
to nipung90/torchrec
that referenced
this pull request
Nov 12, 2025
…ipeline class constructors (meta-pytorch#3521) Summary: This diff enables the static logging functionality to collect data for: 1) plan() - This will allow us to log the inputs and outputs to the planner to help with use issue debugging 2) ShardEstimators - This will allow us to log the inputs and outputs to the ShardEstimators, which gives us the bandwidth inputs to verify if the planner is generating expected values as well as help with debugging OOMs 3) TrainingPipeline - The class type here will be an indicator of which pipeline was used by the training job. The training pipeline has implications on the memory usage and is an important data point to collect to investigate OOMs. Reviewed By: kausv Differential Revision: D86317910
…ipeline class constructors (meta-pytorch#3521) Summary: This diff enables the static logging functionality to collect data for: 1) plan() - This will allow us to log the inputs and outputs to the planner to help with use issue debugging 2) ShardEstimators - This will allow us to log the inputs and outputs to the ShardEstimators, which gives us the bandwidth inputs to verify if the planner is generating expected values as well as help with debugging OOMs 3) TrainingPipeline - The class type here will be an indicator of which pipeline was used by the training job. The training pipeline has implications on the memory usage and is an important data point to collect to investigate OOMs. Reviewed By: kausv Differential Revision: D86317910
nipung90
force-pushed
the
export-D86317910
branch
from
November 18, 2025 03:28
35edecb to
dfdc6c4
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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:
This diff enables the static logging functionality to collect data for:
Reviewed By: kausv
Differential Revision: D86317910