Restore comment and cleanup struct def

This commit is contained in:
Ed Addario 2026-03-10 18:43:58 +00:00
parent b2945b1aaf
commit a408c5cd8e
No known key found for this signature in database
GPG Key ID: E7875815A3230993
2 changed files with 5 additions and 4 deletions

View File

@ -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 {

View File

@ -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;