Skip to content

support filling partial rows from backend #4158

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

Closed
wants to merge 1 commit into from

Conversation

duduyi2013
Copy link
Contributor

Summary:
change set

  1. After enabling optimizer offloading, when read optimizer out, we want to only read the tailing bytes out instead of the whole value field. This isn't supported in EmbeddingRocksdb before, add it here.
  2. Once we have the functionality above, we dont need to call .narrow() or .continuous() on the output tensor anymore, remove those
  3. We don't need optimizer chunking anymore(Ideally we can just return PMT to the checkpoint and let it handle KVT the same way as for weights)
  4. fix UT bugs for constructing kv zch ssd tbe

Differential Revision: D75048595

Copy link

netlify bot commented May 20, 2025

Deploy Preview for pytorch-fbgemm-docs ready!

Name Link
🔨 Latest commit 72411d4
🔍 Latest deploy log https://app.netlify.com/projects/pytorch-fbgemm-docs/deploys/682e21289f286200082c4c4e
😎 Deploy Preview https://deploy-preview-4158--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.

@facebook-github-bot
Copy link
Contributor

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

duduyi2013 added a commit to duduyi2013/FBGEMM that referenced this pull request May 21, 2025
Summary:

X-link: facebookresearch/FBGEMM#1238

change set
1. After enabling optimizer offloading, when read optimizer out, we want to only read the tailing bytes out instead of the whole value field. This isn't supported in EmbeddingRocksdb before,  add it here.
2. Once we have the functionality above, we dont need to call .narrow() or .continuous() on the output tensor anymore, remove those
3. We don't need optimizer chunking anymore(Ideally we can just return PMT to the checkpoint and let it handle KVT the same way as for weights)
4. fix UT bugs for constructing kv zch ssd tbe

Differential Revision: D75048595
duduyi2013 added a commit to duduyi2013/FBGEMM that referenced this pull request May 21, 2025
Summary:

X-link: facebookresearch/FBGEMM#1238

change set
1. After enabling optimizer offloading, when read optimizer out, we want to only read the tailing bytes out instead of the whole value field. This isn't supported in EmbeddingRocksdb before,  add it here.
2. Once we have the functionality above, we dont need to call .narrow() or .continuous() on the output tensor anymore, remove those
3. We don't need optimizer chunking anymore(Ideally we can just return PMT to the checkpoint and let it handle KVT the same way as for weights)
4. fix UT bugs for constructing kv zch ssd tbe

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

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

duduyi2013 added a commit to duduyi2013/FBGEMM that referenced this pull request May 21, 2025
Summary:
Pull Request resolved: pytorch#4158

X-link: facebookresearch/FBGEMM#1238

change set
1. After enabling optimizer offloading, when read optimizer out, we want to only read the tailing bytes out instead of the whole value field. This isn't supported in EmbeddingRocksdb before,  add it here.
2. Once we have the functionality above, we dont need to call .narrow() or .continuous() on the output tensor anymore, remove those
3. We don't need optimizer chunking anymore(Ideally we can just return PMT to the checkpoint and let it handle KVT the same way as for weights)
4. fix UT bugs for constructing kv zch ssd tbe

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

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

1 similar comment
@facebook-github-bot
Copy link
Contributor

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

Summary:
Pull Request resolved: pytorch#4158

X-link: facebookresearch/FBGEMM#1238

change set
1. After enabling optimizer offloading, when read optimizer out, we want to only read the tailing bytes out instead of the whole value field. This isn't supported in EmbeddingRocksdb before,  add it here.
2. Once we have the functionality above, we dont need to call .narrow() or .continuous() on the output tensor anymore, remove those
3. We don't need optimizer chunking anymore(Ideally we can just return PMT to the checkpoint and let it handle KVT the same way as for weights)
4. fix UT bugs for constructing kv zch ssd tbe

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

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

@facebook-github-bot
Copy link
Contributor

This pull request has been merged in d68987c.

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