converter: Match `new_name instead of name` for float32 explicit tensors

Signed-off-by: Molly Sophia <mollysophia379@gmail.com>
This commit is contained in:
Molly Sophia 2024-08-26 09:31:21 +08:00
parent 6d69fd77b1
commit 601b5920c6

View file

@ -302,7 +302,7 @@ class Model:
gguf.MODEL_TENSOR.TIME_MIX_FIRST, gguf.MODEL_TENSOR.TIME_MIX_FIRST,
) )
) )
or not name.endswith(".weight") or not new_name.endswith(".weight")
): ):
data_qtype = gguf.GGMLQuantizationType.F32 data_qtype = gguf.GGMLQuantizationType.F32