mirror of
https://github.com/ggerganov/whisper.cpp.git
synced 2025-04-27 14:29:43 +00:00
CANN: fix typo in ggml-cann (llama/12733)
This commit is contained in:
parent
b8d3e45342
commit
7074b622eb
@ -803,7 +803,7 @@ static enum ggml_status ggml_backend_cann_buffer_init_tensor(
|
|||||||
return GGML_STATUS_SUCCESS;
|
return GGML_STATUS_SUCCESS;
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO: can backend doesn't support quantized yet. Just leave the code
|
// TODO: cann backend doesn't support quantized yet. Just leave the code
|
||||||
// here.
|
// here.
|
||||||
if (ggml_is_quantized(tensor->type)) {
|
if (ggml_is_quantized(tensor->type)) {
|
||||||
// Initialize padding to 0 to avoid possible NaN values
|
// Initialize padding to 0 to avoid possible NaN values
|
||||||
|
Loading…
x
Reference in New Issue
Block a user