[[autodoc]] safetensors.torch.loadfile
Torch API
[[autodoc]] safetensors.torch.load_file [[autodoc]] safetensors.torch.load [[autodoc]] safetensors.torch.save_file [[autodoc]] safetensors.torch.save [[autodoc]] safetensors.torch.load_model [[autodoc]] safetensors.torch.save_model
Source and license
Source: Safetensors documentation, adapted for this site. Licensing and attribution follow the terms of the upstream project.