mirror of
https://github.com/ggml-org/whisper.cpp.git
synced 2026-08-05 17:40:51 -05:00
CANN: Disable Ger operator of OUT_PROD on 310p device (llama/17563)
This commit is contained in:
committed by
Georgi Gerganov
parent
201b910743
commit
a64d46a529
@@ -2564,6 +2564,10 @@ static bool ggml_backend_cann_supports_op(ggml_backend_dev_t dev, const ggml_ten
|
||||
return true;
|
||||
case GGML_OP_OUT_PROD:
|
||||
{
|
||||
#ifdef ASCEND_310P
|
||||
// Ger is not supported on 310p device
|
||||
return false;
|
||||
#endif
|
||||
switch (op->src[0]->type) {
|
||||
case GGML_TYPE_F16:
|
||||
case GGML_TYPE_F32:
|
||||
|
||||
Reference in New Issue
Block a user