Skip to content

[DSA] support DSA in Mooncake connector #2897

Merged
maobaolong merged 1 commit intoLMCache:devfrom
chunxiaozheng:dev-mc-dsa
Mar 29, 2026
Merged

[DSA] support DSA in Mooncake connector #2897
maobaolong merged 1 commit intoLMCache:devfrom
chunxiaozheng:dev-mc-dsa

Conversation

@chunxiaozheng
Copy link
Copy Markdown
Collaborator

Support DSA in mooncake connector.

Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request refactors the MooncakeStoreConnector to use MemoryObj abstractions instead of direct PyTorch tensor operations, specifically replacing .tensor with .raw_tensor and using .data_ptr and .get_size() methods. It also replaces the hardcoded METADATA_BYTES_LEN constant with a dynamic self.remote_metadata_bytes attribute and cleans up unused imports like reduce and operator. I have no feedback to provide as no review comments were present and the changes appear consistent with the refactoring goal.

Signed-off-by: idellzheng <idellzheng@tencent.com>
@chunxiaozheng
Copy link
Copy Markdown
Collaborator Author

@maobaolong @ApostaC could you help take a look? Thanks!

Copy link
Copy Markdown
Collaborator

@maobaolong maobaolong left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM thanks for this fix.

Copy link
Copy Markdown
Contributor

@ApostaC ApostaC left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@ApostaC ApostaC added the full Run comprehensive tests on this PR label Mar 29, 2026
@maobaolong maobaolong enabled auto-merge (squash) March 29, 2026 02:21
@maobaolong maobaolong merged commit 345e3e3 into LMCache:dev Mar 29, 2026
33 of 34 checks passed
jooho-XCENA pushed a commit to xcena-dev/LMCache that referenced this pull request Apr 2, 2026
[DSA] support DSA in Mooncake connector

Signed-off-by: idellzheng <idellzheng@tencent.com>
jooho-XCENA pushed a commit to xcena-dev/LMCache that referenced this pull request Apr 2, 2026
[DSA] support DSA in Mooncake connector

Signed-off-by: idellzheng <idellzheng@tencent.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

full Run comprehensive tests on this PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants