Skip to content

improve rl workflows and optimize MoE execution - #1471

Merged
github-actions[bot] merged 1 commit into
mindspore-ai:masterfrom
Zjunyuan2026:pr/rl-runtime-refactor-20261106
Nov 6, 2026
Merged

github-actions[bot] merged 1 commit into
mindspore-ai:masterfrom
Zjunyuan2026:pr/rl-runtime-refactor-20261106

Conversation

@Zjunyuan2026

@Zjunyuan2026 Zjunyuan2026 commented Nov 6, 2026 •

Copy link
Copy Markdown
Contributor

Paired: GitHub #1471 ↔ GitCode !1883

Summary

Improve RL training configuration, execution, and module organization,
and fix Qwen3 MoE rotary state initialization.

  • Separate command-line parsing from YAML configuration loading.
  • Provide dedicated modules for workers, asynchronous execution,
    weight synchronization, and tool protocols.
  • Clarify resource ownership and configuration handling across
    synchronous, fully asynchronous, and colocated asynchronous training.
  • Remove obsolete consistency implementations and redundant
    example scripts.
  • Restore non-persistent Qwen3 MoE rotary buffers after meta-model
    materialization to ensure rotary position embeddings work correctly.

Changes are limited to RL code and its supporting tests and
documentation. HyperParallel core implementations are unchanged.

@Zjunyuan2026 Zjunyuan2026 changed the title feat(rl): improve training workflows and fix MoE rotary state improve rl workflows and optimize MoE execution Nov 6, 2026
@Zjunyuan2026

Copy link
Copy Markdown
Contributor Author

/retest

@mindspore-ai-bot

Copy link
Copy Markdown

Gate trigger failed: please fix the /check-pr findings and obtain the pr-check-pass label before retrying.

@Zjunyuan2026

Copy link
Copy Markdown
Contributor Author

/check-pr

@Zjunyuan2026

Copy link
Copy Markdown
Contributor Author

/retest

@mindspore-ai-bot

Copy link
Copy Markdown

Gate trigger failed: please fix the /check-pr findings and obtain the pr-check-pass label before retrying.

@Zjunyuan2026

Copy link
Copy Markdown
Contributor Author

/check-pr

@Zjunyuan2026

Copy link
Copy Markdown
Contributor Author

/retest

@mindspore-ai-bot

Copy link
Copy Markdown

🔵 The pipeline #1466 is running. Please wait a moment... (Link)

@mindspore-ai-bot

Copy link
Copy Markdown
Project Name Build_Stage Build Result Details
Hyper-parallel_Github_Gate - ❌ FAILURE 1466
Check_Markdownlint FAILURE 1466
Check_Lizard FAILURE 1466

@mindspore-ai-bot

Copy link
Copy Markdown

@Zjunyuan2026, your gate pipeline failed at the code check stage. You can configure some code check tools locally following the (pre-push quick guide), to enable automatic checking when you push your code every time. Tools included are: Check_CMakelint, Check_Codespell, Check_Cpplint, Check_Lizard, Check_Pylint, Check_ClangFormat, Check_ShellCheck.

@Zjunyuan2026
Zjunyuan2026 force-pushed the pr/rl-runtime-refactor-20261106 branch from 631d827 to aa7e600 Compare November 6, 2026 03:27
@Zjunyuan2026

Copy link
Copy Markdown
Contributor Author

/check-pr

@Zjunyuan2026

Copy link
Copy Markdown
Contributor Author

/retest

@mindspore-ai-bot

Copy link
Copy Markdown

🔵 The pipeline #1470 is running. Please wait a moment... (Link)

@mindspore-ai-bot

Copy link
Copy Markdown
Project Name Build_Stage Build Result Details(Full/Incremental) Detail
Coverage Line Coverage ❌ FAILURE 75%/0% Link

@mindspore-ai-bot

Copy link
Copy Markdown
Platform Type Module Excution Time Time Limit
- auto_models 130.771s 150.0s
- accuracy 148.984s 120.0s
- optimizer 366.775s 300.0s
- pipeline_parallel 935.34s 600.0s
- clip_grad 112.647s 120.0s
- swap_optimizer 373.96s 300.0s
- activation_memory 128.04925s 120.0s
- expert_parallel 190.21275s 200.0s
- multicore 141.63737s 120.0s
- process_group 83.913s 90.0s
- shard 236.3s 300.0s
- fully_shard 353.154s 600.0s
- init_weights 90.696s 118.75s
- tensor_parallel 285.033s 300.0s
- context_parallel 98.576s 120.0s
- distributed_checkpoint 119.372s 120.0s
- dtensor 80.5s 120.0s
- llama3_examples 88.699s 120.0s

@mindspore-ai-bot

Copy link
Copy Markdown
Project Name Build_Stage Build Result Details
Hyper-parallel_Github_Gate - ❌ FAILURE 1470
Smoke_Ascend910b_Torch FAILURE 1470

@Zjunyuan2026

Copy link
Copy Markdown
Contributor Author

/check-pr

@Zjunyuan2026

Copy link
Copy Markdown
Contributor Author

/retest

@mindspore-ai-bot

Copy link
Copy Markdown

🔵 The pipeline #1473 is running. Please wait a moment... (Link)

@mindspore-ai-bot

Copy link
Copy Markdown
Project Name Build_Stage Build Result Details(Full/Incremental) Detail
Coverage Line Coverage ✅ SUCCESS 75%/0% Link

@mindspore-ai-bot

Copy link
Copy Markdown
Platform Type Module Excution Time Time Limit
- pipeline_parallel 790.74s 600.0s
- accuracy 124.249s 120.0s
- shard 214.949s 300.0s
- optimizer 352.266s 300.0s
- auto_models 108.594s 150.0s
- distributed_checkpoint 109.071s 120.0s
- clip_grad 119.584s 120.0s
- activation_memory 119.11075s 120.0s
- swap_optimizer 377.979s 300.0s
- fully_shard 392.387s 600.0s
- tensor_parallel 260.138s 300.0s
- context_parallel 93.71s 120.0s
- expert_parallel 158.9225s 200.0s
- multicore 130.001s 120.0s
- init_weights 91.757s 118.75s
- llama3_examples 103.713s 120.0s
- process_group 98.286s 90.0s
- dtensor 84.804s 120.0s

@mindspore-ai-bot

Copy link
Copy Markdown
Project Name Build_Stage Build Result Details
Hyper-parallel_Github_Gate - ✅ SUCCESS 1473

@github-actions
github-actions Bot enabled auto-merge November 6, 2026 06:27
@github-actions
github-actions Bot merged commit c086152 into mindspore-ai:master Nov 6, 2026
10 of 17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants