llama-server issues "model has unused tensor" messages

#2
by deuxenun - opened

I was wondering if this is expected, or a bug on llama.cpp's side

llama.cpp build 10787, commit 42f0225fe

0.03.080.408 W model has unused tensor blk.42.attn_norm.weight (size = 10240 bytes) -- ignoring
0.03.080.412 W model has unused tensor blk.42.attn_q.weight (size = 8847360 bytes) -- ignoring
0.03.080.415 W model has unused tensor blk.42.attn_kv_a_mqa.weight (size = 829440 bytes) -- ignoring
0.03.080.418 W model has unused tensor blk.42.attn_kv_a_norm.weight (size = 2048 bytes) -- ignoring
0.03.080.421 W model has unused tensor blk.42.attn_k_b.weight (size = 1179648 bytes) -- ignoring
0.03.080.423 W model has unused tensor blk.42.attn_v_b.weight (size = 1179648 bytes) -- ignoring
0.03.080.426 W model has unused tensor blk.42.attn_gate.weight (size = 46080 bytes) -- ignoring
0.03.080.429 W model has unused tensor blk.42.attn_output.weight (size = 5898240 bytes) -- ignoring
0.03.080.431 W model has unused tensor blk.42.ffn_norm.weight (size = 10240 bytes) -- ignoring
0.03.080.434 W model has unused tensor blk.42.ffn_gate_inp.weight (size = 5242880 bytes) -- ignoring
0.03.080.437 W model has unused tensor blk.42.exp_probs_b.bias (size = 2048 bytes) -- ignoring
0.03.080.440 W model has unused tensor blk.42.ffn_gate_exps.weight (size = 566231040 bytes) -- ignoring
0.03.080.454 W model has unused tensor blk.42.ffn_up_exps.weight (size = 566231040 bytes) -- ignoring
0.03.080.457 W model has unused tensor blk.42.ffn_down_exps.weight (size = 566231040 bytes) -- ignoring
0.03.080.460 W model has unused tensor blk.42.ffn_gate_shexp.weight (size = 1105920 bytes) -- ignoring
0.03.080.463 W model has unused tensor blk.42.ffn_up_shexp.weight (size = 1105920 bytes) -- ignoring
0.03.080.465 W model has unused tensor blk.42.ffn_down_shexp.weight (size = 1105920 bytes) -- ignoring
0.03.080.469 W model has unused tensor blk.42.nextn.eh_proj.weight (size = 7372800 bytes) -- ignoring
0.03.080.472 W model has unused tensor blk.42.nextn.enorm.weight (size = 10240 bytes) -- ignoring
0.03.080.475 W model has unused tensor blk.42.nextn.hnorm.weight (size = 10240 bytes) -- ignoring
0.03.080.478 W model has unused tensor blk.42.layer_output_norm.weight (size = 10240 bytes) -- ignoring

I think this is a result of the MTP layers being saved to the model but not yet used in the code, so that when a llama.cpp update comes supporting it you won't have to redownload

Sign up or log in to comment