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
Description
There are inherent risks of locally hosting models especially from China since CCP requires, by law, that software must be backdoored. PyTorch models are loaded using a serialization library called Pickle, which creates a virtual machine very briefly during the process of loading model weights. It is possible to hide malicious code inside the pickle library, which then executes upon the VM being created. SafeTensors allows you to mitigate this security risk.
Use Case
Securely offload and load locally hosted models
The text was updated successfully, but these errors were encountered:
Description
There are inherent risks of locally hosting models especially from China since CCP requires, by law, that software must be backdoored. PyTorch models are loaded using a serialization library called Pickle, which creates a virtual machine very briefly during the process of loading model weights. It is possible to hide malicious code inside the pickle library, which then executes upon the VM being created. SafeTensors allows you to mitigate this security risk.
Use Case
Securely offload and load locally hosted models
The text was updated successfully, but these errors were encountered: