From d3793348d582f11742b80c93722a428495df3abb Mon Sep 17 00:00:00 2001 From: Aman Gupta Date: Tue, 27 Jan 2026 23:12:58 +0800 Subject: [PATCH] Update convert_hf_to_gguf.py MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Sigbjørn Skjæret --- convert_hf_to_gguf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/convert_hf_to_gguf.py b/convert_hf_to_gguf.py index 846f894e03..aac6216bc2 100755 --- a/convert_hf_to_gguf.py +++ b/convert_hf_to_gguf.py @@ -542,7 +542,7 @@ class ModelBase: up_data = self._up_exp_buffer.pop(bid) # gate/up shape: (n_expert, n_ff, n_embd), concatenate to (n_expert, n_ff*2, n_embd) fused_data = torch.cat([gate_data, up_data], dim=1) - fused_name = f"blk.{bid}.ffn_gate_up_exps.weight" + fused_name = self.format_tensor_name(gguf.MODEL_TENSOR.FFN_GATE_UP_EXP, bid) logger.info(f"Fused gate_exps and up_exps for layer {bid}") return [(fused_name, fused_data)] return [] # Wait for gate_exps