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 support for PositionWeightedModuleCollection #2647

Closed

Conversation

AlbertDachiChen
Copy link
Contributor

Summary:
As titled, we have seen wins from position encoding in modeling and would like to leverage PositionWeightedModuleCollection to reduce the cost https://fb.workplace.com/groups/204375858345877/permalink/884618276988295/

I have a stack locally that show NE equivalence between PositionWeightedModuleCollection and position encoding in modeling
{F1974047979}

Given IG has adopted VBE, I am adding necessary plumbing for VBE in PositionWeightedModuleCollection

Diffs will land after code freeze but publish first to get the review underway

Differential Revision: D67526005

@facebook-github-bot
Copy link
Contributor

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

@facebook-github-bot facebook-github-bot added CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported labels Dec 20, 2024
AlbertDachiChen added a commit to AlbertDachiChen/torchrec that referenced this pull request Jan 4, 2025
Summary:

As titled, we have seen wins from position encoding in modeling and would like to leverage PositionWeightedModuleCollection to reduce the cost https://fb.workplace.com/groups/204375858345877/permalink/884618276988295/

I have  a stack locally that show NE equivalence between PositionWeightedModuleCollection and position encoding in modeling
{F1974047979}

Given IG has adopted VBE, I am adding necessary plumbing for VBE in PositionWeightedModuleCollection

**Diffs will land after code freeze but publish first to get the review underway**

Reviewed By: TroyGarden

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

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

AlbertDachiChen added a commit to AlbertDachiChen/torchrec that referenced this pull request Jan 4, 2025
Summary:

As titled, we have seen wins from position encoding in modeling and would like to leverage PositionWeightedModuleCollection to reduce the cost https://fb.workplace.com/groups/204375858345877/permalink/884618276988295/

I have  a stack locally that show NE equivalence between PositionWeightedModuleCollection and position encoding in modeling
{F1974047979}

Given IG has adopted VBE, I am adding necessary plumbing for VBE in PositionWeightedModuleCollection

**Diffs will land after code freeze but publish first to get the review underway**

Reviewed By: TroyGarden

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

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

Summary:

As titled, we have seen wins from position encoding in modeling and would like to leverage PositionWeightedModuleCollection to reduce the cost https://fb.workplace.com/groups/204375858345877/permalink/884618276988295/

I have  a stack locally that show NE equivalence between PositionWeightedModuleCollection and position encoding in modeling
{F1974047979}

Given IG has adopted VBE, I am adding necessary plumbing for VBE in PositionWeightedModuleCollection

**Diffs will land after code freeze but publish first to get the review underway**

Reviewed By: TroyGarden

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

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

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.

2 participants