Closed
[Task|任务跟踪]: auto_mix_partition 配置收敛为 pypto.experimental 入口并仅保留 0/1 #3431
dbjAdd on Sep 22Closed at Sep 24
Sep 22 Associated pull request
Sep 23 Associated pull request
Sep 23 Associated pull request
Sep 23 Added label: Passes
Sep 24 changed custom state from 进行中 to 已完成
Sep 24 Close issue
任务描述
将
auto_mix_partition的配置方式从pypto.set_pass_options顶层参数(off/default/high字符串档位 +N>100自定义合图 op 数上限)收敛为pypto.experimental.auto_mix_partition(0/1)函数入口,仅保留 0(关闭)与 1(开启)两种取值,默认值由 default 档(编码 2)改为 0(关闭)。该配置控制 ReduceCopyMerge Pass 的自动 CV Mix 合图行为:
C++ 侧 ReduceCopyMerge 的档位映射逻辑(
MapAutoMixPartitionToLimits)保持不变。任务目标
pypto.experimental.auto_mix_partition(value)配置入口,仅接受 0/1,其余取值(字符串档位、bool、其他数值)抛 ValueError。pypto.set_pass_options/pypto.get_pass_options移除auto_mix_partition参数与回读键。tile_fwk_config.json与tile_fwk_config_schema.json的默认值收敛为 0,schema 取值收窄为 0~1,label 描述同步更新。test_config_options.py)与 API 文档(pypto-set_pass_options.md)。