services.tabbyapi.settings.draft_model.draft_num_tokens

NixOS option

Number of tokens to draft per iteration (default: draft model default). Recurrent (linear or sliding attention) models use more VRAM for longer drafts. This overhead multiplies with the max batch size, so for models with long drafts (e.g. DFlash with 15 tokens by default) shorter drafts may be preferable.

type: null or (positive integer, meaning >0)
Default
null
Example
4
declared in: nixos/modules/services/web-apps/tabbyapi.nixView source on NixOS/nixpkgs →