squash! baby-llama : rename llama_layer to baby_llama_layer

Rename baby_llama_layer to gpt_layer.
This commit is contained in:
Daniel Bevenius 2024-09-20 15:05:00 +02:00
parent 0940460774
commit c93300f02f

View file

@ -105,7 +105,7 @@ struct llama_hparams_lora {
} }
}; };
struct baby_llama_layer { struct gpt_layer {
// normalization // normalization
struct ggml_tensor * attention_norm; struct ggml_tensor * attention_norm;
@ -169,7 +169,7 @@ struct llama_model {
struct ggml_tensor * norm; struct ggml_tensor * norm;
struct ggml_tensor * output; struct ggml_tensor * output;
std::vector<baby_llama_layer> layers; std::vector<gpt_layer> layers;
}; };
struct llama_model_lora { struct llama_model_lora {