SYSTEM Cited by 1 source
PyTorch¶
Definition¶
PyTorch is a widely-used open-source deep-learning framework providing tensor computation with GPU acceleration and automatic differentiation. Originally developed by Meta AI; now under the Linux Foundation (PyTorch Foundation).
This page is a minimal wiki stub; PyTorch is referenced across the wiki in many roles — training substrate, model-export target, serving-cluster format, algorithmic primitive library.
Use at Pinterest — SSD on model serving cluster¶
Pinterest's Home Feed Blender migrated its feed diversification algorithm from a custom DPP implementation inside the Home Feed backend to a Sliding Spectrum Decomposition implementation in PyTorch hosted on Pinterest's company-wide model serving cluster (Source: sources/2026-04-07-pinterest-evolution-of-multi-objective-optimization-at-pinterest-home).
Pinterest's named reason for this substrate choice:
"the implementation logic of sliding spectrum decomposition is built from standard linear-algebra blocks (windowed similarity, top-K eigen/SVD, weighted penalties, etc.) and can be implemented cleanly in PyTorch with straightforward operations. It avoids positive semi-definite enforcement, log-determinants, and fragile numerical issues common in DPP (e.g., jittered kernels, Cholesky failures), enabling a straightforward 'PyTorch-style' model approach with vectorized scoring and lower serving latency."
Load-bearing wiki observation: non-ML algorithmic logic (feed blending, diversification, soft-spacing penalties) can ride the same serving substrate as models when the operations are expressible in standard tensor primitives — canonical instance of patterns/blending-logic-to-model-server.
Caveats¶
- Stub — PyTorch is a vast framework; this page focuses on its role as a serving-cluster substrate for non-ML feed-composition logic per the Pinterest Home Feed MOO post.
- Pinterest's model serving cluster details not disclosed beyond "company-wide model serving cluster" with CPU-served SSD.
- Other Pinterest PyTorch uses (training frameworks, ranking models) are referenced across their blog posts but out of scope here.
Seen in¶
- 2026-04-07 Pinterest — Evolution of Multi-Objective Optimization at Pinterest Home Feed (sources/2026-04-07-pinterest-evolution-of-multi-objective-optimization-at-pinterest-home) — canonical; PyTorch as serving substrate for SSD + soft-spacing in the Home Feed Blender; explicit contrast with DPP's Cholesky-based numerics.