[QDP Runtime] Add v1 State-Partitioned Distributed Runtime Draft#1226
Open
400Ping wants to merge 2 commits intoapache:dev-distributed-qdpfrom
Open
[QDP Runtime] Add v1 State-Partitioned Distributed Runtime Draft#1226400Ping wants to merge 2 commits intoapache:dev-distributed-qdpfrom
400Ping wants to merge 2 commits intoapache:dev-distributed-qdpfrom
Conversation
Signed-off-by: 400Ping <jiekaichang@apache.org>
Member
Author
|
cc @viiccwen |
Signed-off-by: 400Ping <jiekaichang@apache.org>
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.
Summary
This PR introduces a v1 draft of
qdp-runtime, a state-partitioned distributed runtime skeleton for Mahout QDP.The goal of this PR is to establish the core abstractions and control-plane scaffolding needed for multi-GPU and future multi-node execution. This is not intended to be a production-ready distributed runtime yet. Instead, it defines the v1 execution model, task lifecycle, placement policies, gather/reduce semantics, and runtime object tracking needed to iterate safely.
What This PR Adds
New crate
qdp-runtimeCore runtime model
PartitionLayoutDistributedStateHandleandStatePartitionRefPlacement and topology
RoundRobin,Weighted, andTopologyAwareplacement policiesClusterInventoryandDeviceTopologyCoordinator / worker scaffolding
Task lifecycle
Pending / Assigned / Running / Completed / FailedOutput handling
GatherPlanReducePlanSum / Mean / Min / Max / ConcatExamples and docs
qdp-runtime/examples/local_runtime_smoke.rsqdp-runtime/examples/local_runtime_benchmark.rsqdp/docs/runtime/RUNTIME_V1.mdScope of This PR
This PR focuses on the v1 runtime draft and control-plane design.
It intentionally does not attempt to provide:
Design Notes
The current v1 draft is centered around a state-partitioned execution model.
That means:
This PR also keeps NVTX instrumentation hooks in place so that future runtime bottlenecks can be profiled more easily.
Current Limitations
Follow-Up Work
Related Issues
Related to #1210
Checklist