Skip to content

DocsReference

15 min read · updated

Server flags

Choose server settings by purpose, with release-aligned defaults and links to the relevant guides.

With no flag, the server serves Gemma 4 31B with the settings it was measured with; most deployments set only --base. A flag you give overrides the model’s value. In the container, DECISIO_BASE and DECISIO_PORT do the same as --base and --port.

FlagWhy
--basepicks the model, its checkpoint at a pinned revision, and its measured settings
--model, --revisionserve a specific checkpoint, at a revision you pin
--host, --portthe server listens on 127.0.0.1:8000; put a proxy in front
--max-model-lenpins one text length; without it the Gemma models take what the card holds, so cards that differ serve different lengths
--gpu-memory-utilizationthe model’s share of the card; it changes how long a text the card holds, a lot
--tasks-fileloads exported tasks at start, so a restart keeps them
--deterministic-compileoff by default; turn it on on the 12B for certified tasks on several replicas or fresh nodes, so cold starts answer alike, and leave it off on the 31B (Certify answers)
--batch-invariantoff by default; on keeps repeated 12B reads independent of the batch and prefix cache, at an added cost; certify again after a change (Set up for production)
--served-namethe name GET /v1/models lists, kept stable across a change of model
--kv-cache-dtypefp8 holds a longer text, but suspends a certificate made without it
--engine-processmatters only with a second engine (--image-model, --one-engine)
--backend mlxserves on a Mac, from an MLX build

The text length and the cache type are part of what a certificate covers: change either, and certify your tasks again.

Choose the group that matches the setting you need. The tables are taken from the pinned server reference.

