Prhub

#2317 [ci] Clean up tests

原始 PR 作者 zhuzilin 合并时间 2026-08-24 15:45 文件变更 26 提交数 1 评论 0 代码增减 +147 / -3550

执行摘要

实现拆解

  1. 测试与验证
    - tests/test_deepgemm_moe_forward.py(deletion):测试配套;涉及符号 test_configures_batch_invariant_in_megatron_actor, test_batch_invariant_actor_configuration_fails_closed, _small_bf16, test_sorts_moe_chunks_into_preallocated_buffer;包含 测试覆盖调整、导入关系调整、控制流调整;+0/-2326;关键符号:test_configures_batch_invariant_in_megatron_actor, test_batch_invariant_actor_configuration_fails_closed, _small_bf16, test_sorts_moe_chunks_into_preallocated_buffer
    - tests/test_deepgemm_forward.py(deletion):测试配套;涉及符号 TELinear, init, forward, CountingTELinear;包含 测试覆盖调整、导入关系调整、控制流调整;+0/-741;关键符号:TELinear, init, forward, CountingTELinear
    - tests/test_qwen2.5_0.5B_async_short.py(deletion):测试配套;涉及符号 prepare, execute;包含 测试覆盖调整、导入关系调整、控制流调整;+0/-118;关键符号:prepare, execute

  2. 配置与运行环境
    - .github/workflows/pr-test.yml(infrastructure):部署/基础设施;包含 配置键调整;+36/-0

文件 模块 状态 重要度
tests/test_deepgemm_moe_forward.py deepgemm/moe/forward removed 8.14
tests/test_deepgemm_forward.py deepgemm/forward removed 8.14
tests/test_qwen2.5_0.5B_async_short.py qwen2.5/0.5B/async/short removed 7.13
tests/test_qwen2.5_0.5B_short.py qwen2.5/0.5B/short removed 7.13
tests/utils/test_mask_utils.py mask/utils removed 7.04

关键符号

test_configures_batch_invariant_in_megatron_actor test_batch_invariant_actor_configuration_fails_closed _small_bf16 test_sorts_moe_chunks_into_preallocated_buffer test_preallocated_combine_wrapper_avoids_original_allocation Dispatcher combine_preprocess test_combine_workspace_view_uses_caller_owned_bytes TELinear __init__

分析完成后,这里会展示 LLM 生成的相对完整源码片段和详细注释。

评论区精华

没有提炼出高价值讨论线程

当前评论区没有形成足够清晰的争议点或结论,后续有更多讨论时会体现在这里。

风险与影响

关联 Issue

未识别关联 Issue

当前没有检测到明确关联的 Issue 链接,后续同步到相关引用后会出现在这里。

完整报告

参与讨论