Official documentation
torch.load: PyTorch documentation (version 2.14)
PyTorch contributors, PyTorch, 2026
Read the originalRead on October 17, 2026
- What it is
- The official reference for torch.load, the function that loads PyTorch model files such as Whisper's checkpoints. It warns that the function uses an unpickler, and it describes what the weights_only option restricts.
- How much weight it carries
- Official documentation for a named release, read on the access date. Its warnings apply to any PyTorch model file, whatever app loads it.
Facts taken from this source
- The PyTorch documentation for torch.load warns that the function uses an unpickler and that users should never load data from an untrusted source.
“Never load data from an untrusted source.” (Warning note at the top of the torch.load page)