Skip to content
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

Add VBE KJT support to EmbeddingCollection #2047

Closed
wants to merge 1 commit into from

Conversation

joshuadeng
Copy link
Contributor

Summary:

  • pad lengths to final batch size so that EC with index dedup will be compatible with VBE kjt.
  • expands reindexed embeddings with vbe inverse indices
  • long term solution is to fix seq TBE to not need lengths/batch size info, just length per key

Differential Revision: D51600051

@facebook-github-bot facebook-github-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 May 28, 2024
@facebook-github-bot
Copy link
Contributor

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

joshuadeng added a commit to joshuadeng/torchrec that referenced this pull request May 28, 2024
Summary:

- pad lengths to final batch size so that EC with index dedup will be compatible with VBE kjt.
- expands reindexed embeddings with vbe inverse indices
- long term solution is to fix seq TBE to not need lengths/batch size info, just length per key

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

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

joshuadeng added a commit to joshuadeng/torchrec that referenced this pull request May 28, 2024
Summary:

- pad VBE kjt lengths to final batch size so that it's compatible with EC kernel.
- works with index dedup
- expands embeddings with vbe inverse indices
- long term solution is to fix seq TBE to not need lengths/batch size info, just length per key

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

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

joshuadeng added a commit to joshuadeng/torchrec that referenced this pull request May 28, 2024
Summary:

- pad VBE kjt lengths to final batch size so that it's compatible with EC kernel.
- works with index dedup
- expands embeddings with vbe inverse indices
- long term solution is to fix seq TBE to not need lengths/batch size info, just length per key

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

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

joshuadeng added a commit to joshuadeng/torchrec that referenced this pull request May 30, 2024
Summary:

- pad VBE kjt lengths to final batch size so that it's compatible with EC kernel.
- works with index dedup
- expands embeddings with vbe inverse indices
- remove sync from keyed jagged index select for permute
- long term solution is to fix seq TBE to not need lengths/batch size info, just length per key

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

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

joshuadeng added a commit to joshuadeng/torchrec that referenced this pull request May 30, 2024
Summary:

- pad VBE kjt lengths to final batch size so that it's compatible with EC kernel.
- works with index dedup
- expands embeddings with vbe inverse indices
- remove sync from keyed jagged index select for permute
- long term solution is to fix seq TBE to not need lengths/batch size info, just length per key

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

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

joshuadeng added a commit to joshuadeng/torchrec that referenced this pull request Jun 3, 2024
Summary:

- pad VBE kjt lengths to final batch size so that it's compatible with EC kernel.
- works with index dedup
- expands embeddings with vbe inverse indices
- remove sync from keyed jagged index select for permute
- long term solution is to fix seq TBE to not need lengths/batch size info, just length per key

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

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

joshuadeng added a commit to joshuadeng/torchrec that referenced this pull request Jun 4, 2024
Summary:

- pad VBE kjt lengths to final batch size so that it's compatible with EC kernel.
- works with index dedup
- expands embeddings with vbe inverse indices
- remove sync from keyed jagged index select for permute
- long term solution is to fix seq TBE to not need lengths/batch size info, just length per key

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

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

joshuadeng added a commit to joshuadeng/torchrec that referenced this pull request Jun 6, 2024
Summary:

- pad VBE kjt lengths to final batch size so that it's compatible with EC kernel.
- works with index dedup
- expands embeddings with vbe inverse indices
- remove sync from keyed jagged index select for permute
- long term solution is to fix seq TBE to not need lengths/batch size info, just length per key

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

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

Summary:
Pull Request resolved: pytorch#2047

- pad VBE kjt lengths to final batch size so that it's compatible with EC kernel.
- works with index dedup
- expands embeddings with vbe inverse indices
- remove sync from keyed jagged index select for permute
- long term solution is to fix seq TBE to not need lengths/batch size info, just length per key

Reviewed By: dstaay-fb

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

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

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. fb-exported
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants