From 6d42f3d7736ab74b44057e53995b0e1e1627efb6 Mon Sep 17 00:00:00 2001 From: brian khuu Date: Thu, 2 May 2024 01:35:33 +1000 Subject: [PATCH] revert changes to convert-hf-to-gguf.py for get_name() --- 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 6add8020e8b3d..a499c0ef24da5 100755 --- a/convert-hf-to-gguf.py +++ b/convert-hf-to-gguf.py @@ -2181,7 +2181,7 @@ def write_tensors(self): continue # map tensor names - new_name = tensor_map.get_name(name, try_suffixes=(".weight", ".bias")) + new_name = tensor_map.get_name(name, try_suffixes=(".weight",)) if new_name is None: raise ValueError(f"Can not map tensor {name!r}")