| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
[master][Fix] Fix static check errors detected by CODESPELL Co-authored-by: thickhair<zp2165064878@163.com> # message auto-generated for no-merge-commit merge: !38552 merge code_spell_fix_master into master [master][Fix] Fix static check errors detected by CODESPELL Created-by: thickhair Commit-by: thickhair Merged-by: ascend-robot Description: <!-- PR描述模板更新日期:20260203 --> # 【合入来源】 > <font color="red">**如有社区issue,请关联issue链接**</font>\ > <font color="red">**请勿携带内部流程信息(需求链接、问题单、内部issue等)**</font> - [ ] 需求 - [ ] 问题单 - [x] issue/工单 https://gitcode.com/Ascend/pytorch/issues/1865 - [ ] 重构优化 - [ ] 资料更新 # 【修改方案】 > 请描述修改内容的具体实现,涉及哪些组件之间进行交互,可以用1、2、3、...进行罗列\ > 如果是需求或者重构类的PR,需要补充详细设计文档(说明上下游组件关系、时序图、类图、DFX能力等内容) # 【资料变更】 > 请确认是否涉及资料变更。如涉及,需要在PR中体现,并简要说明修改内容。如不涉及,需填写“不涉及” # 【接口变更】 > 请确认是否涉及跨代码仓或者客户面可见的接口变更。如涉及,需要详细说明接口以及对应的变更内容,同时需要在资料中体现。如不涉及,需填写“不涉及” # 【功能验证】  # 【CheckList】 > PR提交人对以下CheckList自检项进行全量自检,自检通过或不涉及,均修改 [ ] 为 [x] - [x] 代码注释完备,正确记录错误日志 - [x] 代码实现进行了返回值、空指针等校验 - [x] PR标题正确使用类型标签,如:feat、fix、refactor、docs、test等 - [x] PR持续集成流水线(CI)执行通过,代码检查无异常 See merge request: Ascend/pytorch!38552 | 2 个月前 | |
ci: remove --torch=2.14.0 from build.sh invocation in all build workflows | 14 天前 | |
ci: remove --torch=2.14.0 from build.sh invocation in all build workflows | 14 天前 | |
ci: fix libstdc++ CXXABI_1.3.15 not found in new docker image Add export LD_LIBRARY_PATH=/opt/conda/envs/py_3.10/lib:$LD_LIBRARY_PATH before python import steps to ensure conda's newer libstdc++ is found before the system one. Applied to 4 steps across 3 workflows: - _build.yml: Verify NPU availability - _test-category.yml: Verify NPU environment, Run shard - _test-collect.yml: Collect and shard test cases | 6 天前 | |
| 2 年前 | ||
ci: fix libstdc++ CXXABI_1.3.15 not found in new docker image Add export LD_LIBRARY_PATH=/opt/conda/envs/py_3.10/lib:$LD_LIBRARY_PATH before python import steps to ensure conda's newer libstdc++ is found before the system one. Applied to 4 steps across 3 workflows: - _build.yml: Verify NPU availability - _test-category.yml: Verify NPU environment, Run shard - _test-collect.yml: Collect and shard test cases | 6 天前 | |
ci: replace per-category hardcoded jobs with dynamic matrix, inline classify+shard in exec | 18 天前 | |
ci: raise regular shard threshold from 20000 to 100000 cases | 2 小时前 | |
ci: reduce compare test timeout from 3600s to 900s | 15 天前 | |
ci: replace upstream Pool with self-managed per-file scheduler - Add npu_scheduler.py: ThreadPoolExecutor + DevicePool (acquire/release model, no wrap-around conflict), per-file run_test.py -i invocation, subprocess timeout (3600s), real-time progress output, sys.exit(1) on failure so CI step turns red - test-npu.sh: call npu_scheduler.py instead of single run_test.py; capture exit code via $?; add pytest-timeout plugin (600s/case) - npu_poisoning_plugin.py: remove fcntl device binding (moved to scheduler), pytest_configure now only logs visible devices, pytest_unconfigure no longer forces os._exit(70) - _test-exec-new.yml: switch to heredoc << 'PYEOF' to avoid bash quote-escaping issues with ${{ }} expressions | 19 天前 | |
ci: collect CANN logs per shard; add no-poison-plugin compare job | 15 天前 | |
ci: refactor v2 test pipeline to use upstream run_test.py - Replace self-built run_npu_test_file.py (857 lines) with upstream pytorch/test/run_test.py + test-npu.sh entry point (187 lines) - Remove _test-collect-new.yml: config job now runs on ubuntu-latest (no NPU needed), only reads shard counts from YAML - Add fcntl-based NPU device binding in npu_poisoning_plugin.py - Add generate_shard_jsonl.py: parse JUnit XML + run_test.py stderr into JSONL format (replaces parse_test_results.py) - Switch report format from JSON to JSONL throughout the pipeline - Fix distributed.devices_per_proc: 1 -> 8 (was breaking distributed tests) - Fix NUM_PROCS: now calculated as npu_count / devices_per_proc - Set cancel-in-progress: true to avoid queued run pileup - Restore upstream_ref to main (was pinned to a fixed SHA) - Remove push trigger from nightly.yml (avoid conflict with v2) - Add CANN log collection and failure diagnostics (npu-smi, dmesg) - Add generate_test_times.py for future shard optimization - Simplify report workflow: single artifact download + auto-discover - Net: -2488 lines, +428 lines (~80% reduction) | 20 天前 | |
fix: remove bash 'time' keyword causing exit code 127, guard empty report dir - test-npu.sh: remove 'time' before run_test.py (bash reserved word not recognized after VAR=value prefix assignment); run_test.py already outputs per-file timing via 'Finished ... took X.XXmin' - _test-report-new.yml: guard against missing all-test-reports dir when all shards fail and no artifacts are downloaded | 19 天前 | |
ci: replace per-category hardcoded jobs with dynamic matrix, inline classify+shard in exec | 18 天前 | |
ci: add disabled/running-skip testcase filtering for nightly workflow - Add disabled_testcases.json (9848 entries) and running_skiped_testcases.json (4004 entries) to .github/config/ - Modify collect_all_cases.py: - load_skip_list() returns Dict[str, Dict] instead of set, preserving per-nodeid metadata (reason, category, source filename) - Support new JSON format: {nodeid: {reason, category, ...}} - --skip-list changed to action='append' for multiple files - filter_skipped_cases() returns (filtered, skipped) tuple, recording skipped cases with nodeid, file, skip_reason, skip_category, skip_source - main() accumulates skipped cases and saves skipped_cases.json to output directory, included in cases-shards artifact - cases_collection_summary.json adds total_skipped field - Add extra_skip_lists input to _test.yml and _test-collect.yml (default empty, does not affect receive-trigger.yml) - nightly.yml passes extra_skip_lists with both config files and reverts upstream to pytorch/pytorch main - _test-report.yml copies skipped_cases.json from cases-shards artifact into npu-full-test-summary artifact - receive-trigger.yml unchanged; pr_skip_list.jsonl filtering now also recorded in skipped_cases.json automatically | 5 天前 | |
ci: pin cross-repo-ci-relay-callback to fb6a1fce (pre-external-file refactor) | 1 个月前 | |
ci: replace per-category hardcoded jobs with dynamic matrix, inline classify+shard in exec | 18 天前 | |
refactor: reuse skip_list param for multiple files instead of extra_skip_lists - Remove extra_skip_lists input from _test.yml and _test-collect.yml - skip_list now accepts newline-separated paths for multiple files - _test-collect.yml: single loop handles both single and multi-path cases - nightly.yml: use skip_list instead of extra_skip_lists - receive-trigger.yml: unchanged (single path still works) | 5 天前 | |
[master][Fix] Fix static check errors detected by CODESPELL Co-authored-by: thickhair<zp2165064878@163.com> # message auto-generated for no-merge-commit merge: !38552 merge code_spell_fix_master into master [master][Fix] Fix static check errors detected by CODESPELL Created-by: thickhair Commit-by: thickhair Merged-by: ascend-robot Description: <!-- PR描述模板更新日期:20260203 --> # 【合入来源】 > <font color="red">**如有社区issue,请关联issue链接**</font>\ > <font color="red">**请勿携带内部流程信息(需求链接、问题单、内部issue等)**</font> - [ ] 需求 - [ ] 问题单 - [x] issue/工单 https://gitcode.com/Ascend/pytorch/issues/1865 - [ ] 重构优化 - [ ] 资料更新 # 【修改方案】 > 请描述修改内容的具体实现,涉及哪些组件之间进行交互,可以用1、2、3、...进行罗列\ > 如果是需求或者重构类的PR,需要补充详细设计文档(说明上下游组件关系、时序图、类图、DFX能力等内容) # 【资料变更】 > 请确认是否涉及资料变更。如涉及,需要在PR中体现,并简要说明修改内容。如不涉及,需填写“不涉及” # 【接口变更】 > 请确认是否涉及跨代码仓或者客户面可见的接口变更。如涉及,需要详细说明接口以及对应的变更内容,同时需要在资料中体现。如不涉及,需填写“不涉及” # 【功能验证】  # 【CheckList】 > PR提交人对以下CheckList自检项进行全量自检,自检通过或不涉及,均修改 [ ] 为 [x] - [x] 代码注释完备,正确记录错误日志 - [x] 代码实现进行了返回值、空指针等校验 - [x] PR标题正确使用类型标签,如:feat、fix、refactor、docs、test等 - [x] PR持续集成流水线(CI)执行通过,代码检查无异常 See merge request: Ascend/pytorch!38552 | 2 个月前 | |
ci: refactor v2 test pipeline to use upstream run_test.py - Replace self-built run_npu_test_file.py (857 lines) with upstream pytorch/test/run_test.py + test-npu.sh entry point (187 lines) - Remove _test-collect-new.yml: config job now runs on ubuntu-latest (no NPU needed), only reads shard counts from YAML - Add fcntl-based NPU device binding in npu_poisoning_plugin.py - Add generate_shard_jsonl.py: parse JUnit XML + run_test.py stderr into JSONL format (replaces parse_test_results.py) - Switch report format from JSON to JSONL throughout the pipeline - Fix distributed.devices_per_proc: 1 -> 8 (was breaking distributed tests) - Fix NUM_PROCS: now calculated as npu_count / devices_per_proc - Set cancel-in-progress: true to avoid queued run pileup - Restore upstream_ref to main (was pinned to a fixed SHA) - Remove push trigger from nightly.yml (avoid conflict with v2) - Add CANN log collection and failure diagnostics (npu-smi, dmesg) - Add generate_test_times.py for future shard optimization - Simplify report workflow: single artifact download + auto-discover - Net: -2488 lines, +428 lines (~80% reduction) | 20 天前 | |
ci: collect CANN logs per shard; add no-poison-plugin compare job | 15 天前 | |
ci: trigger nightly via nightly.yml change | 27 分钟前 | |
| 2 年前 | ||
Merge remote-tracking branch 'origin/master' into ci-test | 1 个月前 | |
ci: add receive-trigger-push.yml for push event logging Mirror receive-trigger.yml structure for push events. Currently only extracts and prints push payload fields (ref, before, after, pusher, commits) without triggering build or test. | 1 天前 | |
ci: build and test on upstream ciflow/trunk tag creation events Consume push events for refs/tags/ciflow/trunk/<PR#> created by pytorch-bot: these mirror the upstream PR trunk gate, which checks out the tag target (the PR head commit). Build upstream_ref now points at that exact SHA instead of main; PR-merged path is unchanged. | 21 小时前 | |
ci: remove push trigger from test-build-trigger workflow | 1 个月前 | |
fix(ci): trigger 工作流适配精简后的 setup-npu-test-env Co-authored-by: wangsike<wangsike@huawei.com> # message auto-generated for no-merge-commit merge: !37147 merge master_fast_test_v2.7.1 into master fix(ci): trigger 工作流适配精简后的 setup-npu-test-env Created-by: kerer-sk Commit-by: wangsike Merged-by: ascend-robot Description: ## 变更说明 torch-npu-v2-7-1-upstream-test-trigger.yml 调用 _torch-npu-upstream-test.yml@v2.7.1,在 setup-npu-test-env 精简后(#2136),python_version 和 pytorch_version 在上游 workflow 中已有默认值,不再需要 caller 显式传入。 ## 变更内容 - 移除 workflow_dispatch 中不再需要的 python_version input - 移除 jobs.trigger_test.with 中的 python_version 和 pytorch_version 传参 - distributed_shards 默认值从 2 调整为 5,与 regular_shards 保持一致 ## 影响范围 1 file, +3/-10 ## 关联 Issue - Fixes https://gitcode.com/Ascend/pytorch/issues/2170 - 依赖 [#2136](https://gitcode.com/Ascend/pytorch/issues/2136) ## 测试计划 - [ ] workflow_dispatch 触发后参数正确传递 - [ ] distributed_shards 默认值 5 生效 See merge request: Ascend/pytorch!37147 | 2 个月前 |
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
| 2 个月前 | ||
| 14 天前 | ||
| 14 天前 | ||
| 6 天前 | ||
| 2 年前 | ||
| 6 天前 | ||
| 18 天前 | ||
| 2 小时前 | ||
| 15 天前 | ||
| 19 天前 | ||
| 15 天前 | ||
| 20 天前 | ||
| 19 天前 | ||
| 18 天前 | ||
| 5 天前 | ||
| 1 个月前 | ||
| 18 天前 | ||
| 5 天前 | ||
| 2 个月前 | ||
| 20 天前 | ||
| 15 天前 | ||
| 27 分钟前 | ||
| 2 年前 | ||
| 1 个月前 | ||
| 1 天前 | ||
| 21 小时前 | ||
| 1 个月前 | ||
| 2 个月前 |