ember.cpp
0.1.0
C++ inference engine for Llama-family and paperkiln models (CPU, CUDA, WebAssembly)
Loading...
Searching...
No Matches
model_config.h
Go to the documentation of this file.
1
#ifndef MODEL_CONFIG_H
2
#define MODEL_CONFIG_H
3
4
#include <nlohmann/json.hpp>
5
#include "
model.h
"
6
7
struct
GGUFData
;
8
9
ModelConfig
parse_model_config
(
const
nlohmann::json&
json
);
10
11
ModelConfig
parse_model_config_from_gguf
(
const
GGUFData
&
gguf
);
12
13
#endif
// MODEL_CONFIG_H
j
size_t j
Definition
graph_ir_validate.cpp:222
model.h
parse_model_config
ModelConfig parse_model_config(const nlohmann::json &json)
Definition
model_config.cpp:20
parse_model_config_from_gguf
ModelConfig parse_model_config_from_gguf(const GGUFData &gguf)
Definition
model_config.cpp:75
json
nlohmann::json json
Definition
server.cpp:68
GGUFData
Complete representation of a GGUF file's contents.
Definition
gguf_structs.h:80
ModelConfig
Model configuration structure holding architecture and hyperparameters.
Definition
model.h:82
model_config.h
Generated by
1.9.8