Skip to content

Create Reduce-Scatter Primitive Benchmark (#4483) - #4483

Closed
siqihuang wants to merge 1 commit into
meta-pytorch:mainfrom
siqihuang:export-D113960618
Closed

Create Reduce-Scatter Primitive Benchmark (#4483)#4483
siqihuang wants to merge 1 commit into
meta-pytorch:mainfrom
siqihuang:export-D113960618

Conversation

@siqihuang

@siqihuang siqihuang commented Aug 5, 2026

Copy link
Copy Markdown

Summary:

This diff introduces a new benchmark for evaluating the performance of the reduce-scatter collective in the PooledEmbeddingsReduceScatter module from dist_data.py.
The benchmark is integrated with the existing benchmark_primitive.py file.
The goal is to measure the reduce-scatter performance and analyze its impact on the overall efficiency of the output_dist process.

Key Changes:

  • Updated benchmark_primitive.py to include the reduce-scatter benchmark.
  • Added comments to explain the newly added benchmark in the context of PooledEmbeddingsReduceScatter and its usage in output_dist.

Reviewed By: TroyGarden

Differential Revision: D113960618

@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 5, 2026
@meta-codesync

meta-codesync Bot commented Aug 5, 2026

Copy link
Copy Markdown
Contributor

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

@meta-codesync meta-codesync Bot changed the title Create Reduce-Scatter Primitive Benchmark Create Reduce-Scatter Primitive Benchmark (#4483) Aug 5, 2026
siqihuang pushed a commit to siqihuang/torchrec that referenced this pull request Aug 5, 2026
Summary:

This diff introduces a new benchmark for evaluating the performance of the reduce-scatter collective in the `PooledEmbeddingsReduceScatter` module from `dist_data.py`. 
The benchmark is integrated with the existing `benchmark_primitive.py` file. 
The goal is to measure the reduce-scatter performance and analyze its impact on the overall efficiency of the `output_dist` process.

### Key Changes:

*   Updated `benchmark_primitive.py` to include the reduce-scatter benchmark.
*   Added comments to explain the newly added benchmark in the context of `PooledEmbeddingsReduceScatter` and its usage in `output_dist`.

Differential Revision: D113960618
Summary:

This diff introduces a new benchmark for evaluating the performance of the reduce-scatter collective in the `PooledEmbeddingsReduceScatter` module from `dist_data.py`. 
The benchmark is integrated with the existing `benchmark_primitive.py` file. 
The goal is to measure the reduce-scatter performance and analyze its impact on the overall efficiency of the `output_dist` process.

### Key Changes:

*   Updated `benchmark_primitive.py` to include the reduce-scatter benchmark.
*   Added comments to explain the newly added benchmark in the context of `PooledEmbeddingsReduceScatter` and its usage in `output_dist`.

Reviewed By: TroyGarden

Differential Revision: D113960618
@meta-codesync meta-codesync Bot closed this in 9dcdf47 Aug 6, 2026
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