add parallel orchestrator variants - #1
Draft
network4agent wants to merge 1 commit into
Draft
Conversation
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.
变更内容
原因与影响
现有动态 TensorMap 路径主要以串行方式构建 descriptor 和依赖,限制了编排阶段的并行度。本提交将可并行的构建阶段与必须保序的依赖发布阶段拆分,同时保持任务描述和 DAG 与串行基线完全一致。
用户可通过
qwen3_parallel.h或qwen3_parallel_v4.h选择并行实现,并使用BUILDER_THREADS、TM_SHARDS与DEFER_SCHEDULER调整构建和测量方式。默认既有 case 仍保留。验证
run-windows.cmd -B test-tensormap:11 项 TensorMap 测试全部通过。864tasks、3096subtasks、2742edges;descriptor hashae1f01a977b624fd、DAG hashe60bfbb9b34505e1完全一致。benchmark_parallel_orchestrator.ps1 -Warmups 0 -Runs 1:纯编排、并发调度和延后调度路径全部完成。git diff --check origin/main..HEAD:通过。