Skip to content

Add MCCL_FILTER_ALGO_PROFILER_LOGGING_BY_RANKS CVAR#2370

Open
mlunar-meta wants to merge 1 commit intometa-pytorch:mainfrom
mlunar-meta:export-D103468481
Open

Add MCCL_FILTER_ALGO_PROFILER_LOGGING_BY_RANKS CVAR#2370
mlunar-meta wants to merge 1 commit intometa-pytorch:mainfrom
mlunar-meta:export-D103468481

Conversation

@mlunar-meta
Copy link
Copy Markdown
Contributor

@mlunar-meta mlunar-meta commented May 5, 2026

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

@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Meta Open Source bot. label May 5, 2026
@meta-codesync
Copy link
Copy Markdown
Contributor

meta-codesync Bot commented May 5, 2026

@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
@meta-codesync meta-codesync Bot changed the title Add MCCL_FILTER_FILER_LOGGING_BY_RANKS CVAR Add MCCL_FILTER_ALGO_PROFILER_LOGGING_BY_RANKS CVAR May 5, 2026
@mlunar-meta mlunar-meta force-pushed the export-D103468481 branch from 75832bb to 7aa6111 Compare May 5, 2026 01:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Meta Open Source bot. fb-exported meta-exported

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant