| Files | Last commit | Last update |
|---|---|---|
feat(machine): Simplify runtime config stage 2 Co-authored-by: LordOfMysteries<duhongxiang@huawei.com> # message auto-generated for no-merge-commit merge: !2609 merge dhx into master feat(machine): Simplify runtime config stage 2 Created-by: LordOfMysteries Commit-by: LordOfMysteries Merged-by: cann-robot Description: https://gitcode.com/cann/pypto/issues/983 stitch_cfgcache_size 配置下掉,默认都开启controlflowcache,内部按照最大值申请host侧内存。 默认开启controlflowcache后发现值依赖场景有两个问题: (1)值依赖host cache中断后在device继续stitch前会恢复slot状态信息,但几个元数据没回复,导致信息偏差执行异常 (2)dyn_topo输出的拓扑信息不正确,导致泳道图绘制异常。因为泳道图绘制触发的emulation与hostcache有区别,topo信息不正确。 修复方案: (1)hostcache遇到值依赖中断时,将itempool的几个元数据也同步备份。 (2)调整buildcache和emulation的顺序,先触发hostcache,并将cache结果传递给emulation,二者衔接按照完整上板流程生成topo信息。 See merge request: cann/pypto!2609 | 7 months ago |