From ccd56a9c5b93bfcf3bfd4507c9b0ab5b61ccbc09 Mon Sep 17 00:00:00 2001 From: Georgi Gerganov Date: Fri, 11 Nov 2022 17:58:51 +0200 Subject: [PATCH] minor : fix double float32 conversion in python script --- models/convert-pt-to-ggml.py | 1 - 1 file changed, 1 deletion(-) diff --git a/models/convert-pt-to-ggml.py b/models/convert-pt-to-ggml.py index 04792d7..b8ad3c5 100644 --- a/models/convert-pt-to-ggml.py +++ b/models/convert-pt-to-ggml.py @@ -298,7 +298,6 @@ for name in list_vars.keys(): name == "encoder.positional_embedding" or \ name == "decoder.positional_embedding": ftype = 0 - data = data.astype(np.float32) print(" Converting to float32") data = data.astype(np.float32) ftype = 0