You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to convert .safetensor file into .pth to use in older code with new weights (Llama 3 8B - R1). Since I was having problems, I tried to convert the weights of LLama 3 8B as the model contains both a .pth file and .safetensor. The model did not work well so I also wrote a script that looked at a row of the original wights and then searched for the row in the converted tensor. Here is the output:
I am getting the same problem when using safe_open and with safetensors.torch.load_file. Does anyone have any idea what could be causing this type of issue?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I am trying to convert
.safetensor
file into.pth
to use in older code with new weights (Llama 3 8B - R1). Since I was having problems, I tried to convert the weights of LLama 3 8B as the model contains both a.pth
file and.safetensor
. The model did not work well so I also wrote a script that looked at a row of the original wights and then searched for the row in the converted tensor. Here is the output:I am getting the same problem when using
safe_open
and withsafetensors.torch.load_file
. Does anyone have any idea what could be causing this type of issue?Beta Was this translation helpful? Give feedback.
All reactions