Skip to content

[NPU] mem_cache: Enable indexed KV row copy on Ascend950 - #1105

Draft
JinyanYi wants to merge 2 commits into
sgl-project:mainfrom
JinyanYi:feat/ascend950-unidex-copy
Draft

JinyanYi wants to merge 2 commits into
sgl-project:mainfrom
JinyanYi:feat/ascend950-unidex-copy

Conversation

@JinyanYi

@JinyanYi JinyanYi commented Nov 27, 2026 •

Copy link
Copy Markdown

Changes

Enable indexed copies of 656-byte packed C8 KV on ARCH35. Exercise registered host memory as both source and destination using the raw-address overrides.

Extracted from #1094. The companion framework is sglang#53458.

Validation

The standalone 3510 wheel built and loaded on AArch64 Linux with CANN 9.2 B050 at 0c640f21. The Torch NPU registration and public ARCH35 dispatch passed without a device. On-card 656-byte address-override tests are pending.

python3 setup.py --arch-version 3510 --ops unidex_copy --without-third-party
python3 -m pytest -q tests/python/operators/mem_cache/test_unidex_copy.py

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant