]> git.djapps.eu Git - pkg/ggml/sources/ggml/commitdiff
whisper : set outputs from conv graph (whisper/1959)
authorGeorgi Gerganov <redacted>
Sat, 16 Mar 2024 15:30:55 +0000 (17:30 +0200)
committerGeorgi Gerganov <redacted>
Mon, 18 Mar 2024 08:59:06 +0000 (10:59 +0200)
examples/whisper/whisper.cpp

index 289d70398493a91602636995486297813ea0e1e4..f60119749629d82f0b836e0d939ed44930ebbf34 100644 (file)
@@ -1680,6 +1680,8 @@ static struct ggml_cgraph * whisper_build_graph_conv(
         wstate.embd_enc = cur;
     }
 
+    ggml_set_output(cur);
+
     ggml_build_forward_expand(gf, cur);
 
     ggml_free(ctx0);