char-fork/llama.cpp

git clone https://git.t4t.associates/char-fork/llama.cpp

Zijun Yuopenvino: OV 2026.2, context-shift, Q5_1 support, gemma4 dense/embedding, and -fa off (#24503)890f1a27e

char/aliceai-t5-moe
845 B29 linesraw
1#pragma once
2
3#include "input_model.h"
4#include "node_context.h"
5
6namespace ov {
7namespace frontend {
8namespace ggml {
9
10class TranslateSession {
11public:
12    TranslateSession(const frontend::InputModel::Ptr & input_model,
13                     const std::unordered_map<std::string, CreatorFunction> & translator_map,
14                     bool naive = false);
15
16    std::shared_ptr<Model> get_converted_model();
17    std::shared_ptr<Model> translate_graph(const frontend::InputModel::Ptr & input_model);
18
19private:
20    std::shared_ptr<Model> apply_transformations(std::shared_ptr<Model> model);
21    const frontend::InputModel::Ptr m_input_model;
22    const std::unordered_map<std::string, CreatorFunction> & m_translator_map;
23    std::shared_ptr<Model> m_ov_model;
24    bool m_naive;
25};
26
27}  // namespace ggml
28}  // namespace frontend
29}  // namespace ov