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

Open
wants to merge 1 commit into
base: main
Choose a base branch
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 processing.

Name Link
🔨 Latest commit ab1e637
🔍 Latest deploy log https://app.netlify.com/projects/pytorch-fbgemm-docs/deploys/682e1e2e7b49ce00086778df

@facebook-github-bot
Copy link
Contributor

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

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
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