]> git.djapps.eu Git - pkg/ggml/sources/whisper.cpp/commit
Add Ascend NPU backend (llama/6035)
authorhipudding <redacted>
Wed, 17 Jul 2024 11:23:50 +0000 (19:23 +0800)
committerGeorgi Gerganov <redacted>
Thu, 8 Aug 2024 19:48:46 +0000 (22:48 +0300)
commit8923bb4292b7125d865269b973a242949c6d5a1a
treee5deec3b2fc58adf970bf4c95aec666c074b9b48
parentfcba6aa35292a97fa9ad3e42c87b3a5bcf361af4
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.h
ggml/src/CMakeLists.txt
ggml/src/ggml-backend.c
ggml/src/ggml.c