thinQmaster Virtual testing partner Adaptive practice exams that find your weak spots and drill them. Every answer explained. From $69
Enroll

thinQmaster

Find your exam

Five questions free, before you decide.

Step 1 · choose a vendor

In one of our camps? Your practice exams come with the tuition — they are on your study page already.

AI & Machine Learning · Foundational

PyTorch

An open-source deep learning framework, originally from Meta and now governed by the PyTorch Foundation, known for dynamic computation graphs.

Definition

PyTorch offers Pythonic tensor operations, automatic differentiation and GPU acceleration via CUDA. It dominates research and most open LLM development, with libraries such as Hugging Face Transformers, torch.distributed and FSDP built on it.

Example

model = torch.nn.Linear(10, 1).to('cuda')

Exam tip

PyTorch uses dynamic (define-by-run) graphs and is the dominant framework for LLM work.

Related terms