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;
|
size_t n_samplers;
|
||||||
};
|
};
|
||||||
|
|
||||||
typedef struct llama_model_tensor_override {
|
struct llama_model_tensor_override {
|
||||||
const char * pattern;
|
const char * pattern;
|
||||||
enum ggml_type type;
|
enum ggml_type type;
|
||||||
} llama_model_tensor_override;
|
};
|
||||||
|
|
||||||
typedef struct llama_imatrix_data {
|
struct llama_imatrix_data {
|
||||||
const char * name;
|
const char * name;
|
||||||
const float * data;
|
const float * data;
|
||||||
size_t size;
|
size_t size;
|
||||||
} llama_imatrix_data;
|
};
|
||||||
|
|
||||||
// model quantization parameters
|
// model quantization parameters
|
||||||
typedef struct llama_model_quantize_params {
|
typedef struct llama_model_quantize_params {
|
||||||
|
|
|
||||||
|
|
@ -15,6 +15,7 @@
|
||||||
#include <fstream>
|
#include <fstream>
|
||||||
#include <filesystem>
|
#include <filesystem>
|
||||||
|
|
||||||
|
// result of parsing --tensor-type option
|
||||||
// changes to this struct must also be reflected in src/llama-quant.cpp
|
// changes to this struct must also be reflected in src/llama-quant.cpp
|
||||||
struct tensor_type_option {
|
struct tensor_type_option {
|
||||||
std::string name;
|
std::string name;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue