Skip to content

Skip shape exchange for fixed metric states (#4535) - #4535

Open
jeffkbkim wants to merge 1 commit into
meta-pytorch:mainfrom
jeffkbkim:export-D115732360
Open

Skip shape exchange for fixed metric states (#4535)#4535
jeffkbkim wants to merge 1 commit into
meta-pytorch:mainfrom
jeffkbkim:export-D115732360

Conversation

@jeffkbkim

@jeffkbkim jeffkbkim commented Aug 12, 2026

Copy link
Copy Markdown
Contributor

Summary:

Reduce distributed RecMetric synchronization overhead when metric state shapes are fixed across ranks. Metrics with variable state shapes and custom synchronization retain their existing behavior.

Differential Revision: D115732360

@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Aug 12, 2026
@meta-codesync

meta-codesync Bot commented Aug 12, 2026

Copy link
Copy Markdown
Contributor

@jeffkbkim has exported this pull request. If you are a Meta employee, you can view the originating Diff in D115732360.

@meta-codesync meta-codesync Bot changed the title Skip shape exchange for fixed metric states Skip shape exchange for fixed metric states (#4535) Aug 17, 2026
jeffkbkim added a commit to jeffkbkim/torchrec that referenced this pull request Aug 17, 2026
Summary:

Reduce distributed RecMetric synchronization overhead when metric state shapes are fixed across ranks. Metrics with variable state shapes and custom synchronization retain their existing behavior.

Differential Revision: D115732360
@jeffkbkim
jeffkbkim force-pushed the export-D115732360 branch 2 times, most recently from 306be19 to c4b683f Compare August 18, 2026 18:48
jeffkbkim added a commit to jeffkbkim/torchrec that referenced this pull request Aug 18, 2026
Summary:

Reduce distributed RecMetric synchronization overhead when metric state shapes are fixed across ranks. Metrics with variable state shapes and custom synchronization retain their existing behavior.

Differential Revision: D115732360
jeffkbkim added a commit to jeffkbkim/torchrec that referenced this pull request Aug 18, 2026
Summary:

Reduce distributed RecMetric synchronization overhead when metric state shapes are fixed across ranks. Metrics with variable state shapes and custom synchronization retain their existing behavior.

Differential Revision: D115732360
Summary:

Reduce distributed RecMetric synchronization overhead when metric state shapes are fixed across ranks. Metrics with variable state shapes and custom synchronization retain their existing behavior.

Differential Revision: D115732360
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 Facebook bot. Authors need to sign the CLA before a PR can be reviewed. meta-exported

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant