mirror of
https://github.com/ggerganov/llama.cpp.git
synced 2025-01-06 02:48:57 +01:00
gptneox-main.cpp : n_layer --> n_block
This commit is contained in:
parent
e91a2224e4
commit
c7bd8c147c
@ -414,7 +414,7 @@ bool gpt_neox_model_load(const std::string & fname, gpt_neox_model & model, gpt2
|
||||
if (ok) { keyidx = gguf_find_key(ggufctx, "gptneox.attention.head_count");
|
||||
if (keyidx != -1) { hparams.n_head = gguf_get_val_u32(ggufctx, keyidx); } else { ok = false; } }
|
||||
|
||||
if (ok) { keyidx = gguf_find_key(ggufctx, "gptneox.layer_count");
|
||||
if (ok) { keyidx = gguf_find_key(ggufctx, "gptneox.block_count");
|
||||
if (keyidx != -1) { hparams.n_block = gguf_get_val_u32(ggufctx, keyidx); } else { ok = false; } }
|
||||
|
||||
if (ok) { keyidx = gguf_find_key(ggufctx, "gptneox.rope.dimension_count");
|
||||
|
Loading…
Reference in New Issue
Block a user