已关闭
AOTInductor—aoti_load_package接口实现 #1974
qiaoyaodan创建于 5月16日关闭于 6月22日
5月16日 修改了issue 的描述
5月29日 关联了pull request:wrap_triton
5月29日 删除了关联的pull request:wrap_triton
5月29日 关联了pull request:wrap_triton
5月29日 删除了关联的pull request:wrap_triton
5月29日 关联了pull request:wrap_triton
5月29日 删除了关联的pull request:wrap_triton
6月22日 issue状态由 TODO 改变为 DONE
6月22日 关闭了 issue
6月22日 添加了label:resolved
aoti_load_package 用于加载AOTI产物,并提供执行能力。
1、aoti_load_package接口实现 ,使python中可以调用aoti_compile_and_package接口生成的pt文件;主要是添加pybind.cpp文件,将底层的C++函数转换成python函数
2、修改torch_npu/csrc/inductor/aoti_runtime/model.h里面parse_device_str的内容,这个函数原本的功能是识别device_str里面的device type以及device id,但是正则匹配这里会core dump,所以把正则匹配识别device_str的部分换成字符串匹配的方式识别device_str