| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
[Test]Standardize test infrastructure and fix lint compliance across test suite Co-authored-by: changetheway<guotaoyuan1@h-partners.com> # message auto-generated for no-merge-commit merge: !340 merge test_correct_0608 into dev [Test]Standardize test infrastructure and fix lint compliance across test suite Created-by: changetheway Commit-by: changetheway Merged-by: ascend-robot Description: # Which issue(s) this PR fixes or accomplishes > Fix part of #179 # Purpose 1. **统一测试基础设施** - 新增 tests/conftest.py,通过 pytest 内置机制配置 sys.path 和 ASCEND_CUSTOM_OPP_PATH,替代各测试文件中散落的 sys.path.append / sys.path.insert - 同时将各测试文件中散落的 sys.path.append / sys.path.insert和 ASCEND_CUSTOM_OPP_PATH添加到run.py中和run_test.sh中 - 新增 tests/utils/utils/torch_npu_mock.py,抽取统一的 mock_torch_npu() 工具函数,替代 tests/run.py 和 tests/UT/run.py 中重复的内联 mock 逻辑 2. **修复 lint 合规性** - 移除所有测试文件中手动的 sys.path 操作(由 conftest.py 统一接管) - 添加 # pylint: disable=no-name-in-module 消除 NPU 模块 import 告警 - 统一 @unittest.skipIf 装饰器为多行格式 - 修复 import 排序、去除多余空行和尾逗号 3. **Pre-commit 配置对齐** - pre-commit/pyproject.toml:pylint disable 列表新增 duplicate-code ## 运行测试 ### 全量测试 ** 使用 run_test.sh(推荐,含覆盖率报告)** bash cd tests # 运行全量测试(含覆盖率报告) bash run_test.sh # 仅运行 CPU 兼容测试(无需 NPU 环境) bash run_test.sh --cpu_only # 仅运行 NPU 依赖测试 bash run_test.sh --npu_only ### 执行单个测试用例 方式一:使用 run_test.sh 指定文件 bash cd tests # 运行单个测试文件 bash run_test.sh quantization/test_layer.py # 运行多个测试文件 bash run_test.sh layers/test_embedding.py quantization/test_mode.py # CPU 模式下运行单个文件 bash run_test.sh --cpu_only quantization/test_mode.py 方式二:使用 pytest 方式 bash # pytest 方式(支持更多过滤选项) python -m pytest tests/quantization/test_layer.py -v # Test Plan 1. CPU 模式验证:MINDIE_TEST_MODE=CPU python -m pytest tests/ -k "not NPU",确认 mock 机制正确加载 2. Lint 检查:pre-commit run --all-files,确认新增 disable 项生效且无新增告警 3. 构建验证:在 CANN 8.x 环境执行 bash build/build_ops.sh,确认 customize_transformer 目录自动创建 4. NPU 模式回归:python tests/run.py,确认全量测试无回归 # Test Report 全量UT测试:  See merge request: Ascend/MindIE-SD!340 | 1 个月前 | |
[Test]Standardize test infrastructure and fix lint compliance across test suite Co-authored-by: changetheway<guotaoyuan1@h-partners.com> # message auto-generated for no-merge-commit merge: !340 merge test_correct_0608 into dev [Test]Standardize test infrastructure and fix lint compliance across test suite Created-by: changetheway Commit-by: changetheway Merged-by: ascend-robot Description: # Which issue(s) this PR fixes or accomplishes > Fix part of #179 # Purpose 1. **统一测试基础设施** - 新增 tests/conftest.py,通过 pytest 内置机制配置 sys.path 和 ASCEND_CUSTOM_OPP_PATH,替代各测试文件中散落的 sys.path.append / sys.path.insert - 同时将各测试文件中散落的 sys.path.append / sys.path.insert和 ASCEND_CUSTOM_OPP_PATH添加到run.py中和run_test.sh中 - 新增 tests/utils/utils/torch_npu_mock.py,抽取统一的 mock_torch_npu() 工具函数,替代 tests/run.py 和 tests/UT/run.py 中重复的内联 mock 逻辑 2. **修复 lint 合规性** - 移除所有测试文件中手动的 sys.path 操作(由 conftest.py 统一接管) - 添加 # pylint: disable=no-name-in-module 消除 NPU 模块 import 告警 - 统一 @unittest.skipIf 装饰器为多行格式 - 修复 import 排序、去除多余空行和尾逗号 3. **Pre-commit 配置对齐** - pre-commit/pyproject.toml:pylint disable 列表新增 duplicate-code ## 运行测试 ### 全量测试 ** 使用 run_test.sh(推荐,含覆盖率报告)** bash cd tests # 运行全量测试(含覆盖率报告) bash run_test.sh # 仅运行 CPU 兼容测试(无需 NPU 环境) bash run_test.sh --cpu_only # 仅运行 NPU 依赖测试 bash run_test.sh --npu_only ### 执行单个测试用例 方式一:使用 run_test.sh 指定文件 bash cd tests # 运行单个测试文件 bash run_test.sh quantization/test_layer.py # 运行多个测试文件 bash run_test.sh layers/test_embedding.py quantization/test_mode.py # CPU 模式下运行单个文件 bash run_test.sh --cpu_only quantization/test_mode.py 方式二:使用 pytest 方式 bash # pytest 方式(支持更多过滤选项) python -m pytest tests/quantization/test_layer.py -v # Test Plan 1. CPU 模式验证:MINDIE_TEST_MODE=CPU python -m pytest tests/ -k "not NPU",确认 mock 机制正确加载 2. Lint 检查:pre-commit run --all-files,确认新增 disable 项生效且无新增告警 3. 构建验证:在 CANN 8.x 环境执行 bash build/build_ops.sh,确认 customize_transformer 目录自动创建 4. NPU 模式回归:python tests/run.py,确认全量测试无回归 # Test Report 全量UT测试:  See merge request: Ascend/MindIE-SD!340 | 1 个月前 | |
test: align ut expectations with current quant behavior Co-authored-by: guowenna1<guowenna1@huawei.com> # message auto-generated for no-merge-commit merge: !373 merge dev into dev test: align ut expectations with current quant behavior Created-by: weixin_44144262 Commit-by: guowenna1 Merged-by: ascend-robot Description: # Purpose 修改在A2上部分用例执行失败的情况 # Test Plan 运行全量ut # Test Report  See merge request: Ascend/MindIE-SD!373 | 1 个月前 | |
[Bugfix][eplb]Enhance EPLB fault logs and fault mode library Co-authored-by: guowenna1<guowenna1@huawei.com> # message auto-generated for no-merge-commit merge: !402 merge 0701_fix into dev [Bugfix][eplb]Enhance EPLB fault logs and fault mode library Created-by: guowenna1 Commit-by: guowenna1 Merged-by: ascend-robot Description: # PR Title [Bugfix][eplb]Enhance EPLB fault logs and fault mode library # Which issue(s) this PR fixes or accomplishes Fixes #ISSUE ID # Purpose 本 PR 用于完善 EPLB 故障模式库与运行时日志,满足故障定位工具暂不具备执行指令能力时,用户仅依赖日志内容也能完成定位排查的要求。 主要修改如下: 1. 完善 EPLB 运行时日志中的定位排查信息: - Scheduler 端口绑定失败日志补充端口占用、 --host、--port 排查路径。 - Worker 连接 Scheduler 失败日志补充 actual_error、进程状态、端口监听、worker/scheduler 地址一致性、网络连通性排查路径。 - 认证失败日志补充 scheduler --auth_key、worker auth_key、EPLB_AUTH_KEY 对比方法。 - profile 任务入队失败日志补充 scheduler/worker 消费线程、队列积压、lb_interval 和队列容量排查方法。 - scheduler 处理上报失败日志补充 moe_layer_idx、load、local_expert_list、block_num、world_size、mode/redundant 排查方法。 - 布局未更新日志补充 layer_idx、rank 上报完整性、block_num、负载变化和 EPLB 阈值排查方法。 - 未知指令日志补充 instruction producer、TaskPayload.task_type、TASK_DISPATCHER 排查方法。 2. 同步完善中英文 EPLB 故障模式库: - docs/zh/appendix/eplb_fault_mode_library.csv - docs/en/appendix/eplb_fault_mode_library.csv - 将 故障关键日志 从短关键字改为完整日志模板。 - 动态字段使用 {...} 占位。 - 日志内容不包含 EPLB 故障模式编号。 - 故障定位方法与运行时日志中的排查思路保持一致。 3. 补充 EPLB 未知 TaskType 的 ERROR 日志: - 非 TaskPayload 指令输出 Unknown instruction ignored。 - 非法 TaskPayload.task_type 输出 Unknown task type。 - 保持原有异常行为不变,未知任务类型仍抛出 ParametersInvalid。 # Test Plan 测试内容如下: 1. 故障模式库结构校验: - 验证 EPLB 故障模式库 schema。 - 验证故障模式库仅作为文档引用,不进入包发布数据。 - 验证故障模式库只包含 EPLB 故障模式。 2. EPLB 故障模式日志校验: - 验证 scheduler 未运行 / worker 连接失败日志。 - 验证 scheduler 端口不可用日志。 - 验证认证密钥不一致日志。 - 验证 profile 任务入队失败日志。 - 验证 scheduler 处理上报失败异常。 - 验证专家初始放置失败、共享专家放置失败、专家交换状态不一致、布局未更新、未知任务指令等场景。 3. 提交前静态检查: - 对本次修改文件执行 pre-commit run --files。 - 参考 MR 规则表中 Python 相关规则,重点关注日志工具使用、异常处理、导入顺序、格式与行宽等静态检查要求。 # Test Report 已执行并通过: ```shell python -m unittest tests/test_fault_modes.py -v See merge request: Ascend/MindIE-SD!402 | 29 天前 | |
[Feature][ops]Add frequency regulator operator Co-authored-by: w00955629<wangruonan14@huawei.com> # message auto-generated for no-merge-commit merge: !395 merge feature/frequency-optimization-op into dev [Feature][ops]Add frequency regulator operator Created-by: w00955629 Commit-by: w00955629 Merged-by: ascend-robot Description: # Which issue(s) this PR fixes or accomplishes # Purpose Add MindIE-SD plugin support for the CANN frequency optimization operator. This change adds: - C++ wrapper and registration for the two-stage aclnn operator flow. - BackendSelect registration for scalar-only dispatch. - Python API export from mindiesd. - Lightweight wrapper tests for parameter validation and torch op forwarding. - Incremental test mapping for the new plugin files. # Test Plan - Build MindIE-SD from source with the CANN package that contains the operator. - Install with editable mode. - Verify Python import and torch op registration. - Run a smoke test on supported hardware and confirm the operator returns success status. - Run wrapper unit tests for Python-side parameter validation. # Test Report - git diff --check: passed. - Python py_compile for modified Python files: passed. - GitCode remote hook: passed. - Source build and runtime smoke test on target environment: passed by local validation. See merge request: Ascend/MindIE-SD!395 | 24 天前 | |
[Feature][ops]Add mul_add fused operator support Co-authored-by: wangwei<daviwang2026@qq.com> # message auto-generated for no-merge-commit merge: !481 merge feature/mul_add_ops_dev into dev [Feature][ops]Add mul_add fused operator support Created-by: daviwang Commit-by: wangwei Merged-by: ascend-robot Description: # Purpose 新增 mul_add 融合算子,支持在昇腾 NPU 上执行融合乘加计算: - 算子接口:mindiesd::mul_add(a, b, c) -> y - 计算公式:y = a + b * c - 输入 shape:a/b = [batch, seq_len, hidden_size],c = [batch, 1, hidden_size] - 支持数据类型:FP16、BF16 - 支持计算平台:ascend910b、ascend910_93、ascend950 主要变更: 1. 在 csrc/ops/mul_add/ 下新增算子定义(OpDef)、shape/dtype 推导(proto)、tiling 计算及 AscendC kernel 实现。 2. 在 csrc/plugin/ 下新增 mul_add PTA plugin,并在 register_ops.cpp 中注册到 mindiesd torch 库。 3. 更新 csrc/CMakeLists.txt,将 mul_add.cpp 加入 PTAExtensionOPS 编译。 4. 更新 build/build_ops.sh 默认算子列表,确保默认构建包含 mul_add。 5. 在 tests/ops/mul_add/ 下新增单元测试,覆盖基础 shape、典型 LLM shape、小 shape 边界及 FP16 精度场景。 # Test Plan > 设计了哪些测试内容,指导他人如何对你的PR进行测试\ > Apply information to show others your test design and how to test your Pull Request 1. 编译 AscendC 算子: bash cd build bash build_ops.sh 2. 编译 PTA plugin: bash cd build bash build_plugin.sh 3. 运行 mul_add 单元测试(需在 NPU 环境): bash cd tests/ops/mul_add python test_mul_add.py 4. 可选:通过环境变量指定 NPU 卡号: ``bash MINDIESD_TEST_NPU_ID=7 python test_mul_add.py # Test Report • 测试覆盖: • 基础小 shape:(1, 4, 128) • 典型 LLM shape:(1, 7200, 4608)、(1, 256, 4608)、(1, 7200, 3072)、(1, 256, 3072) • 多组小 shape 边界:(1, 1, 64) ~ (1, 64, 1024) • FP16 精度:(1, 256, 3072) • 参考实现:ref = a.float() + b.float() * c.float() • 精度阈值:rtol=1e-2, atol=1e-2 - 运行环境:CANN 9.1.T560, Ascend950PR NPU, Python 3.11, aarch64 - 所有新增测试用例均通过: - test_mul_add_basic PASSED - test_mul_add_typical PASSED - test_mul_add_small_shapes PASSED - test_mul_add_fp16` PASSED - 最大误差:BF16 < 1e-2,FP16 < 1e-2 See merge request: Ascend/MindIE-SD!481 | 2 天前 | |
[Bugfix][SLA]Fallback to BlockSparseAttention V1 when V2 aclnn is unavailable Co-authored-by: yujunyu2<yujunyu3@huawei.com> # message auto-generated for no-merge-commit merge: !403 merge dev into dev [Bugfix][SLA]Fallback to BlockSparseAttention V1 when V2 aclnn is unavailable Created-by: yjy_ac Commit-by: yujunyu2 Merged-by: ascend-robot Description: # Which issue(s) this PR fixes or accomplishes Fixes #199 关联 Issue:https://gitcode.com/Ascend/MindIE-SD/issues/199 # Purpose 修复 BSA PyTorch 插件在**仅含 V1 aclnn 符号的老版本 CANN** 上无法运行的问题。 部分 CANN 环境(如 CANN 9.0.0)的 libopapi.so 只交付 aclnnBlockSparseAttention(V1),不包含 aclnnBlockSparseAttentionV2。若插件硬绑 V2,运行期会在 dlsym 阶段直接失败,导致 SLA 等依赖 block_sparse_attention 的推理路径完全不可用。 **本 PR 改动:** | 模块 | 文件 | 说明 | |------|------|------| | PyTorch 插件 | csrc/plugin/block_sparse_attention.cpp | 运行时通过 GetOpApiFuncAddr 探测 aclnnBlockSparseAttentionV2 是否存在于 libopapi.so;存在则走 V2(支持 BF16/FP16/FP8),不存在则回退 aclnnBlockSparseAttention(V1,仅 BF16/FP16) | | 单元测试 | tests/plugin/test_rf_v3_attention.py | 增加 _is_bsa_v2_available() 探测;老 CANN 无 V2 时自动 skip FP8 用例,避免误报失败 | **行为说明:** - V2 可用:优先调用 aclnnBlockSparseAttentionV2,保持 FP8 等新特性路径 - V2 不可用、V1 可用:回退 V1,BF16/FP16 输入可正常推理 - V2 不可用且输入为 FP8:显式 TORCH_CHECK 报错,提示需升级 CANN 或改用 BF16/FP16 # Test Plan 1. **编译验证** - 编译 PyTorch 插件(build/build_plugin.sh 或 python setup.py bdist_wheel) - 确认 libPTAExtensionOPS.so 正常生成 2. **老 CANN(仅 V1 BSA)环境验证** - 确认 libopapi.so 无 V2 符号: nm -D $ASCEND_HOME_PATH/aarch64-linux/lib64/libopapi.so | grep -E 'aclnnBlockSparseAttention(V2)?(GetWorkspaceSize)?$' - 运行 SLA 层测试: python3 -m pytest tests/layers/flash_attn/test_sparse_linear_attn.py -v - 运行 RF-V3 attention 插件测试(无 V2 时 FP8 用例应被 skip,不应出现 not in libopapi.so 失败): python3 -m pytest tests/plugin/test_rf_v3_attention.py -v 3. **新 CANN(含 V2 BSA)回归(可选)** - 同上两条 pytest,确认 V2 路径与 FP8 用例仍正常 # Test Report **测试环境:** CANN 9.0.0(libopapi.so 仅含 V1 BSA 符号),Ascend 950 NPU,Python 3.11.15,pytest 8.3.2,aarch64 | 测试项 | 命令 | 结果 | |--------|------|------| | SLA SparseLinearAttention 层测试 | pytest tests/layers/flash_attn/test_sparse_linear_attn.py | ✅ 35 passed in 33.93s | | RF-V3 BSA 插件测试(老 CANN 无 V2) | pytest tests/plugin/test_rf_v3_attention.py | ✅ 9 skipped in 9.73s(无 failed/error;FP8 相关用例在无 V2 环境下 skip) | **SLA 测试通过截图(V1 回退路径,35 passed):**  **RF-V3 测试截图(老 CANN 无 V2,FP8 用例 skip):**  See merge request: Ascend/MindIE-SD!403 | 23 天前 | |
[Bugfix] Resolve 4 UT errors under torch 2.10 environment Co-authored-by: changetheway<guotaoyuan1@h-partners.com> # message auto-generated for no-merge-commit merge: !456 merge hitest_0716 into dev [Bugfix] Resolve 4 UT errors under torch 2.10 environment Created-by: changetheway Commit-by: changetheway Merged-by: ascend-robot Description: # Which issue(s) this PR fixes or accomplishes Fixes #<229> # Purpose 修复 torch 2.10.x 环境下全量 UT 的 4 个 error(Ran 590 tests ... FAILED errors=4)。 1. mindiesd/layers/register_ops.py:114 将 torch.__version__.startswith("2.1") 改为 _get_torch_major_minor(torch.__version__) == "2.1"。 原写法在 torch 2.10 下因 "2.10".startswith("2.1") 为 True 而误走 2.1 分支, _native_register_fake 未定义,导致 test_compatible_register_fake_{decorator,wrapper} patch 失败。 复用同文件已有的 _get_torch_major_minor(与 SUPPORTED_TORCH_PLUGIN_VARIANTS["2.10"] 解析一致)。 2. tests/quantization/test_quantize.py:404/426 dtype 由 torch.float32 改为 torch.bfloat16,对齐 QuantConfig 仅允许 fp16/bf16 的约束 (config.py:138-139),与同文件 line 380 既有写法一致。 修复 test_online_quantize_with_mm_and_fa、test_online_quantize_fa_layers_no_match。 # Test Plan - 定向回归:bash run_test.sh layers/test_register_ops.py quantization/test_quantize.py - 全量回归(可选):bash run_test.sh,确认 errors=0 - 建议在 torch 2.1.x 与 torch 2.10.x 各跑一次,验证版本分支选择正确 - 提交前:pre-commit run --all-files(本 PR 仅改 .py,无 .md,无需 markdownlint) # Test Report 环境:torch 2.10.x / python 3.12.13 / CANN 9.0.0 定向回归(修复后): - layers/test_register_ops.py:Ran 6 tests in 0.008s — OK(修复前 2 errors) - quantization/test_quantize.py:Ran 43 tests in 0.214s — OK (skipped=1)(修复前 2 errors) See merge request: Ascend/MindIE-SD!456 | 14 天前 | |
【docs】文档修改-增加API参考&加速API Co-authored-by: xiao-qing123<xiaoqing14@h-partners.com> # message auto-generated for no-merge-commit merge: !263 merge dev into dev 【docs】文档修改-增加API参考&加速API Created-by: xiao-qing123 Commit-by: xiao-qing123 Merged-by: ascend-robot Description: fixes [#86](https://gitcode.com/Ascend/MindIE-SD/issues/86) 1、新增API参考(社区API接口) 2、新增加速API(原社区layer层) 3、删除readme中的快速入门和单多卡并行示例内容(有单独的quick_start承载) 4、算子融合单独拆分出来,在特性章节独立存在 5、删除特性章节目录名称中的“加速特性” 6、黄区大模型检测问题修改 See merge request: Ascend/MindIE-SD!263 | 3 个月前 | |
[Test]Standardize test infrastructure and fix lint compliance across test suite Co-authored-by: changetheway<guotaoyuan1@h-partners.com> # message auto-generated for no-merge-commit merge: !340 merge test_correct_0608 into dev [Test]Standardize test infrastructure and fix lint compliance across test suite Created-by: changetheway Commit-by: changetheway Merged-by: ascend-robot Description: # Which issue(s) this PR fixes or accomplishes > Fix part of #179 # Purpose 1. **统一测试基础设施** - 新增 tests/conftest.py,通过 pytest 内置机制配置 sys.path 和 ASCEND_CUSTOM_OPP_PATH,替代各测试文件中散落的 sys.path.append / sys.path.insert - 同时将各测试文件中散落的 sys.path.append / sys.path.insert和 ASCEND_CUSTOM_OPP_PATH添加到run.py中和run_test.sh中 - 新增 tests/utils/utils/torch_npu_mock.py,抽取统一的 mock_torch_npu() 工具函数,替代 tests/run.py 和 tests/UT/run.py 中重复的内联 mock 逻辑 2. **修复 lint 合规性** - 移除所有测试文件中手动的 sys.path 操作(由 conftest.py 统一接管) - 添加 # pylint: disable=no-name-in-module 消除 NPU 模块 import 告警 - 统一 @unittest.skipIf 装饰器为多行格式 - 修复 import 排序、去除多余空行和尾逗号 3. **Pre-commit 配置对齐** - pre-commit/pyproject.toml:pylint disable 列表新增 duplicate-code ## 运行测试 ### 全量测试 ** 使用 run_test.sh(推荐,含覆盖率报告)** bash cd tests # 运行全量测试(含覆盖率报告) bash run_test.sh # 仅运行 CPU 兼容测试(无需 NPU 环境) bash run_test.sh --cpu_only # 仅运行 NPU 依赖测试 bash run_test.sh --npu_only ### 执行单个测试用例 方式一:使用 run_test.sh 指定文件 bash cd tests # 运行单个测试文件 bash run_test.sh quantization/test_layer.py # 运行多个测试文件 bash run_test.sh layers/test_embedding.py quantization/test_mode.py # CPU 模式下运行单个文件 bash run_test.sh --cpu_only quantization/test_mode.py 方式二:使用 pytest 方式 bash # pytest 方式(支持更多过滤选项) python -m pytest tests/quantization/test_layer.py -v # Test Plan 1. CPU 模式验证:MINDIE_TEST_MODE=CPU python -m pytest tests/ -k "not NPU",确认 mock 机制正确加载 2. Lint 检查:pre-commit run --all-files,确认新增 disable 项生效且无新增告警 3. 构建验证:在 CANN 8.x 环境执行 bash build/build_ops.sh,确认 customize_transformer 目录自动创建 4. NPU 模式回归:python tests/run.py,确认全量测试无回归 # Test Report 全量UT测试:  See merge request: Ascend/MindIE-SD!340 | 1 个月前 | |
[bugfix]解决测试用例导包失败的问题 Co-authored-by: mazhixin00_00<mazhixin7@huawei.com> # message auto-generated for no-merge-commit merge: !199 merge init into dev [bugfix]解决测试用例导包失败的问题 Created-by: mazhixin00_00 Commit-by: mazhixin00_00 Merged-by: ascend-robot Description: <!-- PR描述模板更新日期:20251224 --> # Which issue(s) this PR fixes or accomplishes 有些环境,跑测试用例导包失败的问题  # Test Plan 全量测试 # Test Report  See merge request: Ascend/MindIE-SD!199 | 4 个月前 | |
[Test]Standardize test infrastructure and fix lint compliance across test suite Co-authored-by: changetheway<guotaoyuan1@h-partners.com> # message auto-generated for no-merge-commit merge: !340 merge test_correct_0608 into dev [Test]Standardize test infrastructure and fix lint compliance across test suite Created-by: changetheway Commit-by: changetheway Merged-by: ascend-robot Description: # Which issue(s) this PR fixes or accomplishes > Fix part of #179 # Purpose 1. **统一测试基础设施** - 新增 tests/conftest.py,通过 pytest 内置机制配置 sys.path 和 ASCEND_CUSTOM_OPP_PATH,替代各测试文件中散落的 sys.path.append / sys.path.insert - 同时将各测试文件中散落的 sys.path.append / sys.path.insert和 ASCEND_CUSTOM_OPP_PATH添加到run.py中和run_test.sh中 - 新增 tests/utils/utils/torch_npu_mock.py,抽取统一的 mock_torch_npu() 工具函数,替代 tests/run.py 和 tests/UT/run.py 中重复的内联 mock 逻辑 2. **修复 lint 合规性** - 移除所有测试文件中手动的 sys.path 操作(由 conftest.py 统一接管) - 添加 # pylint: disable=no-name-in-module 消除 NPU 模块 import 告警 - 统一 @unittest.skipIf 装饰器为多行格式 - 修复 import 排序、去除多余空行和尾逗号 3. **Pre-commit 配置对齐** - pre-commit/pyproject.toml:pylint disable 列表新增 duplicate-code ## 运行测试 ### 全量测试 ** 使用 run_test.sh(推荐,含覆盖率报告)** bash cd tests # 运行全量测试(含覆盖率报告) bash run_test.sh # 仅运行 CPU 兼容测试(无需 NPU 环境) bash run_test.sh --cpu_only # 仅运行 NPU 依赖测试 bash run_test.sh --npu_only ### 执行单个测试用例 方式一:使用 run_test.sh 指定文件 bash cd tests # 运行单个测试文件 bash run_test.sh quantization/test_layer.py # 运行多个测试文件 bash run_test.sh layers/test_embedding.py quantization/test_mode.py # CPU 模式下运行单个文件 bash run_test.sh --cpu_only quantization/test_mode.py 方式二:使用 pytest 方式 bash # pytest 方式(支持更多过滤选项) python -m pytest tests/quantization/test_layer.py -v # Test Plan 1. CPU 模式验证:MINDIE_TEST_MODE=CPU python -m pytest tests/ -k "not NPU",确认 mock 机制正确加载 2. Lint 检查:pre-commit run --all-files,确认新增 disable 项生效且无新增告警 3. 构建验证:在 CANN 8.x 环境执行 bash build/build_ops.sh,确认 customize_transformer 目录自动创建 4. NPU 模式回归:python tests/run.py,确认全量测试无回归 # Test Report 全量UT测试:  See merge request: Ascend/MindIE-SD!340 | 1 个月前 | |
[dev]同步最新代码 Co-authored-by: mazhixin00_00<mazhixin7@huawei.com> | 7 个月前 | |
[Feature][ops]Add frequency regulator operator Co-authored-by: w00955629<wangruonan14@huawei.com> # message auto-generated for no-merge-commit merge: !395 merge feature/frequency-optimization-op into dev [Feature][ops]Add frequency regulator operator Created-by: w00955629 Commit-by: w00955629 Merged-by: ascend-robot Description: # Which issue(s) this PR fixes or accomplishes # Purpose Add MindIE-SD plugin support for the CANN frequency optimization operator. This change adds: - C++ wrapper and registration for the two-stage aclnn operator flow. - BackendSelect registration for scalar-only dispatch. - Python API export from mindiesd. - Lightweight wrapper tests for parameter validation and torch op forwarding. - Incremental test mapping for the new plugin files. # Test Plan - Build MindIE-SD from source with the CANN package that contains the operator. - Install with editable mode. - Verify Python import and torch op registration. - Run a smoke test on supported hardware and confirm the operator returns success status. - Run wrapper unit tests for Python-side parameter validation. # Test Report - git diff --check: passed. - Python py_compile for modified Python files: passed. - GitCode remote hook: passed. - Source build and runtime smoke test on target environment: passed by local validation. See merge request: Ascend/MindIE-SD!395 | 24 天前 | |
[UT] 接入精准测试 Co-authored-by: changetheway<guotaoyuan1@h-partners.com> # message auto-generated for no-merge-commit merge: !460 merge hitest_0717 into dev [UT] 接入精准测试 Created-by: changetheway Commit-by: changetheway Merged-by: ascend-robot Description: <!-- PR描述模板更新日期:20251224 --> # Which issue(s) this PR fixes or accomplishes > Fixes #234 # Purpose 为单元测试框架接入「精准测试」能力,并修正测试结果向 CI 的传递路径,使 CI 能够真实反映测试成败。 **主要改动( tests/run.py、tests/run_test.sh)** - **新增精准测试入口**:run.py 新增 load_tests_from_names,按 | 分隔的测试用例文件名(不含 .py)进行精确 basename 匹配,跳过 UT/ 目录,加载命中的用例;主入口引入 argparse,支持三种模式——精准匹配(--precision_test NAMES)、单文件(位置参数 test_file)、默认全量加载。 - **run_test.sh 新增 --precision_test <NAMES>**:解析后直接调用 run.py --precision_test,跳过覆盖率分析,用于 PR 流水线只运行与变更相关的用例。 - **默认全量覆盖率改为逐文件独立收集**:每个 test_*.py 独立设置 COVERAGE_FILE 运行,再 coverage combine --keep 合并,支持更细粒度的覆盖率数据管理;日志由覆盖(tee)改为追加(tee -a)。 - **CI 正确性修复(针对代码检视意见 #6/#7/#8/#9)**: - run.py:runner.run() 结果驱动退出码 sys.exit(0 if result.wasSuccessful() else 1),测试失败能传到调用方(原实现恒返回 0)。 - run.py:import_module 增加 try/except,匹配文件存在语法错误/缺依赖等导入异常时输出告警并跳过,避免单文件异常导致整跑崩溃。 - run.py:指定名称全部无匹配时 sys.exit(1),避免 CI 对测试名配置错误(拼写等)静默通过;部分无匹配仍仅告警。 - run.py:移除未使用的 importlib.util 导入。 - run_test.sh:精准测试模式移除硬编码 exit 0,改用 ${PIPESTATUS[0]} 捕获并传播 run.py 真实退出码。 - run_test.sh:默认覆盖率循环使用 rc 累计失败退出码并最终 exit ${rc},与「指定文件模式」的失败追踪机制保持一致,不再被 || true 掩盖。 # Test Plan > 设计了哪些测试内容,指导他人如何对你的PR进行测试\ > Apply information to show others your test design and how to test your Pull Request - **精准匹配模式**:bash tests/run_test.sh --precision_test test_aaa|test_bbb,仅运行文件名恰好匹配的用例,不做覆盖率分析。 - **单文件模式**:bash tests/run_test.sh layers/test_embedding.py。 - **默认全量模式**:bash tests/run_test.sh,遍历运行所有 test_*.py(排除 UT/),逐文件收集覆盖率并合并出报告。 - **失败传递验证**:构造一个失败用例,确认 run.py 与 run_test.sh 均以非零退出码退出(CI 可感知);输入不存在的精准测试名(全部无匹配)应非零退出;匹配到但无法导入的文件应告警跳过而非整跑崩溃。 - **门禁检查**:pre-commit run --files tests/run.py tests/run_test.sh。 # Test Report - **本地校验**:python -m py_compile tests/run.py 与 bash -n tests/run_test.sh 语法检查通过;PIPESTATUS 退出码传播逻辑经模拟验证(失败→退出 1,成功→退出 0)。 - **pre-commit 门禁**:对 tests/run.py、tests/run_test.sh 运行 pre-commit run --files,trailing-whitespace / end-of-file / ruff check / ruff format / codespell / pylint / bandit / typos 均 Passed。 - **CI 流水线 PR-pipeline_MindIE-SD_gitcode#1632(commit e3ebb9f5)全部通过**:Build_linux_x86_abi1 / arm_abi1 / arm_abi0 ✅、Antipoison ✅、SCA ✅、UT_linux_arm ✅、流水线总览 ✅。 - 备注:早先 #1631 失败仅因本分支早于合入 pre-commit/.gitleaks.toml 的 dev 提交、导致 gitleaks 配置缺失;已通过同步最新 dev 解决,与测试脚本逻辑无关。 See merge request: Ascend/MindIE-SD!460 | 7 天前 | |
[CI][build]Adopt PEP 517 build flow and refresh UT coverage Co-authored-by: weixin_44144262<lijinxi2@huawei.com> # message auto-generated for no-merge-commit merge: !247 merge dev into dev [CI][build]Adopt PEP 517 build flow and refresh UT coverage Created-by: weixin_44144262 Commit-by: weixin_44144262 Merged-by: ascend-robot Description: # Which issue(s) this PR fixes or accomplishes > Fix part of #72 # Purpose Adopt PEP 517 build flow and refresh UT coverage # Test Plan CI同步修改构建入口和覆盖率拦截,需要通过CIE配置自定义流水线验证 https://gitcode.com/Ascend/MindIE-CI/pull/62 # Test Report   See merge request: Ascend/MindIE-SD!247 | 3 个月前 | |
[Test]Standardize test infrastructure and fix lint compliance across test suite Co-authored-by: changetheway<guotaoyuan1@h-partners.com> # message auto-generated for no-merge-commit merge: !340 merge test_correct_0608 into dev [Test]Standardize test infrastructure and fix lint compliance across test suite Created-by: changetheway Commit-by: changetheway Merged-by: ascend-robot Description: # Which issue(s) this PR fixes or accomplishes > Fix part of #179 # Purpose 1. **统一测试基础设施** - 新增 tests/conftest.py,通过 pytest 内置机制配置 sys.path 和 ASCEND_CUSTOM_OPP_PATH,替代各测试文件中散落的 sys.path.append / sys.path.insert - 同时将各测试文件中散落的 sys.path.append / sys.path.insert和 ASCEND_CUSTOM_OPP_PATH添加到run.py中和run_test.sh中 - 新增 tests/utils/utils/torch_npu_mock.py,抽取统一的 mock_torch_npu() 工具函数,替代 tests/run.py 和 tests/UT/run.py 中重复的内联 mock 逻辑 2. **修复 lint 合规性** - 移除所有测试文件中手动的 sys.path 操作(由 conftest.py 统一接管) - 添加 # pylint: disable=no-name-in-module 消除 NPU 模块 import 告警 - 统一 @unittest.skipIf 装饰器为多行格式 - 修复 import 排序、去除多余空行和尾逗号 3. **Pre-commit 配置对齐** - pre-commit/pyproject.toml:pylint disable 列表新增 duplicate-code ## 运行测试 ### 全量测试 ** 使用 run_test.sh(推荐,含覆盖率报告)** bash cd tests # 运行全量测试(含覆盖率报告) bash run_test.sh # 仅运行 CPU 兼容测试(无需 NPU 环境) bash run_test.sh --cpu_only # 仅运行 NPU 依赖测试 bash run_test.sh --npu_only ### 执行单个测试用例 方式一:使用 run_test.sh 指定文件 bash cd tests # 运行单个测试文件 bash run_test.sh quantization/test_layer.py # 运行多个测试文件 bash run_test.sh layers/test_embedding.py quantization/test_mode.py # CPU 模式下运行单个文件 bash run_test.sh --cpu_only quantization/test_mode.py 方式二:使用 pytest 方式 bash # pytest 方式(支持更多过滤选项) python -m pytest tests/quantization/test_layer.py -v # Test Plan 1. CPU 模式验证:MINDIE_TEST_MODE=CPU python -m pytest tests/ -k "not NPU",确认 mock 机制正确加载 2. Lint 检查:pre-commit run --all-files,确认新增 disable 项生效且无新增告警 3. 构建验证:在 CANN 8.x 环境执行 bash build/build_ops.sh,确认 customize_transformer 目录自动创建 4. NPU 模式回归:python tests/run.py,确认全量测试无回归 # Test Report 全量UT测试:  See merge request: Ascend/MindIE-SD!340 | 1 个月前 | |
【docs】文档修改-增加API参考&加速API Co-authored-by: xiao-qing123<xiaoqing14@h-partners.com> # message auto-generated for no-merge-commit merge: !263 merge dev into dev 【docs】文档修改-增加API参考&加速API Created-by: xiao-qing123 Commit-by: xiao-qing123 Merged-by: ascend-robot Description: fixes [#86](https://gitcode.com/Ascend/MindIE-SD/issues/86) 1、新增API参考(社区API接口) 2、新增加速API(原社区layer层) 3、删除readme中的快速入门和单多卡并行示例内容(有单独的quick_start承载) 4、算子融合单独拆分出来,在特性章节独立存在 5、删除特性章节目录名称中的“加速特性” 6、黄区大模型检测问题修改 See merge request: Ascend/MindIE-SD!263 | 3 个月前 | |
[UT] 接入精准测试 Co-authored-by: changetheway<guotaoyuan1@h-partners.com> # message auto-generated for no-merge-commit merge: !460 merge hitest_0717 into dev [UT] 接入精准测试 Created-by: changetheway Commit-by: changetheway Merged-by: ascend-robot Description: <!-- PR描述模板更新日期:20251224 --> # Which issue(s) this PR fixes or accomplishes > Fixes #234 # Purpose 为单元测试框架接入「精准测试」能力,并修正测试结果向 CI 的传递路径,使 CI 能够真实反映测试成败。 **主要改动( tests/run.py、tests/run_test.sh)** - **新增精准测试入口**:run.py 新增 load_tests_from_names,按 | 分隔的测试用例文件名(不含 .py)进行精确 basename 匹配,跳过 UT/ 目录,加载命中的用例;主入口引入 argparse,支持三种模式——精准匹配(--precision_test NAMES)、单文件(位置参数 test_file)、默认全量加载。 - **run_test.sh 新增 --precision_test <NAMES>**:解析后直接调用 run.py --precision_test,跳过覆盖率分析,用于 PR 流水线只运行与变更相关的用例。 - **默认全量覆盖率改为逐文件独立收集**:每个 test_*.py 独立设置 COVERAGE_FILE 运行,再 coverage combine --keep 合并,支持更细粒度的覆盖率数据管理;日志由覆盖(tee)改为追加(tee -a)。 - **CI 正确性修复(针对代码检视意见 #6/#7/#8/#9)**: - run.py:runner.run() 结果驱动退出码 sys.exit(0 if result.wasSuccessful() else 1),测试失败能传到调用方(原实现恒返回 0)。 - run.py:import_module 增加 try/except,匹配文件存在语法错误/缺依赖等导入异常时输出告警并跳过,避免单文件异常导致整跑崩溃。 - run.py:指定名称全部无匹配时 sys.exit(1),避免 CI 对测试名配置错误(拼写等)静默通过;部分无匹配仍仅告警。 - run.py:移除未使用的 importlib.util 导入。 - run_test.sh:精准测试模式移除硬编码 exit 0,改用 ${PIPESTATUS[0]} 捕获并传播 run.py 真实退出码。 - run_test.sh:默认覆盖率循环使用 rc 累计失败退出码并最终 exit ${rc},与「指定文件模式」的失败追踪机制保持一致,不再被 || true 掩盖。 # Test Plan > 设计了哪些测试内容,指导他人如何对你的PR进行测试\ > Apply information to show others your test design and how to test your Pull Request - **精准匹配模式**:bash tests/run_test.sh --precision_test test_aaa|test_bbb,仅运行文件名恰好匹配的用例,不做覆盖率分析。 - **单文件模式**:bash tests/run_test.sh layers/test_embedding.py。 - **默认全量模式**:bash tests/run_test.sh,遍历运行所有 test_*.py(排除 UT/),逐文件收集覆盖率并合并出报告。 - **失败传递验证**:构造一个失败用例,确认 run.py 与 run_test.sh 均以非零退出码退出(CI 可感知);输入不存在的精准测试名(全部无匹配)应非零退出;匹配到但无法导入的文件应告警跳过而非整跑崩溃。 - **门禁检查**:pre-commit run --files tests/run.py tests/run_test.sh。 # Test Report - **本地校验**:python -m py_compile tests/run.py 与 bash -n tests/run_test.sh 语法检查通过;PIPESTATUS 退出码传播逻辑经模拟验证(失败→退出 1,成功→退出 0)。 - **pre-commit 门禁**:对 tests/run.py、tests/run_test.sh 运行 pre-commit run --files,trailing-whitespace / end-of-file / ruff check / ruff format / codespell / pylint / bandit / typos 均 Passed。 - **CI 流水线 PR-pipeline_MindIE-SD_gitcode#1632(commit e3ebb9f5)全部通过**:Build_linux_x86_abi1 / arm_abi1 / arm_abi0 ✅、Antipoison ✅、SCA ✅、UT_linux_arm ✅、流水线总览 ✅。 - 备注:早先 #1631 失败仅因本分支早于合入 pre-commit/.gitleaks.toml 的 dev 提交、导致 gitleaks 配置缺失;已通过同步最新 dev 解决,与测试脚本逻辑无关。 See merge request: Ascend/MindIE-SD!460 | 7 天前 | |
[Feature][eplb]Add EPLB fault mode library Co-authored-by: guowenna1<guowenna1@huawei.com> # message auto-generated for no-merge-commit merge: !338 merge eplb_fault_mode into dev [Feature][eplb]Add EPLB fault mode library Created-by: guowenna1 Commit-by: guowenna1 Merged-by: ascend-robot Description: # Which issue(s) this PR fixes or accomplishes https://gitcode.com/Ascend/MindIE-SD/issues/159 # Purpose 本 PR 为 MindIE-SD 新增 EPLB 模块故障模式库,并确保故障库随版本包发布。 主要变更: - 新增 mindiesd/fault_modes/eplb_fault_mode_library.csv,包含 11 条 EPLB 故障模式,采用 30 列标准故障库 schema。 - 重点补充 EPLB 进程监控相关故障:Scheduler 进程未运行、端口不可用、Worker 连接 Scheduler 失败。 - 更新 MANIFEST.in、pyproject.toml、setup.py,确保故障库 CSV 进入源码包和 wheel 包。 - 新增 tests/test_fault_modes.py,校验故障库 schema、EPLB-only 约束和打包配置。 # Test Plan - 校验 EPLB 故障模式库可被 CSV 标准解析。 - 校验故障库包含 11 条 EPLB 故障模式,每条均为 30 列。 - 校验当前故障库目录仅包含 EPLB 故障库。 - 校验 setup.py、pyproject.toml、MANIFEST.in 均包含 fault_modes/*.csv 打包配置。 # Test Report 已执行: - python tests/test_fault_modes.py - 结果:通过,Ran 3 tests OK - python -m unittest tests.test_fault_modes - 结果:通过,Ran 3 tests OK  See merge request: Ascend/MindIE-SD!338 | 1 个月前 | |
[Test]Standardize test infrastructure and fix lint compliance across test suite Co-authored-by: changetheway<guotaoyuan1@h-partners.com> # message auto-generated for no-merge-commit merge: !340 merge test_correct_0608 into dev [Test]Standardize test infrastructure and fix lint compliance across test suite Created-by: changetheway Commit-by: changetheway Merged-by: ascend-robot Description: # Which issue(s) this PR fixes or accomplishes > Fix part of #179 # Purpose 1. **统一测试基础设施** - 新增 tests/conftest.py,通过 pytest 内置机制配置 sys.path 和 ASCEND_CUSTOM_OPP_PATH,替代各测试文件中散落的 sys.path.append / sys.path.insert - 同时将各测试文件中散落的 sys.path.append / sys.path.insert和 ASCEND_CUSTOM_OPP_PATH添加到run.py中和run_test.sh中 - 新增 tests/utils/utils/torch_npu_mock.py,抽取统一的 mock_torch_npu() 工具函数,替代 tests/run.py 和 tests/UT/run.py 中重复的内联 mock 逻辑 2. **修复 lint 合规性** - 移除所有测试文件中手动的 sys.path 操作(由 conftest.py 统一接管) - 添加 # pylint: disable=no-name-in-module 消除 NPU 模块 import 告警 - 统一 @unittest.skipIf 装饰器为多行格式 - 修复 import 排序、去除多余空行和尾逗号 3. **Pre-commit 配置对齐** - pre-commit/pyproject.toml:pylint disable 列表新增 duplicate-code ## 运行测试 ### 全量测试 ** 使用 run_test.sh(推荐,含覆盖率报告)** bash cd tests # 运行全量测试(含覆盖率报告) bash run_test.sh # 仅运行 CPU 兼容测试(无需 NPU 环境) bash run_test.sh --cpu_only # 仅运行 NPU 依赖测试 bash run_test.sh --npu_only ### 执行单个测试用例 方式一:使用 run_test.sh 指定文件 bash cd tests # 运行单个测试文件 bash run_test.sh quantization/test_layer.py # 运行多个测试文件 bash run_test.sh layers/test_embedding.py quantization/test_mode.py # CPU 模式下运行单个文件 bash run_test.sh --cpu_only quantization/test_mode.py 方式二:使用 pytest 方式 bash # pytest 方式(支持更多过滤选项) python -m pytest tests/quantization/test_layer.py -v # Test Plan 1. CPU 模式验证:MINDIE_TEST_MODE=CPU python -m pytest tests/ -k "not NPU",确认 mock 机制正确加载 2. Lint 检查:pre-commit run --all-files,确认新增 disable 项生效且无新增告警 3. 构建验证:在 CANN 8.x 环境执行 bash build/build_ops.sh,确认 customize_transformer 目录自动创建 4. NPU 模式回归:python tests/run.py,确认全量测试无回归 # Test Report 全量UT测试:  See merge request: Ascend/MindIE-SD!340 | 1 个月前 | |
[Bugfix][offload]Fix enable_offload idempotency and event record ordering Co-authored-by: weixin_44144262<lijinxi2@huawei.com> Co-authored-by: changetheway<guotaoyuan1@h-partners.com> # message auto-generated for no-merge-commit merge: !296 merge security into dev [Bugfix][offload]Fix enable_offload idempotency and event record ordering Created-by: changetheway Commit-by: changetheway;weixin_44144262 Merged-by: ascend-robot Description: # Which issue(s) this PR fixes or accomplishes issue #96 # Purpose 修复 enable_offload 的两个问题: 1. **幂等性缺失**:多次调用 enable_offload 会为同一 model 重复注册 forward hooks 和 pre-hooks,导致 offload 逻辑被多次触发。本次变更为 model 增加了 _mindie_offload_enabled 标志位,重复调用时直接返回。 2. **event record 顺序**:forward_event.record() 必须在进入 d2h_stream 上下文之前调用,否则 wait_event 无法正确等待 forward 完成。 同时补充了 test_enable_offload_idempotent 单元测试,验证重复调用不会重复注册 hooks。 # Test Plan 1. 运行 offload 模块单元测试: bash python -m pytest tests/test_offload.py -v  See merge request: Ascend/MindIE-SD!296 | 2 个月前 | |
[Bugfix][share_memory]Prevent pickle deserialization RCE on ZMQ share-handle channel Co-authored-by: changetheway<guotaoyuan1@h-partners.com> # message auto-generated for no-merge-commit merge: !360 merge share_memory_0613 into dev [Bugfix][share_memory]Prevent pickle deserialization RCE on ZMQ share-handle channel Created-by: changetheway Commit-by: changetheway Merged-by: ascend-robot Description: # Which issue(s) this PR fixes or accomplishes Fixes [#101](https://gitcode.com/Ascend/MindIE-SD/issues/101) # Purpose mindiesd/share_memory.py 通过 ZMQ PUB/SUB 在 master 与子进程间广播 NPU 共享存储句柄, 此前使用 socket.send_pyobj() / socket.recv_pyobj(),其接收端内部调用 pickle.loads() 直接反序列化 socket 字节流。pickle 可被构造的恶意字节流触发任意 callable 调用 (如 os.system / subprocess.Popen / eval),导致接收端 **远程代码执行(RCE)**。 本 PR 引入受限反序列化器 SafeUnpickler 替换不安全的 pickle 接口: - 新增 mindiesd/utils/safe_pickle.py:SafeUnpickler(pickle.Unpickler) 重写 find_class, 采用「显式黑名单 gadget + 模块前缀白名单 + 默认拒绝」三道闸;并提供 drop-in 封装 safe_dumps/safe_dump/safe_load/safe_loads。 - share_memory.py:pub_socket.send_pyobj(handle) → pub_socket.send(safe_dumps(handle)); sub_socket.recv_pyobj() → safe_loads(sub_socket.recv())。 - NPU 句柄为 int/bytes 组成的普通 tuple(属 builtins 白名单),合法数据正常往返; 恶意 payload 在 find_class 阶段即被拒绝,不触发执行。 - 新增 tests/test_safe_pickle.py(11 例,纯逻辑、CPU 兼容,MINDIE_TEST_MODE=NPU 时跳过), 并同步更新 tests/test_share_memory.py 的 zmq mock。 对外 API(share_memory() / init_share_memory() 等)签名与行为不变。 # Test Plan 1. python -m py_compile mindiesd/utils/safe_pickle.py mindiesd/share_memory.py tests/test_share_memory.py tests/test_safe_pickle.py 2. 安全拦截验证:python tests/test_safe_pickle.py -v(覆盖 os.system / eval / subprocess.Popen 拦截、numpy 拒绝、黑名单优先、合法句柄往返)。 3. 三模式门控:分别以 MINDIE_TEST_MODE=ALL|CPU|NPU 运行,确认 CPU 兼容用例仅在 NPU 模式跳过。 4. 回归:cd tests && python test_share_memory.py -v(含真实 NPU 上的 broadcast_handle master/slave、share_memory 主流程)。 # Test Report python tests/test_share_memory.py -v  python tests/test_safe_pickle.py -v  See merge request: Ascend/MindIE-SD!360 | 1 个月前 | |
test: align ut expectations with current quant behavior Co-authored-by: guowenna1<guowenna1@huawei.com> # message auto-generated for no-merge-commit merge: !373 merge dev into dev test: align ut expectations with current quant behavior Created-by: weixin_44144262 Commit-by: guowenna1 Merged-by: ascend-robot Description: # Purpose 修改在A2上部分用例执行失败的情况 # Test Plan 运行全量ut # Test Report  See merge request: Ascend/MindIE-SD!373 | 1 个月前 | |
删除符号表strip Co-authored-by: taoyuan_guo<guotaoyuan1@h-partners.com> # message auto-generated for no-merge-commit merge: !261 merge build_0421 into dev 删除符号表strip Created-by: changetheway Commit-by: taoyuan_guo Merged-by: ascend-robot Description: # Purpose 按照安全编译的要求,删除二进制文件中的符号表strip # Test Report 全量ut测试通过  See merge request: Ascend/MindIE-SD!261 | 3 个月前 |
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
| 1 个月前 | ||
| 1 个月前 | ||
| 1 个月前 | ||
| 29 天前 | ||
| 24 天前 | ||
| 2 天前 | ||
| 23 天前 | ||
| 14 天前 | ||
| 3 个月前 | ||
| 1 个月前 | ||
| 4 个月前 | ||
| 1 个月前 | ||
| 7 个月前 | ||
| 24 天前 | ||
| 7 天前 | ||
| 3 个月前 | ||
| 1 个月前 | ||
| 3 个月前 | ||
| 7 天前 | ||
| 1 个月前 | ||
| 1 个月前 | ||
| 2 个月前 | ||
| 1 个月前 | ||
| 1 个月前 | ||
| 3 个月前 |