remove unused call to not existing llama_get_layer_from_model
This commit is contained in:
parent
1151653b15
commit
79ad888768
1 changed files with 0 additions and 1 deletions
|
@ -361,7 +361,6 @@ void init_model(struct llama_model * input, struct my_llama_model * model, uint3
|
||||||
char name[GGML_MAX_NAME];
|
char name[GGML_MAX_NAME];
|
||||||
|
|
||||||
for (uint32_t i = 0; i < n_layer; ++i) {
|
for (uint32_t i = 0; i < n_layer; ++i) {
|
||||||
struct llama_layer * ilayer = llama_get_layer_from_model(input, i);
|
|
||||||
auto & layer = model->layers[i];
|
auto & layer = model->layers[i];
|
||||||
|
|
||||||
snprintf(name, GGML_MAX_NAME, "layers.%d.attention_norm.weight", i);
|
snprintf(name, GGML_MAX_NAME, "layers.%d.attention_norm.weight", i);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue