]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commit
CANN: Improve ACL graph matching (#16166)
authorChenguang Li <redacted>
Thu, 9 Oct 2025 07:50:25 +0000 (15:50 +0800)
committerGitHub <redacted>
Thu, 9 Oct 2025 07:50:25 +0000 (15:50 +0800)
commitaa4711d369b0d4adb6802b98ad6ea362f838710e
tree053c69a7d22379e25b6047f9e3b32c1aacc3df37
parentd80d6d2400b8faa80654c723cb5bdf9fc8f4db06
CANN: Improve ACL graph matching (#16166)

* CANN: improve ACL graph matching

Record `ne` and `nb` information for src tensors and include them in the
graph matching check. This enhances the robustness of ACL graph matching
by preventing incorrect matches when src tensors share the same data
address but differ in shape or stride.

* CANN: add op_params match
ggml/src/ggml-cann/common.h
ggml/src/ggml-cann/ggml-cann.cpp