From dce07c3121ed9714c86f9890740734f971aff242 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=2E=20Yusuf=20Sar=C4=B1g=C3=B6z?= Date: Thu, 17 Aug 2023 16:48:49 +0300 Subject: [PATCH] gguf : single pass for writing tensors + refactoring writer --- convert-llama-h5-to-gguf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/convert-llama-h5-to-gguf.py b/convert-llama-h5-to-gguf.py index 1a96a5426..a718ca4d1 100644 --- a/convert-llama-h5-to-gguf.py +++ b/convert-llama-h5-to-gguf.py @@ -267,7 +267,7 @@ for part_name in part_names: data = data.astype(data_dtype) - print(name + ", n_dims = " + n_dims + ", " + str(old_dtype) + " --> " + str(data.dtype)) + print(name + ", n_dims = " + str(n_dims) + ", " + str(old_dtype) + " --> " + str(data.dtype)) gguf_writer.add_tensor(name, data)