cont : return important tensors

ggml-ci
This commit is contained in:
Georgi Gerganov
2025-02-18 13:48:43 +02:00
parent c23590319a
commit 172f61690c
5 changed files with 293 additions and 46 deletions

View File

@ -13,8 +13,10 @@ struct llama_ubatch;
struct llama_graph_result {
ggml_cgraph * gf = nullptr;
ggml_tensor * t_logits = nullptr;
ggml_tensor * t_embd = nullptr;
// important graph nodes
ggml_tensor * t_logits = nullptr;
ggml_tensor * t_embd = nullptr;
ggml_tensor * t_embd_pooled = nullptr;
};
// TODO: can become more granular in the future