Skip to content

Conversation

chouxi
Copy link
Contributor

@chouxi chouxi commented Aug 28, 2025

Summary:
Adding RES to SplitTableBatchedEmbeddingBagsCodegen

The parameter populate logic is the similar existing one in _populate_ssd_tbe_params so extract them to a function.
Now pulling everything from fused params to be reused by UVM_CACHE and SSD modes.
The logic in addition here is the additional res_enabled_tables, only enable the RES for specific TBE when it contains enabled tables.

  • This is needed because currently we only want to enable it for one table and don't want to overhead for other tbes.

Differential Revision: D80503597

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

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

chouxi added a commit to chouxi/torchrec that referenced this pull request Aug 28, 2025
…3330)

Summary:

Adding RES to SplitTableBatchedEmbeddingBagsCodegen

The parameter populate logic is the similar existing one in _populate_ssd_tbe_params so extract them to a function.
Now pulling everything from fused params to be reused by UVM_CACHE and SSD modes.
The logic in addition here is the additional res_enabled_tables, only enable the RES for specific TBE when it contains enabled tables.
- This is needed because currently we only want to enable it for one table and don't want to overhead for other tbes.

Differential Revision: D80503597
chouxi added a commit to chouxi/torchrec that referenced this pull request Aug 28, 2025
…3330)

Summary:

Adding RES to SplitTableBatchedEmbeddingBagsCodegen

The parameter populate logic is the similar existing one in _populate_ssd_tbe_params so extract them to a function.
Now pulling everything from fused params to be reused by UVM_CACHE and SSD modes.
The logic in addition here is the additional res_enabled_tables, only enable the RES for specific TBE when it contains enabled tables.
- This is needed because currently we only want to enable it for one table and don't want to overhead for other tbes.

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

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

chouxi added a commit to chouxi/torchrec that referenced this pull request Aug 28, 2025
…3330)

Summary:
Pull Request resolved: pytorch#3330

Adding RES to SplitTableBatchedEmbeddingBagsCodegen

The parameter populate logic is the similar existing one in _populate_ssd_tbe_params so extract them to a function.
Now pulling everything from fused params to be reused by UVM_CACHE and SSD modes.
The logic in addition here is the additional res_enabled_tables, only enable the RES for specific TBE when it contains enabled tables.
- This is needed because currently we only want to enable it for one table and don't want to overhead for other tbes.

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

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

chouxi added a commit to chouxi/torchrec that referenced this pull request Aug 28, 2025
…3330)

Summary:
Pull Request resolved: pytorch#3330

Adding RES to SplitTableBatchedEmbeddingBagsCodegen

The parameter populate logic is the similar existing one in _populate_ssd_tbe_params so extract them to a function.
Now pulling everything from fused params to be reused by UVM_CACHE and SSD modes.
The logic in addition here is the additional res_enabled_tables, only enable the RES for specific TBE when it contains enabled tables.
- This is needed because currently we only want to enable it for one table and don't want to overhead for other tbes.

Differential Revision: D80503597
chouxi added a commit to chouxi/torchrec that referenced this pull request Sep 3, 2025
…3330)

Summary:

Adding RES to SplitTableBatchedEmbeddingBagsCodegen

The parameter populate logic is the similar existing one in _populate_ssd_tbe_params so extract them to a function.
Now pulling everything from fused params to be reused by UVM_CACHE and SSD modes.
The logic in addition here is the additional res_enabled_tables, only enable the RES for specific TBE when it contains enabled tables.
- This is needed because currently we only want to enable it for one table and don't want to overhead for other tbes.

Reviewed By: yixin94

Differential Revision: D80503597
…3330)

Summary:
Pull Request resolved: pytorch#3330

Adding RES to SplitTableBatchedEmbeddingBagsCodegen

The parameter populate logic is the similar existing one in _populate_ssd_tbe_params so extract them to a function.
Now pulling everything from fused params to be reused by UVM_CACHE and SSD modes.
The logic in addition here is the additional res_enabled_tables, only enable the RES for specific TBE when it contains enabled tables.
- This is needed because currently we only want to enable it for one table and don't want to overhead for other tbes.

Reviewed By: yixin94, yingufan

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

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

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