From: Sigbjørn Skjæret Date: Sun, 25 Jan 2026 17:03:34 +0000 (+0100) Subject: convert : yield Gemma3N custom_map tensors directly (#19091) X-Git-Tag: upstream/0.0.8067~233 X-Git-Url: https://git.djapps.eu/?a=commitdiff_plain;h=0bf56369384ff1af2731cd1168785e283a1ba266;p=pkg%2Fggml%2Fsources%2Fllama.cpp convert : yield Gemma3N custom_map tensors directly (#19091) --- diff --git a/convert_hf_to_gguf.py b/convert_hf_to_gguf.py index b56a99c5f..6e6e61898 100755 --- a/convert_hf_to_gguf.py +++ b/convert_hf_to_gguf.py @@ -6145,7 +6145,8 @@ class Gemma3nVisionAudioModel(ConformerAudioModel): if name.startswith("model.vision_tower.timm_model.blocks."): # Double-indexed block tensors through custom logic - new_name = self.custom_map(name) + yield (self.custom_map(name), data_torch) + return else: # Route non-repeating (conv_stem, msfa, embedding, etc.) and un-catched through tensor_mapping.py new_name = self.map_tensor_name(name)