提交记录/
a new plugin about reducemax axes
Co-authored-by: WNM<zhangguangxu2@huawei.com> Co-authored-by: root<root@localhost.localdomain>
共 7 个文件变更+803-0
Mcustom_op/grouped_broadcast/README.md+3-0
@@ -217,4 +217,7 @@ MoE_Norm_FP16 节点共 9 个输入,对应构建子图中的 9 个 GE Data 边
217- `framework/CMakeLists.txt`:按目录存在性依次 `add_subdirectory`(onnx_plugin 等)。217- `framework/CMakeLists.txt`:按目录存在性依次 `add_subdirectory`(onnx_plugin 等)。
218- `framework/onnx_plugin/CMakeLists.txt`:源码目录收集 → 生成共享库 `libcust_onnx_parsers.so`,链接 `intf_pub graph`,安装到 `packages/vendors/${package_name}/framework/onnx`。218- `framework/onnx_plugin/CMakeLists.txt`:源码目录收集 → 生成共享库 `libcust_onnx_parsers.so`,链接 `intf_pub graph`,安装到 `packages/vendors/${package_name}/framework/onnx`。
219- 整体编译统一通过 `bash build.sh --soc=ascend910_93`(根 CMakeLists 会将 framework 子目录一并编入 RUN 包)。219- 整体编译统一通过 `bash build.sh --soc=ascend910_93`(根 CMakeLists 会将 framework 子目录一并编入 RUN 包)。
220+- 构建前请先安装 nlohmann-json 头文件依赖(插件源码 `#include <nlohmann/json.hpp>`):
221+ - Ubuntu/Debian:`apt install nlohmann-json3-dev`
222+ - 其它发行版:安装对应的 nlohmann-json 开发包,确保 `nlohmann/json.hpp` 位于系统默认 include 路径
220 223 
Acustom_op/reducemax_plugin/CMakeLists.txt+31-0
Acustom_op/reducemax_plugin/README.md+285-0
Acustom_op/reducemax_plugin/build.sh+142-0
Acustom_op/reducemax_plugin/framework/CMakeLists.txt+7-0
Acustom_op/reducemax_plugin/framework/onnx_plugin/CMakeLists.txt+19-0
Acustom_op/reducemax_plugin/framework/onnx_plugin/reduce_max_onnx_plugin.cc+316-0

评论