External Cannbot Graph Torch Npugraph Ex Knowledge

npugraph_ex(aclgraph)模式使用指南。采用 Capture & Replay 方式将算子任务下沉至 Device 执行,减少 Host 调度开销,适用于固定 shape 在线推理低延迟场景。涵盖模式配置、FX Pass、编译缓存、多流并行、内存复用、静态 Kernel 编译、限核、性能优化、调试定位、自定义算子入图等。关键词:npugraph_ex、aclgraph、backend="npugraph_ex"、capture、replay、reduce-overhead、config.aclgraph_config。

ascend-ai-coding 4db23e9 22.9 KB Updated

File contents

ascend-ai-coding/awesome-ascend-skills/tree/main/external/cannbot/graph/torch-npugraph-ex-knowledge commit 4db23e984e

Frequently asked questions

npx skillmds@latest add ascend-ai-coding/external-cannbot-graph-torch-npugraph-ex-knowledge