]> git.djapps.eu Git - pkg/ggml/sources/whisper.cpp/commit
CANN: Fix SOC_TYPE compile bug (llama/10519)
authorleo-pony <redacted>
Thu, 28 Nov 2024 07:25:24 +0000 (15:25 +0800)
committerGeorgi Gerganov <redacted>
Sun, 8 Dec 2024 18:14:35 +0000 (20:14 +0200)
commit90dd5fca9c00a89b57f175a9c4491886aac538dc
tree0d9df02c3578de001b3ab91ae9e2584521b36956
parent2490f2a7f8940df7e36103a96ab1c630996c316e
CANN: Fix SOC_TYPE compile bug (llama/10519)

* CANN: Fix the bug build fail on Ascend310P under two cases:
1) Manual specify SOC_TYPE
2) Under some unusual compile environment

* Update the cann backend News content: Support F16 and F32 data type model for Ascend 310P NPU.

* fix CANN  compile fail bug: the assert in ascend kernel function doesn't supportted on some CANN version
ggml/src/ggml-cann/CMakeLists.txt
ggml/src/ggml-cann/kernels/CMakeLists.txt
ggml/src/ggml-cann/kernels/dup.cpp
ggml/src/ggml-cann/kernels/get_row_q4_0.cpp
ggml/src/ggml-cann/kernels/quantize_f16_q8_0.cpp
ggml/src/ggml-cann/kernels/quantize_f32_q8_0.cpp
ggml/src/ggml-cann/kernels/quantize_float_to_q4_0.cpp