English · 简体中文 · Back to installation
This appendix accompanies the [installation guide](INSTALL.md). Chapters A–I group runtime environment variables by topic; chapter J lists command-line flags. [Reading Conventions](#conventions) · [J. Command-Line Flags](#command-line) · [Model download settings](INSTALL.md#step-3)| Setting | Type | Default | Description |
|---|---|---|---|
MODEL_ |
path | — | Local checkpoint directory (config.json, safetensors, tokenizer). Required to serve. |
MAX_ |
int | 131072 |
KV cache capacity in tokens. |
| Setting | Type | Default | Description |
|---|---|---|---|
TRAIN_ |
int | 131072 |
Context length the checkpoint was fine-tuned at; RoPE is in-distribution up to here. (advanced) |
| Setting | Type | Default | Description |
|---|---|---|---|
ACTION_ |
int | — | Frames kept in context, including the current one (default of --action-window-frames; 120 with reasoning, 135 with --no-reasoning). |
REASONING_ |
int | 15 |
Thought rounds kept in the reasoning prefix (default of --reasoning-history-rounds). |
FORCE_ |
int | 120 |
Reasoning mode: force a thought on turn N when the preceding N-1 turns had none (default of --force-thinking-steps; matching ACTION_ |
ASYNC_ |
bool | 1 |
Reasoning mode: run compaction, action-window sliding and MTP trimming after the response is sent. |
| Setting | Type | Default | Description |
|---|---|---|---|
REASONING_ |
int | 0 |
Reasoning mode: flush all caches and rebuild the reasoning prefix every N thoughts; 0 disables. (advanced) |
VISION_ |
bool | 0 |
Cache preprocessed frames and ViT features across turns. (advanced) |
VISION_ |
int | 32 |
Frames kept by VISION_ |
| Setting | Type | Default | Description |
|---|---|---|---|
REASONING_ |
float | 1.0 |
Target temperature inside thoughts. |
REASONING_ |
float | 0.95 |
Target top-p inside thoughts, in (0, 1]. |
ACTION_ |
float | 1.0 |
Target temperature for actions. |
ACTION_ |
float | 0.99 |
Target top-p for actions, in (0, 1]. Uses a register-resident sparse kernel over grammar-legal tokens when ACTION_ |
| Setting | Type | Default | Description |
|---|---|---|---|
PHASE_ |
str | auto |
Top-p kernel: auto, torch, segmented or bf16_ |
| Setting | Type | Default | Description |
|---|---|---|---|
DRAFT_ |
path | sash/ |
Shortlist vocabulary of the MTP draft head; 0/ |
REASONING_ |
path | sash/ |
Draft shortlist used inside thoughts; skipped when the file is missing. |
PHASE_ |
bool | 1 |
Switch between the action and reasoning draft shortlists by phase. |
MTP_ |
float | 0.75 |
Draft proposal temperature inside thoughts. |
MTP_ |
float | 1.0 |
Draft proposal temperature for actions. |
MTP_ |
int | 2 |
Draft hops per step inside thoughts: 2 or 3. |
| Setting | Type | Default | Description |
|---|---|---|---|
MTP_ |
bool | 1 |
Roll the MTP cache back over entries conditioned on rejected drafts. (advanced) |
MTP_ |
bool | 1 |
Prefill the MTP cache with the last MTP_ |
MTP_ |
int | 1024 |
Window of MTP_ |
MTP_ |
int | 16384 |
MTP draft cache capacity in entries. (advanced) |
| Setting | Type | Default | Description |
|---|---|---|---|
ACTION_ |
bool | 1 |
Constrain action blocks with the GPU grammar. |
ACTION_ |
bool | 1 |
Validate every reply's thought and action format and retry malformed ones. |
MAX_ |
int | 8 |
Retry budget of ACTION_ |
| Setting | Type | Default | Description |
|---|---|---|---|
GRAMMAR_ |
bool | 1 |
Evaluate only grammar-legal logits inside action blocks. (advanced) |
MTP_ |
bool | 1 |
Apply the grammar to draft proposals as well. (advanced) |
| Setting | Type | Default | Description |
|---|---|---|---|
SERVER_ |
int | 0 |
Upper bound applied to every request's max_ |
ALLOW_ |
bool | 0 |
Allow include_ |
| Setting | Type | Default | Description |
|---|---|---|---|
OMP_ |
int | 8 |
CPU threads of torch and the image libraries. (advanced) |
SKIP_ |
bool | 0 |
Skip the startup Triton warmup (first requests will JIT-compile). (advanced) |
| Setting | Type | Default | Description |
|---|---|---|---|
KV_ |
fp8 | bf16 |
fp8 |
KV cache of the attention layers. fp8 uses the architecture's FP8 layout (paged on SM120 and other GPUs, contiguous on SM90); bf16 keeps contiguous BF16 keys and values on any GPU: higher precision, twice the KV memory, FlashAttention decode. |
ATTENTION_ |
str | — | Prefill attention: fa3 (Hopper) or fa2. Default: fa3 on SM90, fa2 elsewhere. |
| Setting | Type | Default | Description |
|---|---|---|---|
SM90_ |
bool | 1 |
SM90: contiguous FP8 KV cache with FA3 prefill. (advanced) |
SM90_ |
int | — | SM90: split-KV count of FP8 decode attention. Default: from SM count. (advanced) |
FUSED_ |
int | 32 |
Split count of the fused T=4 decode attention (non-SM90). (advanced) |
UNIFIED_ |
bool | — | Single CUDA graph per speculative step. Default: on for SM90. (advanced) |
FUSED_ |
bool | — | FP8xFP8 decode trunk with fused Split-K epilogues. Default: on for SM90. (advanced) |
VIT_ |
bool | — | FP8 ViT blocks. Default: on for SM90. (advanced) |
GDN_ |
bool | 1 |
Grouped-value GDN prefill preprocessing. (advanced) |
| Setting | Type | Default | Description |
|---|---|---|---|
TP_ |
int | 1 |
1 or 2 GPUs. |
TP2_ |
bool | 0 |
Accept any peer-capable GPU pair (e.g. NVSwitch SXM5), not only NVLink-bridged NV12. |
| Setting | Type | Default | Description |
|---|---|---|---|
TP2_ |
bool | 0 |
Accept a PCIe pair reported as NV12. (advanced) |
TP2_ |
bool | 0 |
Shard the ViT across both GPUs. (advanced) |
TP2_ |
bool | 0 |
Use system-scope fences in the P2P all-reduce. (advanced) |
TP_ |
int | 0 |
Set by the runtime for the Rank-1 worker; do not set. (advanced) |
| Setting | Type | Default | Description |
|---|---|---|---|
STRICT_ |
bool | 0 |
Raise on any Triton compilation after warmup. (advanced) |
SPEC_ |
bool | 0 |
Record per-hop speculative-decoding diagnostics. (advanced) |
VISION_ |
bool | 0 |
Check every VISION_ |
| Flag | Default | Description |
|---|---|---|
--reasoning-temperature FLOAT |
1.0 |
Thought temperature; finite and positive. Overrides REASONING_ |
--reasoning-top-p FLOAT |
0.95 |
Thought top-p in (0, 1]. Overrides REASONING_ |
--action-temperature FLOAT |
1.0 |
Action temperature; finite and positive. Overrides ACTION_ |
--action-top-p FLOAT |
0.99 |
Action top-p in (0, 1]. Overrides ACTION_ |
--reasoning / |
--reasoning |
Select Reasoning with retained thought history, or Instant (actions only). See the startup examples above. |
--action-window-frames N |
120 / |
Frames kept, including the current frame. Uses ACTION_ |
--reasoning-history-rounds N |
REASONING_ |
Thought rounds kept in the protected prefix; 0 keeps none. Reasoning mode only. |
--force-thinking-steps N |
FORCE_ |
Force a thought on turn N when the preceding N-1 turns had none. A thought or session reset restarts the count; 1 forces every turn, <= 0 disables. Reasoning mode only. |
--host |
0.0.0.0 |
Listen address. |
--port |
8000 |
Listen port. |
--log-file PATH |
server.jsonl |
Structured JSONL log path; entries are appended. |
--idle-reset-secs S |
10 |
Reset the session after S seconds of inactivity; <= 0 disables idle resets. |
--stateless |
off |
Reset the session before every request. Requires --no-reasoning. |
--kv-window N |
MAX_ |
KV token window; evict the oldest turns when it is exceeded. |
--run-note TEXT |
"" |
Free-text label recorded in the startup log. |
--help / |
— |
Show command-line help and exit. |