Safetensors: Safe and Efficient Tensor Storage
作者:XD / 发表: 2024年7月29日 22:12 / 编程笔记/ 阅读量:532
Safetensors is a library for safely and efficiently saving and loading PyTorch tensors. Unlike traditional formats like pickle
, Safetensors is designed to prevent arbitrary code execution, offering a more secure way to handle tensor data.