]> git.djapps.eu Git - pkg/ggml/sources/ggml/commit
Add Ascend NPU backend (llama/6035)
authorhipudding <redacted>
Wed, 17 Jul 2024 11:23:50 +0000 (19:23 +0800)
committerGeorgi Gerganov <redacted>
Sat, 27 Jul 2024 15:26:12 +0000 (18:26 +0300)
commit81223bea70d5846ab96b32c49fe20ea4a286f593
tree22bce8b6e6722faab422cbdccb466613e5ca8bc0
parent911d9515e245f3c11a9b976a28a60574fe6f5b51
Add Ascend NPU backend (llama/6035)

* [CANN] Add Ascend NPU backend

Ascend is a full-stack AI computing infrastructure for industry
applications and services based on Huawei Ascend processors and
software.

CANN (Compute Architecture of Neural Networks), developped by
Huawei, is a heterogeneous computing architecture for AI.

Co-authored-by: wangshuai09 <redacted>
* delete trailing whitespaces

* Modify the code based on review comment

* Rename LLAMA_CANN to GGML_CANN

* Make ggml-common.h private

* add ggml_cann prefix for acl funcs

* Add logging for CANN backend

* Delete Trailing whitespace

---------

Co-authored-by: wangshuai09 <redacted>
ggml/include/ggml-cann.h [new file with mode: 0644]
ggml/src/ggml-cann.cpp [new file with mode: 0644]
include/ggml.h
src/CMakeLists.txt
src/ggml-backend.c
src/ggml.c
tests/test-backend-ops.cpp