Skip to content

Commit

Permalink
minor : fix double float32 conversion in python script
Browse files Browse the repository at this point in the history
  • Loading branch information
ggerganov committed Nov 11, 2022
1 parent 3500ce8 commit ccd56a9
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion models/convert-pt-to-ggml.py
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,6 @@ def bytes_to_unicode():
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
Expand Down

0 comments on commit ccd56a9

Please sign in to comment.