Skip to content

Add tracking and streaming logic to SplitTableBatchedEmbeddingBagsCodegen #4741

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

chouxi
Copy link
Contributor

@chouxi chouxi commented Aug 19, 2025

Summary:
X-link: https://github.com/facebookresearch/FBGEMM/pull/1762

It follows similar logic to SSD TBE https://fburl.com/code/fxdcxma3

It tries to

  1. store the updated ids/count
  2. next iteration streams out the updated embeddings and ids, before the embedding cache are populated again.

the prefetch pipeline logic also the same to SSDTBE.

Differential Revision: D78438757

Copy link

netlify bot commented Aug 19, 2025

Deploy Preview for pytorch-fbgemm-docs ready!

Name Link
🔨 Latest commit 4b83779
🔍 Latest deploy log https://app.netlify.com/projects/pytorch-fbgemm-docs/deploys/68a69e2a90459e000807f78b
😎 Deploy Preview https://deploy-preview-4741--pytorch-fbgemm-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@meta-cla meta-cla bot added the cla signed label Aug 19, 2025
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D78438757

chouxi added a commit to chouxi/FBGEMM that referenced this pull request Aug 19, 2025
…egen (pytorch#4741)

Summary:

X-link: facebookresearch/FBGEMM#1762

It follows similar logic to SSD TBE https://fburl.com/code/fxdcxma3

It tries to 
1. store the updated ids/count
2. next iteration streams out the updated embeddings and ids, before the embedding cache are populated again.

the prefetch pipeline logic also the same to SSDTBE.

Differential Revision: D78438757
chouxi added a commit to chouxi/FBGEMM that referenced this pull request Aug 19, 2025
…egen (pytorch#4741)

Summary:

X-link: facebookresearch/FBGEMM#1762

It follows similar logic to SSD TBE https://fburl.com/code/fxdcxma3

It tries to 
1. store the updated ids/count
2. next iteration streams out the updated embeddings and ids, before the embedding cache are populated again.

the prefetch pipeline logic also the same to SSDTBE.

Differential Revision: D78438757
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D78438757

chouxi added a commit to chouxi/FBGEMM that referenced this pull request Aug 19, 2025
…egen (pytorch#4741)

Summary:
Pull Request resolved: pytorch#4741

X-link: facebookresearch/FBGEMM#1762

It follows similar logic to SSD TBE https://fburl.com/code/fxdcxma3

It tries to
1. store the updated ids/count
2. next iteration streams out the updated embeddings and ids, before the embedding cache are populated again.

the prefetch pipeline logic also the same to SSDTBE.

Differential Revision: D78438757
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D78438757

chouxi added a commit to chouxi/FBGEMM that referenced this pull request Aug 20, 2025
…egen (pytorch#4741)

Summary:
Pull Request resolved: pytorch#4741

X-link: facebookresearch/FBGEMM#1762

It follows similar logic to SSD TBE https://fburl.com/code/fxdcxma3

It tries to
1. store the updated ids/count
2. next iteration streams out the updated embeddings and ids, before the embedding cache are populated again.

the prefetch pipeline logic also the same to SSDTBE.

Differential Revision: D78438757
@chouxi chouxi force-pushed the export-D78438757 branch 2 times, most recently from c24034b to a84f568 Compare August 20, 2025 22:30
chouxi added a commit to chouxi/FBGEMM that referenced this pull request Aug 20, 2025
…egen (pytorch#4741)

Summary:

X-link: facebookresearch/FBGEMM#1762

It follows similar logic to SSD TBE https://fburl.com/code/fxdcxma3

It tries to 
1. store the updated ids/count
2. next iteration streams out the updated embeddings and ids, before the embedding cache are populated again.

the prefetch pipeline logic also the same to SSDTBE.

Differential Revision: D78438757
chouxi added a commit to chouxi/FBGEMM that referenced this pull request Aug 20, 2025
…egen (pytorch#4741)

Summary:

X-link: facebookresearch/FBGEMM#1762

It follows similar logic to SSD TBE https://fburl.com/code/fxdcxma3

It tries to 
1. store the updated ids/count
2. next iteration streams out the updated embeddings and ids, before the embedding cache are populated again.

the prefetch pipeline logic also the same to SSDTBE.

Differential Revision: D78438757
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D78438757

chouxi added a commit to chouxi/FBGEMM that referenced this pull request Aug 20, 2025
…egen (pytorch#4741)

Summary:
Pull Request resolved: pytorch#4741

X-link: facebookresearch/FBGEMM#1762

It follows similar logic to SSD TBE https://fburl.com/code/fxdcxma3

It tries to
1. store the updated ids/count
2. next iteration streams out the updated embeddings and ids, before the embedding cache are populated again.

the prefetch pipeline logic also the same to SSDTBE.

Differential Revision: D78438757
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D78438757

chouxi added a commit to chouxi/FBGEMM that referenced this pull request Aug 20, 2025
…egen (pytorch#4741)

Summary:
Pull Request resolved: pytorch#4741

X-link: facebookresearch/FBGEMM#1762

It follows similar logic to SSD TBE https://fburl.com/code/fxdcxma3

It tries to
1. store the updated ids/count
2. next iteration streams out the updated embeddings and ids, before the embedding cache are populated again.

the prefetch pipeline logic also the same to SSDTBE.

Differential Revision: D78438757
@chouxi chouxi force-pushed the export-D78438757 branch 2 times, most recently from dbe6dcf to b3ccd68 Compare August 21, 2025 04:15
chouxi added a commit to chouxi/FBGEMM that referenced this pull request Aug 21, 2025
…egen (pytorch#4741)

Summary:

X-link: facebookresearch/FBGEMM#1762

It follows similar logic to SSD TBE https://fburl.com/code/fxdcxma3

It tries to 
1. store the updated ids/count
2. next iteration streams out the updated embeddings and ids, before the embedding cache are populated again.

the prefetch pipeline logic also the same to SSDTBE.

Differential Revision: D78438757
chouxi added a commit to chouxi/FBGEMM that referenced this pull request Aug 21, 2025
…egen (pytorch#4741)

Summary:

X-link: facebookresearch/FBGEMM#1762

It follows similar logic to SSD TBE https://fburl.com/code/fxdcxma3

It tries to 
1. store the updated ids/count
2. next iteration streams out the updated embeddings and ids, before the embedding cache are populated again.

the prefetch pipeline logic also the same to SSDTBE.

Differential Revision: D78438757
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D78438757

…egen (pytorch#4741)

Summary:
Pull Request resolved: pytorch#4741

X-link: facebookresearch/FBGEMM#1762

It follows similar logic to SSD TBE https://fburl.com/code/fxdcxma3

It tries to
1. store the updated ids/count
2. next iteration streams out the updated embeddings and ids, before the embedding cache are populated again.

the prefetch pipeline logic also the same to SSDTBE.

Differential Revision: D78438757
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D78438757

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants