graph : add llama_graph_result

ggml-ci
This commit is contained in:
Georgi Gerganov
2025-02-18 11:16:53 +02:00
parent f0d3ff2388
commit c23590319a
5 changed files with 167 additions and 350 deletions

View File

@ -10,6 +10,13 @@ struct ggml_context;
struct ggml_tensor;
struct llama_ubatch;
struct llama_graph_result {
ggml_cgraph * gf = nullptr;
ggml_tensor * t_logits = nullptr;
ggml_tensor * t_embd = nullptr;
};
// TODO: can become more granular in the future
class llama_graph_i {
public: