ggml : fix ggml_clamp (#27644)

* ggml : fix ggml_clamp

* cont : update ggml-alloc
This commit is contained in:
Georgi Gerganov
2026-08-24 10:43:04 +03:00
committed by GitHub
parent a130532ae1
commit 6036c635e2
3 changed files with 49 additions and 27 deletions
+1
View File
@@ -40,6 +40,7 @@ bool ggml_op_can_inplace(enum ggml_op op) {
case GGML_OP_SILU_BACK:
case GGML_OP_RMS_NORM:
case GGML_OP_RMS_NORM_BACK:
case GGML_OP_CLAMP:
case GGML_OP_SOFT_MAX:
case GGML_OP_SOFT_MAX_BACK:
return true;