Revert "ggml : remove redundant src in ggml_cast"

This reverts commit 62d1b0082d.
This commit is contained in:
Georgi Gerganov 2025-12-09 12:52:59 +02:00
parent 9f6681c3a4
commit 7ab6f51b97
No known key found for this signature in database
GPG Key ID: 449E073F9DC10735
1 changed files with 1 additions and 0 deletions

View File

@ -3418,6 +3418,7 @@ struct ggml_tensor * ggml_cast(
result->op = GGML_OP_CPY; result->op = GGML_OP_CPY;
result->src[0] = a; result->src[0] = a;
result->src[1] = result;
return result; return result;
} }