Projects/Bolt/Documentation

[ BOLT / MLBRICKS KIT 1.0.0B1 ]

Bolt Documentation

Bolt layer, cache, model and backend guidance for the integrated MLBricks Kit release.

DISTRIBUTIONmlbricks-kitDOCS VERSION1.0.0b1

OVERVIEW

Bolt as a layer or a complete language model.

Boltis the canonical public Bolt attention component andBoltAttentionis its alias.Attentionprovides the standard causal-attention surface under the same MLBricks backend policy, whileBoltModelis the ready-made language-model architecture.

PUBLIC SURFACES

Bolt/BoltAttentionBolt sequence component.
AttentionStandard causal attention component.
BoltModelReady-made Bolt language model.
BoltConfigConfiguration alias for the ready-made model.

GENERATION

Explicit prefill and decode cache APIs.

Bolt exposesprefillanddecode_stepfor recurrent generation. The cache is created during prefill and passed back into subsequent decode steps.

BACKENDS

Bolt usesbackend="auto"by default. Usenativeonly when the required native route is available, orpytorchfor the reference path.