Repository navigation
api/python: minimal Core transfer provider — review MVP - #3
Draft
samnordmann wants to merge 2 commits into
Draft
samnordmann wants to merge 2 commits into
samnordmann wants to merge 2 commits into
Conversation
Snapshot of the current endpoint-transfer prototype for review in the author's fork. Native GPU performance parity and full end-to-end framework validation remain open; this is not an upstream-ready change. Assisted-by: OpenAI Codex Signed-off-by: Samuel Nordmann <snordmann@nvidia.com>
This was referenced Sep 17, 2026
Use the existing NIXL API with a small provider and shared framework migration shim. Restore native C++ and UCX sources to the review base. No active cancellation or native parity claim. Assisted-by: OpenAI Codex Signed-off-by: Samuel Nordmann <snordmann@nvidia.com>
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.
What / why
Minimal provider for PyTorch's Core transfer MVP, plus one shared migration shim for existing frameworks. Fork-only technical review; native NIXL APIs and C++/UCX code are unchanged.
How
Wrap the existing native agent, reuse prepared descriptor lists and index arrays, and preserve backend settings, metadata, wire descriptors and notification bytes. The optional module is installed through the existing Python packaging paths (including the required mirror).
Validation / limits
pytest -q test/python/test_torch_transfer.py: 4 passed, with the prototype Core module and mocked native calls. Native/GPU validation and performance parity are pending. Success-path prototype only: release requires DONE; active cancellation/error recovery is deferred.Consumers: vLLM, SGLang, verl. AI-assisted; human review required before upstream submission.