Skip to content

Official documentation

torch.load: PyTorch documentation (version 2.14)

PyTorch contributors, PyTorch, 2026

Read the original

Read 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

Pages that rest on this source

torch.load: PyTorch documentation (version 2.14) | Yap