Repository navigation
Conversation
Codex Review Summary: ❌ FailedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits. |
|
Hello, I am the author of the |
Fixes #125.
Summary
NPUTensorKVClientAdaptercreates itsDsTensorClientwithoutenable_remote_h2d, so cross-node NPU tensor transfers fall back to TCP even when the yuanrong server is started with--remote_h2d_device_ids. The yuanrong backend benchmark then measures TCP, not RDMA. This change passesenable_remote_h2d=True, matching the fix proposed in the issue.Change
transfer_queue/storage/clients/yuanrong_client.py:101, one line:datasystem.DsTensorClient(host, port, self.device_id)→datasystem.DsTensorClient(host, port, self.device_id, enable_remote_h2d=True). This is the onlyDsTensorClientcall site in the repo. The server side already supports RH2D (it parses--remote_h2d_device_idsintransfer_queue/storage/bootstrap/yuanrong_bootstrap.pyand documents it indocs/storage_backends/openyuanrong_datasystem.md).Test plan
tests/test_yuanrong_storage_client_e2e.pyon real NPU hardware with an RH2D-enabled yuanrong server.enable_remote_h2dkwarg could not be verified in this environment (datasystempackage not installed, no NPU); CI / real hardware must run the e2e test.Notes