From 601b5920c6aa839500a6d7580589a91c24279326 Mon Sep 17 00:00:00 2001 From: Molly Sophia Date: Mon, 26 Aug 2024 09:31:21 +0800 Subject: [PATCH] converter: Match ``new_name`` instead of ``name`` for float32 explicit tensors Signed-off-by: Molly Sophia --- 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 a39f2dc73..7374cb25e 100755 --- a/convert_hf_to_gguf.py +++ b/convert_hf_to_gguf.py @@ -302,7 +302,7 @@ class Model: gguf.MODEL_TENSOR.TIME_MIX_FIRST, ) ) - or not name.endswith(".weight") + or not new_name.endswith(".weight") ): data_qtype = gguf.GGMLQuantizationType.F32