]> git.djapps.eu Git - pkg/ggml/sources/ggml/commit
CANN: Improve ACL graph matching (llama/16166)
authorChenguang Li <redacted>
Thu, 9 Oct 2025 07:50:25 +0000 (15:50 +0800)
committerGeorgi Gerganov <redacted>
Sun, 12 Oct 2025 04:57:25 +0000 (07:57 +0300)
commita5891ddf7fadd942a707479c712bc6b4c7c06b19
tree94d4220c87e213e9768a20fdc6c95ce29dec9814
parent11671133fce9c2061d81ee3e587eabfc3af3e298
CANN: Improve ACL graph matching (llama/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
src/ggml-cann/common.h
src/ggml-cann/ggml-cann.cpp