SnowLLM
GitHub ↗
Skip to content
SnowLLM / Documentation

CLI options ​

Options for snowllm PATH|RECIPE, grouped as in snowllm --help.

sh
snowllm qwen3.6-35b-a3b-fp8 --max-model-len 32k --num-spec 2

Defaults come from the CLI parser; recipes or model architectures may adjust them. Explicit flags take precedence.

Serving ​

OptionDefaultDescription
PATHUnsetCheckpoint directory or downloaded recipe.
--host127.0.0.1API listener address.
--port8000API listener port.
--served-model-nameUnsetAPI model name and context factor; repeatable.
--default-max-tokensUnsetDefault reply limit; unset uses remaining context.
--seedUnsetRandom seed for sampling.

Capacity ​

OptionDefaultDescription
--max-num-seqs16Maximum concurrent requests, up to 256; each request holds attention state.
--max-model-len262144Per-request context limit, e.g. 32k. KV memory is shared.
--gpu-memory-utilization0.9GPU memory budget for weights, workspaces and caches.
--device-mapNo offloadOffload GGUF weights to host RAM: off, auto, all or groups such as experts:20.
--prefix-memory-ratio0.08Memory share for prompt prefix caching; 0 disables it.
--num-kv-blocksUnsetSet the KV cache block count manually.

Throughput ​

OptionDefaultDescription
--num-spec / --num-speculative-tokens2MTP draft tokens per step; 0 disables MTP.
--dflashUnsetDFlash or DSpark draft checkpoint; replaces MTP and shares the memory budget.
--dflash-block0Draft block size; 0 uses the engine default (DFlash: 8; DSpark: checkpoint size). DSpark enforces its checkpoint minimum.
--dflash-p-min0.0DSpark confidence threshold; 0 disables early stopping.
--kv-cache-dtypebf16bf16, auto (bf16) or experimental int8. INT8 is model-dependent.
--max-num-batched-tokensautoPrefill chunk size, e.g. 8k; auto selects a size. See tuning.
--batch-prefillOffBatch fresh prompts; requires --num-spec 0, may change output.
--mtp-window0Recent tokens visible to MTP; 0 uses full context.
--mtp-sinks64Leading tokens retained with --mtp-window.

Multimodal ​

OptionDefaultDescription
--limit-mm-per-prompt4Images one request may carry.
--allow-image-urlsOffAllow fetching HTTP(S) images; data URLs always work.

Diagnostics ​

OptionDefaultDescription
--version—Show the installed version and exit.
--enforce-eagerOffDisable GPU graph execution.
--profile-dirSNOWLLM_TORCH_PROFILER_DIR or unsetDirectory for traces captured via profiling endpoints.
--stats-interval10.0Seconds between throughput logs; 0 disables logs.
--stats-exactOffSynchronize each step for GPU timing; slows inference.

Commands ​

Use snowllm COMMAND --help for options specific to each command.

CommandPurpose
webuiStart the local model management service and browser interface.
pull [RECIPE]Download a model.
recipesList available recipes.
piConnect Pi to SnowLLM.
load MODELLoad a model in the running service.
unloadUnload the current model.
statusShow service status.

See Web UI for model management and Performance tuning for tuning advice.