Open-Source Wikis

/

PyTorch

/

Primitives

pytorch/pytorch

Primitives

Foundational concepts that recur in 3+ subsystems. Read these once and the rest of the codebase reads more easily.

Page What it is
Tensor The central data type and how it's laid out
Storage and allocators Where tensor memory comes from
Dispatch keys The enum that governs op routing
Operators and schemas How operators are declared, parsed, and registered
Streams and events Concurrency primitives for accelerator backends

Built by Factory AutoWiki from public repository content. It is a generated preview for codebase exploration, not source-maintained documentation.

Primitives – PyTorch wiki | Factory