Overview
Architecture
Map Python orchestration and the C++ runtime from model/autograd through compiler, lowering, generic programmed composition, serving, and backends.
Read guideUnderstand the design boundaries, lifecycle rules, data representation, and optimization model.
Map Python orchestration and the C++ runtime from model/autograd through compiler, lowering, generic programmed composition, serving, and backends.
Read guideUnderstand parameter registration, ownership, recursive names, nonmoving modules, and transactional backend transfer.
Read guideUnderstand byte and byte-pair tokenization strategies, token IDs, UTF-8 boundaries, and shifted next-token windows.
Read guideUnderstand bias-corrected Adam, global gradient clipping, contiguous or bounded-page state, and transactional updates.
Read guide