Restore comment and cleanup struct def
This commit is contained in:
parent
b2945b1aaf
commit
a408c5cd8e
|
|
@ -379,16 +379,16 @@ extern "C" {
|
|||
size_t n_samplers;
|
||||
};
|
||||
|
||||
typedef struct llama_model_tensor_override {
|
||||
struct llama_model_tensor_override {
|
||||
const char * pattern;
|
||||
enum ggml_type type;
|
||||
} llama_model_tensor_override;
|
||||
};
|
||||
|
||||
typedef struct llama_imatrix_data {
|
||||
struct llama_imatrix_data {
|
||||
const char * name;
|
||||
const float * data;
|
||||
size_t size;
|
||||
} llama_imatrix_data;
|
||||
};
|
||||
|
||||
// model quantization parameters
|
||||
typedef struct llama_model_quantize_params {
|
||||
|
|
|
|||
|
|
@ -15,6 +15,7 @@
|
|||
#include <fstream>
|
||||
#include <filesystem>
|
||||
|
||||
// result of parsing --tensor-type option
|
||||
// changes to this struct must also be reflected in src/llama-quant.cpp
|
||||
struct tensor_type_option {
|
||||
std::string name;
|
||||
|
|
|
|||
Loading…
Reference in New Issue