How do I convert two files in the current directory from .pth to safetensors using python
- User
How do I convert two files in the current directory from .pth to safetensors using python
- Assistant
As of my last knowledge update in early 2023,
safetensorsis not a standard format recognized like.pthwhich is used by PyTorch for saving models. However, ifsafetensorsis a custom format or a new standard that has been introduced, you would need a library or utility that can convert files to .