Add MCCL_FILTER_ALGO_PROFILER_LOGGING_BY_RANKS CVAR#2370
Open
mlunar-meta wants to merge 1 commit intometa-pytorch:mainfrom
Open
Add MCCL_FILTER_ALGO_PROFILER_LOGGING_BY_RANKS CVAR#2370mlunar-meta wants to merge 1 commit intometa-pytorch:mainfrom
mlunar-meta wants to merge 1 commit intometa-pytorch:mainfrom
Conversation
Contributor
|
@mlunar-meta has exported this pull request. If you are a Meta employee, you can view the originating Diff in D103468481. |
Summary: Add a new CVAR `MCCL_FILTER_ALGO_PROFILER_LOGGING_BY_RANKS` to control which global ranks are allowed to write algo profiler logs (mccl_operation_trace). Default is "0" (only rank 0 logs). Set to empty string to allow all ranks. This reduces log volume at scale by default. The actual filtering logic using this CVAR will follow in a subsequent diff. Differential Revision: D103468481
75832bb to
7aa6111
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:
Add a new CVAR
MCCL_FILTER_ALGO_PROFILER_LOGGING_BY_RANKSto control which global ranks are allowed to write algo profiler logs (mccl_operation_trace). Default is "0" (only rank 0 logs). Set to empty string to allow all ranks. This reduces log volume at scale by default.The actual filtering logic using this CVAR will follow in a subsequent diff.
Differential Revision: D103468481