From cbee82324c4ac2e780514122604f8f5fdb7c1d21 Mon Sep 17 00:00:00 2001 From: aoshen02 Date: Wed, 7 Oct 2026 14:22:10 +0800 Subject: [PATCH] [Docs][RL] Move pause/resume and batch invariance examples to examples/rl (#59949) Signed-off-by: wang.yuqi Signed-off-by: aoshen02 Co-authored-by: wang.yuqi Co-authored-by: Claude Opus 5.5 --- .github/CODEOWNERS | 1 - docs/usage/reproducibility.md | 2 +- .../batch_invariance/reproducibility_offline.py | 0 .../{features => rl}/pause_resume/data_parallel_pause_resume.py | 0 examples/{features => rl}/pause_resume/pause_resume_offline.py | 0 mkdocs.yaml | 2 ++ 6 files changed, 3 insertions(+), 2 deletions(-) rename examples/{features => rl}/batch_invariance/reproducibility_offline.py (100%) rename examples/{features => rl}/pause_resume/data_parallel_pause_resume.py (100%) rename examples/{features => rl}/pause_resume/pause_resume_offline.py (100%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index ac64cf1225..71d501eabe 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -235,7 +235,6 @@ mkdocs.yaml @hmellor /tests/entrypoints/serve/dev/rlhf @DarkLight1337 @robertgshaw2-redhat @aarnphm @NickLucche @AndreasKaratzas @aoshen02 /tests/v1/worker/test_gpu_worker_weight_transfer.py @aoshen02 /examples/rl @aoshen02 -/examples/features/pause_resume @aoshen02 /docs/training/rlhf.md @aoshen02 /docs/training/async_rl.md @aoshen02 /docs/training/weight_transfer @aoshen02 diff --git a/docs/usage/reproducibility.md b/docs/usage/reproducibility.md index 680791bbe2..ef34855ef4 100644 --- a/docs/usage/reproducibility.md +++ b/docs/usage/reproducibility.md @@ -7,7 +7,7 @@ reproducible results: or enable [batch invariance](../features/batch_invariance.md) to make the outputs insensitive to scheduling. - In online mode, you can only enable [batch invariance](../features/batch_invariance.md). -Example: [examples/features/batch_invariance/reproducibility_offline.py](../../examples/features/batch_invariance/reproducibility_offline.py) +Example: [examples/rl/batch_invariance/reproducibility_offline.py](../../examples/rl/batch_invariance/reproducibility_offline.py) !!! warning diff --git a/examples/features/batch_invariance/reproducibility_offline.py b/examples/rl/batch_invariance/reproducibility_offline.py similarity index 100% rename from examples/features/batch_invariance/reproducibility_offline.py rename to examples/rl/batch_invariance/reproducibility_offline.py diff --git a/examples/features/pause_resume/data_parallel_pause_resume.py b/examples/rl/pause_resume/data_parallel_pause_resume.py similarity index 100% rename from examples/features/pause_resume/data_parallel_pause_resume.py rename to examples/rl/pause_resume/data_parallel_pause_resume.py diff --git a/examples/features/pause_resume/pause_resume_offline.py b/examples/rl/pause_resume/pause_resume_offline.py similarity index 100% rename from examples/features/pause_resume/pause_resume_offline.py rename to examples/rl/pause_resume/pause_resume_offline.py diff --git a/mkdocs.yaml b/mkdocs.yaml index 8c712257ee..c272e6a687 100644 --- a/mkdocs.yaml +++ b/mkdocs.yaml @@ -102,6 +102,8 @@ plugins: features/quantization/int8.md: features/quantization/llm_compressor/int8_w8a8.md serving/openai_compatible_server.md: serving/online_serving/README.md examples/others/lmcache.md: examples/disaggregated/lmcache.md + examples/features/batch_invariance.md: examples/rl/batch_invariance.md + examples/features/pause_resume.md: examples/rl/pause_resume.md markdown_extensions: - attr_list