Flagqwen3.6-35b-a3bgemma-4-12bgemma-4-31bWhat it does
--basethe defaultthe base, or a decisio model repository (owner/name[@revision], or a directory); without it, detected from --model, or the default if no --model either
--modelQwen/Qwen3.6-35B-A3B-FP8google/gemma-4-12B-ittachara-ai/decisio-gemma-4-31b (its FP8 repository; google/gemma-4-31B-it serves Google's weights instead)the checkpoint, a local directory or a Hugging Face repository id
--revisionthe model pinthe model pinthe model pin (the repository's; the model pin for google/gemma-4-31B-it)the checkpoint's revision on the Hub; the pin applies whenever --model is the base's own repository
--backendvllmvllmvllmvllm, mlx for Apple silicon (Quickstart), or hf for the CPU stand-in used in development. Give matching --base and --model values when serving a base's own checkpoint.
--model-classhidden-readouthidden-readouthidden-readouthidden-readout: decisio's text class that also returns the hidden state at the answer position, for the intent head; text-only: the same without it, and no head; view: a directory built by decisio.serve.make_text_only, loaded as it is, needing no plugin
--modeseparateseparateseparateseparate: one prompt per question, the state shared through the prefix cache; packed: questions packed into one pooling request (the compact layout only)
--pack161616questions per pack in packed mode
--engine{"compilation_config": {"max_cudagraph_capture_size": 4096}}the samethe sameextra LLM(...) keyword arguments, as JSON
--adapternonenonenonename=path of a vLLM-format LoRA adapter; repeatable. A request uses it only when its body names it ("adapter": "<name>"). An adapter whose tensors are named for the other layout than the served class (base_model.model.model.language_model.layers. from a multimodal checkpoint, against base_model.model.model.layers. on a text-only base, or the reverse) is served from a mapped copy, made before the engine is built, with the tensor bytes unchanged; /health reports the mapping in adapter_names. An adapter in neither layout is refused at once, before the weights load
--batch-invariantoffoffoffon or off: vLLM's batch-invariant kernels (VLLM_BATCH_INVARIANT=1, set before the engine starts). Without the flag a tuned repository's defaults.batch_invariant decides, then VLLM_BATCH_INVARIANT, then the default: off for every base. on opts in. Refused when the environment says the opposite of the flag. In /health and the serving-stack fingerprint (Quickstart, "Batch invariance")
--calculatorautoautoautoauto or off: exact arithmetic support. auto shows the calculator block (line values computed exactly, after the state) only to a model whose repository records the format it was trained with (defaults.calculator); a base records none, so it is off. off: never. In /health and the serving-stack fingerprint when on (Exact arithmetic)
--calculator-readerrulesrulesrulesrules or cascade: how the calculator reads a state. rules, the default, is the rule reader; cascade adds a role tagger and precision gates and may show a block for states the rule reader does not read. Needs --calculator-tagger; applies only where the block is shown. Without this flag, --calculator-tagger and --calculator-thresholds, a tuned repository's defaults.calculator_reader decides; any of the three keeps it out. With cascade, in /health and the serving-stack fingerprint (Exact arithmetic, "The cascade reader")
--calculator-taggernonenonenonethe cascade reader's tagger: a local directory (its SHA256SUMS is checked) or owner/name@<full commit hash> on the Hugging Face Hub, loaded once at start. Required with --calculator-reader cascade, refused without it
--calculator-thresholdsnonenonenonethe cascade reader's thresholds: a JSON file with role, link and flag (and band). Without it the threshold rule is off, so a block is shown only where the rule reader agrees or the state's stated figures reproduce
--calculator-deviceautoautoautowhere the cascade reader's tagger runs: auto is the serving card for the vLLM backend on CUDA, else the CPU; cpu, cuda or mps asks for one, and a device that is not there stops the start
--calculator-dtypefloat32float32float32the cascade reader's tagger precision: float32 (what its thresholds are fitted on), or float16 / bfloat16, which halve its memory and time on a GPU and may move a probability inside the margin band; needs --calculator-reader cascade; in the serving-stack fingerprint when not float32
--emulate-precision-castsoffoffon (FP8)on, off or auto: torch inductor's emulate_precision_casts (TORCHINDUCTOR_EMULATE_PRECISION_CASTS=1, set before the engine starts), which narrows the difference between two cold starts. auto is on for an FP8 base (the 12B FP8, the 31B served FP8, a tuned repository of either) and off for bf16. Refused when the environment says the opposite. In /health and the serving-stack fingerprint (Quickstart, "Precision casts")
--deterministic-compileoffoffoffon or off: a compile with no timed choices (deterministic: true and combo_kernels: false in the engine's inductor compile config, set before the engine starts; the environment variable TORCHINDUCTOR_DETERMINISTIC=1 is set too). Off unless asked for: on the 12B it makes cold starts agree, on the 31B they agreed without it and turning it on changes answers. Refused when the environment says the opposite of the flag; a value for either key in --engine wins. In /health and the serving-stack fingerprint (Quickstart, "Deterministic compile")
--default-adapternonenonenonethe name of a loaded --adapter that answers a request naming none, at its own temperatures; "adapter": "none" asks for the base, another name gets that adapter. In /health and the serving-stack fingerprint (Quickstart, "A default adapter")
--adapter-temperaturesnonenonenonename=file of a decisio.adapter/1 file of that adapter's temperatures per question type (choice, noul, score) and, for choice, optionally per band of option count (choice_bands); repeatable. A request that names the adapter is served at them; a type the file does not list keeps the base's. It replaces the decisio_adapter.json beside the adapter's weights, which is read when the flag is not given. An unusable file, or a name --adapter did not load, is refused before the engine is built. /health reports them in adapter_temperatures, and the adapter's weights hash and temperatures are part of the serving-stack fingerprint (running.md)
--gpu-memory-utilization0.9 (0.47 with --image-model)0.90.9the text engine's share of the card. With --image-model the two engines share the card, and the default is the measured pair's 0.47; a pair that cannot fit (over 1.0 together, or over 0.96 with a default in it) is refused at start, before either engine is loaded
--max-model-len32768the largest that fits the card, 32768 to 65536the largest that fits the card, 32768 to 98304the longest prompt in tokens. Without it the vLLM server on a Gemma base serves the largest multiple of 8192 that fits the card's KV cache, up to the base's ceiling and not below 32768; given, that length, refused above the ceiling. The Qwen base, --image-model, a second engine, --engine-process separate and the other backends stay at 32768 (Requirements and limits)
--kv-cache-dtypeautoautoautoauto (the model's own) or fp8, which holds twice the tokens in the KV cache and changes the numerics: a certificate is made under one dtype and suspended under the other
--allow-deep-gemmoffoffoffstart even when VLLM_USE_DEEP_GEMM is set to something other than 0
--served-namedecisio-qwen3.6-35b-a3b-lettersdecisio-gemma-4-12b-it-lettersdecisio-gemma-4-31b-it-lettersthe name GET /v1/models lists
--host, --port127.0.0.1, 8000the samethe samethe listen address; put a reverse proxy in front to expose it
Flagqwen3.6-35b-a3bgemma-4-12bgemma-4-31bWhat it does
--prompt-tailspacedspacedspacedspaced: a blank line before and after the lettered options, then one line asking for the chosen option's letter alone; compact: the compact layout, for tasks registered under it
--answer-slotprefilltemplatetemplatewhere the label is read: after "Answer:" prefilled in the assistant turn, or at the chat template's own first assistant position
--layoutplainheaderheaderplain: the state then the question; header: the request's questions are listed before the state, the default of the Gemma bases. Held at plain while tasks fitted under plain apply, or an adapter or tuned repository recorded no layout (Quickstart, "The header layout"). A state cached for one set of questions is not reused for another under header; tasks and certificates are per layout. A request's "layout" chooses its own (HTTP API)
--flavornonenonenonea named configuration of the Gemma bases: calibrated (calibrated probabilities), commit (commits yes/no answers outside the uncertain middle band) or read-enhanced (reads short requests twice). The server is named Decisio-31b-<flavor>, Decisio-12b-<flavor> or Decisio-12b-fp8-<flavor>, on the header layout; a flag you give wins and is recorded as an override (Quickstart, "Flavors")
--read-twice-underoffoffoffN counted input tokens (the header, the state and each question's text, as usage.input_tokens counts): a request read once of at most N has each question's user turn written twice. Never the default: it roughly doubles the input tokens of the requests it applies to, and usage.input_tokens counts both copies (Quickstart, "Read twice"). Measured choice N = 2,000
--read-twice-max-questionsnonenonenonewith --read-twice-under: a request with more than R questions is read once; R comes from a timing run on your card
--temperatures-filenonenonenonethe base's temperatures per type and its choice bands from a decisio.adapter/1 file (adapter_temperatures fit); a --temperature-<type> flag beats it, it beats a tuned repository's defaults
--label-variantssinglesummedsummedthe tokens read per label: the one form the slot reads, or every single-token form summed
--system-promptoffonona system turn before each question
--noul-renderingletters-keysletterslettershow a yes/no question is asked: letters-keys, a two-option letter choice, the false side first, the sides named; letters, the same with each side shown as its description; words, read from the yes and no tokens
--describe-optionsonononshow an option that has a description as its description alone; --no-describe-options shows key: description
--hide-index-keysonononnever show enumerated keys (option_0, option_1, ...)
--desnake-labelsonononshow bare snake_case labels as words
Flagqwen3.6-35b-a3bgemma-4-12bgemma-4-31bWhat it does
--temperature1.5063.5925.252the temperature on the text route's plain readout, softmax(log p / T); 1 switches it off; never changes the most probable option
--temperature-choice1.370the global one4.672the temperature for choice questions
--temperature-noulthe global onethe global onethe global onethe temperature for yes/no questions
--temperature-scorethe global onethe global onethe global onethe temperature for score questions
--noul-commit, --no-noul-commitoffoffoffreport an uncommitted yes/no probability at the band's edge (below); a tuned repository's defaults state their own setting, and either flag overrides it
--think, --no-thinkoffoffoffthink when unsure (running.md): a question below its type's threshold times --think-factor is read again after the served model has written up to --think-budget tokens; a request's think field decides for that request, a tuned repository's defaults.think turns it on, and --no-think turns that off
--think-factor, --think-budget1, 5121, 5121, 512the factor on the thresholds (choice 0.75, yes/no 0.92, score 0.70) and the most reasoning tokens per question; a tuned repository's defaults state their own
--over-limitrefuserefuserefusea state over the engine's prompt ceiling: refuse answers 422, truncate cuts the state to its start and answers (never certified; running.md); a request's over_limit field decides for that request, and a tuned repository's defaults state their own setting
--over-limit-tokensthe context less 1the context less 1the context less 1the prompt ceiling a truncating server cuts to; on the MLX and HF builds the default is --max-model-len less 1
--orders1112: two-order averaging, each question also read in a second option order
--branch-lognonenonenonea JSONL file for the two orders' disagreement per question
Flagqwen3.6-35b-a3bgemma-4-12bgemma-4-31bWhat it does
--multi-questionsequentialsequentialwarm with the engine in the server's process, else sequentialhow a request's questions are scored (below)
--register-boundarynot used (no registration needed)beforebeforewhen a single question on a new state registers its boundary for the next question: after, once the response is out; before, ahead of the question; off, never; off by default, and the other two refused, when --engine turns vLLM's prefix cache off (Quickstart)
--concurrencyserialserialserialserial: one request at a time through the engine, an answer a function of its request alone; batched: the requests waiting for the engine scored together in one call, more throughput under concurrent load (measured on the FP8 12B, new 1,000-token states, 8 and 16 clients; measure on your own traffic), an answer can move slightly with its traffic (Quickstart, "Concurrency")
--batch-max-requests161616with --concurrency batched, the most requests in one engine call
--engine-processin (separate with an image engine)in (separate with an image engine)inwhere vLLM's engine runs: in, the server's process; separate, a process of its own (vLLM's arrangement) (below)
--pad-policyalwaysalwaysalwaysalways: pad every state; shared: pad only requests with more than one question; row: pad a single-question request's whole row (below); none: never pad (the default with --backend mlx)
--pad-toblocknonenonewhat a state is padded to: the KV cache block, a token count, or nothing
--pad-wherefrontfrontfrontwhere the padding goes: front, before the chat template; user, at the start of the user turn; between, between the state and the question
Flagqwen3.6-35b-a3bgemma-4-12bgemma-4-31bWhat it does
--tasksonononapply registered per-task calibration and intent heads (POST /v1/tasks)
--tasks-filenonenonenonea JSON list of tasks to load at start, as GET /v1/tasks?full=1 returns them
--abstentiononononapply registered abstention thresholds (POST /v1/abstention/tasks)
--abstention-tasksnonenonenonea JSON list of abstention tasks to load at start
--abstain-optionnonenonenoneoffer this extra option (for example "can't tell") on requests that use imajev's extension, reported as unknown_probability and abstained; untrained
Flagqwen3.6-35b-a3bgemma-4-12bgemma-4-31bWhat it does
--image-modelnonenonenonethe full multimodal checkpoint, as a second engine serving only requests that carry images; measured with the Qwen base only
--image-promptplacedplacedplacedwith --image-model: placed reads each image at its place and a question's own image in that question only, as on the Gemma bases; legacy (deprecated, removed in a later release) puts every image at the start of the turn, visible to every question, and marks every image response with Deprecation and Warning headers
--max-images128128128with --image-model: the most images one request may carry (128 images of 512 by 512 pixels fill the context, so for photos the context ends a request; lower it to save multimodal profiling memory at start-up, raise it for smaller images)
--image-gpu-memory-utilization0.490.490.49the image engine's share of the card, beside the text engine's 0.47; a pair with a default in it may total at most 0.96, a pair given in full at most 1.0
--one-engineoffoffoffload only the image engine and serve text requests on it too, for a card that cannot hold both; changes the text route's class
FlagDefaultWhat it does
--prefix-cache-mbthe base's: 2048 (Qwen and gemma-4-31b), 7400 (gemma-4-12b)the cross-request prefix cache's budget in MiB (2^20 bytes); 0 turns it off
--mlx-memory-limit-gbwhat the base needs, at most two thirds of the Mac's memorythe MLX memory limit in GiB; 0 leaves MLX's own (about 80 percent of the memory); a base that does not fit is refused (Memory on a Mac)
--mlx-cache-limit-gb2the MLX cache limit in GiB: freed buffers kept for reuse
--tokenizerQwen/Qwen3.6-35B-A3B-FP8the tokenizer the prompts are built with, so they are the vLLM path's byte for byte

Use Scale, prompt layouts, thinking and certification for worked guidance on behavior settings. After a setting changes the serving setup, certify the affected tasks again.

  • Choosing a model: what --base picks.
  • Scale: the flags that move server time, and what each costs.
  • Operate: running a server in production.