Add DramSsdKVEmbeddingCache composite backend (DRAM forwarding) (#5926)#5926
Open
lizhe-ji wants to merge 1 commit into
Open
Add DramSsdKVEmbeddingCache composite backend (DRAM forwarding) (#5926)#5926lizhe-ji wants to merge 1 commit into
lizhe-ji wants to merge 1 commit into
Conversation
lizhe-ji
pushed a commit
to lizhe-ji/FBGEMM-1
that referenced
this pull request
Jun 19, 2026
…rch#5926) Summary: X-link: facebookresearch/FBGEMM#2844 Introduce the DramSsdKVEmbeddingCache composite backend and its TorchScript wrapper as a forwarding skeleton: every EmbeddingKVDB method delegates to the wrapped DRAM (L2) cache. This establishes the class and build wiring; the SSD (L3) tier and its orchestration are added in the follow-up. - DramSsdKVEmbeddingCache: wraps DramKVEmbeddingCache and forwards all calls - DramSsdKVEmbeddingCacheWrapper: TorchScript wrapper that builds the DRAM cache, wraps it in the composite, and forwards calls - BUCK: register the two new headers Differential Revision: D108964307
e11a4b8 to
1831fa1
Compare
lizhe-ji
pushed a commit
to lizhe-ji/FBGEMM-1
that referenced
this pull request
Jun 23, 2026
…rch#5926) Summary: X-link: facebookresearch/FBGEMM#2844 Introduce the DramSsdKVEmbeddingCache composite backend and its TorchScript wrapper as a forwarding skeleton: every EmbeddingKVDB method delegates to the wrapped DRAM (L2) cache. This establishes the class and build wiring; the SSD (L3) tier and its orchestration are added in the follow-up. - DramSsdKVEmbeddingCache: wraps DramKVEmbeddingCache and forwards all calls - DramSsdKVEmbeddingCacheWrapper: TorchScript wrapper that builds the DRAM cache, wraps it in the composite, and forwards calls - BUCK: register the two new headers Differential Revision: D108964307
…rch#5926) Summary: X-link: facebookresearch/FBGEMM#2844 Introduce the DramSsdKVEmbeddingCache composite backend and its TorchScript wrapper as a forwarding skeleton: every EmbeddingKVDB method delegates to the wrapped DRAM (L2) cache. This establishes the class and build wiring; the SSD (L3) tier and its orchestration are added in the follow-up. - DramSsdKVEmbeddingCache: wraps DramKVEmbeddingCache and forwards all calls - DramSsdKVEmbeddingCacheWrapper: TorchScript wrapper that builds the DRAM cache, wraps it in the composite, and forwards calls - BUCK: register the two new headers Differential Revision: D108964307
1831fa1 to
66903bc
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary:
X-link: https://github.com/facebookresearch/FBGEMM/pull/2844
Introduce the DramSsdKVEmbeddingCache composite backend and its
TorchScript wrapper as a forwarding skeleton: every EmbeddingKVDB method
delegates to the wrapped DRAM (L2) cache. This establishes the class and
build wiring; the SSD (L3) tier and its orchestration are added in the
follow-up.
cache, wraps it in the composite, and forwards calls
Differential Revision: D108964307