Repository navigation
[Conductor] Unify GPU/NPU cache tier as device - #4588
Conversation
Rename Conductor’s normalized device-cache tier from `npu` to `device` to avoid platform-specific naming. Co-authored-by: rch <lolopop.rong@gmail.com> Co-authored-by: Misak2333 <jzxscp173@163.com>
|
LGTM |
|
Heads-up: #4469 and #4588 were merged about a minute apart, and together they break the build on From the The fix looks like a two-line change in |
|
Heads up: the pybind client still read the old member name ( |
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. (cherry picked from commit 1dc4ca5)
…4610) #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.
Description
Rename Conductor’s normalized device-cache tier from
nputodeviceto avoid platform-specific naming.device / cpu_local / cpu_share / disk.GPUevent labels unchanged. Event handling and prefix-matching behavior remain unchanged.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:
# Example: bash scripts/run_ci_test.shTest results:
Checklist
./scripts/code_format.shAI Assistance Disclosure