From 8f1c6c02d51a630d0b821b5b8e2649218541bed3 Mon Sep 17 00:00:00 2001 From: Xuan Son Nguyen Date: Thu, 29 Jan 2026 16:08:13 +0100 Subject: [PATCH] rm debug print --- convert_hf_to_gguf.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/convert_hf_to_gguf.py b/convert_hf_to_gguf.py index 6d9db1998d..24bd468e49 100755 --- a/convert_hf_to_gguf.py +++ b/convert_hf_to_gguf.py @@ -7516,7 +7516,6 @@ class DeepseekV2Model(TextModel): self._experts[bid][name] = data_torch if len(self._experts[bid]) >= n_experts * 3: - print("->>>> Merging experts for block", bid, '\n'.join(self._experts[bid].keys())) # merge the experts into a single 3d tensor for w_name in ["down_proj", "gate_proj", "up_proj"]: datas: list[Tensor] = [] @@ -10956,10 +10955,9 @@ class LongcatFlashModel(DeepseekV2Model): assert(N * 2 == bid) new_bid = N * 2 + M new_name = re.sub(r'\.(\d+)\.([a-z_\.]+)\.(\d+)\.', f'.{new_bid}.{middle}.', name) - print(f"Renaming tensor from {name} to {new_name}") yield from super().modify_tensors(data_torch, new_name, new_bid) else: - # correct block inside name + # correct block inside name (fix for experts tensors) if bid is not None: name = name.replace(f'.{bid // 2}.', f'.{bid}.', 1) yield from super().modify_tensors(data_torch, name, bid)