minor : fix double float32 conversion in python script

This commit is contained in:
Georgi Gerganov 2022-11-11 17:58:51 +02:00
parent 3500ce8727
commit ccd56a9c5b
No known key found for this signature in database
GPG Key ID: 449E073F9DC10735

View File

@ -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