Repository navigation
docs: add the design notes page for the parallel execution layer - #69
Merged
Merged
Conversation
Distilled from the design document in the repository scratch area into a finalized page (no intermediate revision or review history): - requirements and the three schools of prior work; - the two state-ownership invariants (client-task enclosure, server single-threadedness) and the arithmetic-equivalence corollary; - the executor abstraction (in-order map, main-thread completion callbacks, fail-fast, context-manager resource handling) and why map-instead-of-futures; - the per-round task decomposition, including the independence of uplink skipping from downlink broadcast and from training/evaluation; - the backend table (sequential / threads / processes / ray) with measured speedups; - the reproducibility ladder (L0 default, L1 per-client generators, L2 rejected) and the configuration surface; - implementation notes (named model_state exchange, the APFL fix found by the bitwise migration harness, the L1 loader-rebuild choice, the legacy-hook shim) and the outlook for the processes and ray backends. Wired into the Advanced Topics toctree and cross-linked from parallel_execution.rst; zh_CN translation included.
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
Distill the parallel-execution design document from the maintainer's scratch area into a finalized documentation page (
docs/source/parallel_execution_design.rst) — no intermediate revision or review history, describing the shipped system:model_stateexchange, the APFL fix found by the bitwise migration harness, the L1 loader-rebuild choice, the legacy-hook shim) and the outlook for theprocessesandraybackends.Wired into the Advanced Topics toctree and cross-linked from
parallel_execution.rst. zh_CN translation included.Note: this PR is based on master before #68; the two zh build warnings on the theory pages are fixed there and are unrelated to this change.
Validation