Repository navigation
[Bugfix][Conductor] Fix stale npu member access in the pybind client - #4610
Merged
Aionw merged 1 commit intoOct 13, 2026
Merged
Conversation
kvcache-ai#4588 renamed the cache tier member of CacheHitResult and RankCacheHitResult from npu to device but did not touch conductor_py.cpp, so the _conductor module stopped compiling and every CI run on main now fails at mooncake-integration/conductor/conductor_py.cpp:25. Point the two dict exports at the renamed member. Verified with a syntax-only compile of the translation unit: the pre-fix source fails with the same two "no member named 'npu'" errors seen in CI, the fixed source is clean.
This was referenced Oct 12, 2026
Collaborator
Author
|
All checks are green now, including the CTest job that is red on main and the wheel builds that compile the conductor module for real. Every PR that picks up 8c9af6c inherits the broken pybind build until this lands, so a merge when a maintainer has a minute would unblock the whole queue. @Misak2333 FYI since this completes the member rename from #4588; @stmatengss @alogfans could one of you take a look? |
17 of 19 tasks
7 of 13 tasks
14 of 32 tasks
Contributor
Aionw
approved these changes
Oct 13, 2026
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.
Description
#4588 renamed the cache tier member of
CacheHitResultandRankCacheHitResultfromnputodevicebut missedmooncake-integration/conductor/conductor_py.cpp. The_conductorpybind module no longer compiles, soCTest unit tests (Python 3.12)andCI Gateare red on main (run 38247341261) and on every PR that has picked up 8c9af6c.Point the two dict exports at the renamed member. The exported dict keys (
device,cpu_local,cpu_share,disk) are unchanged, so Python consumers see no difference.I swept for other stale reads of the old member name: the only remaining
.npuaccesses are inwire_types_test.cpp, where they belong to the intentionalPreviousHitwire-compat fixture, not the production structs.Module
mooncake-transfer-engine)mooncake-store)mooncake-conductor)mooncake-reshard)mooncake-ep)mooncake-pg)mooncake-integration)mooncake-p2p-store)mooncake-wheel)mooncake-common)mooncake-rl)Type of Change
How Has This Been Tested?
Test commands:
Test results:
code_format.sh/ pre-commit not run: the diff is a two-token identifier rename with no layout change.Checklist
./scripts/code_format.shExisting CI already exercises this file; the break was a compile error, not a behavior change, so no new test is added. Formatting and pre-commit boxes left unchecked per the note above.
AI Assistance Disclosure
Kimi Code found the break, prepared the fix, and ran the local verification described above. I reviewed the final diff end-to-end.