Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
99 commits
Select commit Hold shift + click to select a range
d817888
docs: document B12X vLLM binding ownership
lukealonso Jun 5, 2026
393fad4
build: update CUDA dependency pins
lukealonso Jun 5, 2026
06fb658
scripts: add local B12X serve launchers
lukealonso Jun 5, 2026
770a3fd
attention: handle non-power-of-two CP LSE reductions
lukealonso Jun 5, 2026
b1f76ee
config: add B12X virtual TP padding
lukealonso Jun 5, 2026
468ca0e
compilation: prewarm B12X kernels before graph capture
lukealonso Jun 5, 2026
74416d0
config: register B12X kernel backend names
lukealonso Jun 5, 2026
991d7a8
kernels: add B12X FP8 linear backend
lukealonso Jun 5, 2026
c46c484
moe: add native B12X FP4 experts
lukealonso Jun 5, 2026
cdce29d
quantization: pad gated NVFP4 MoE swizzled scales
lukealonso Jun 5, 2026
1935ec8
quantization: route ModelOpt mixed MXFP8 layers
lukealonso Jun 5, 2026
c518b0b
distributed: add optional PCIe allreduce backends
lukealonso Jun 5, 2026
22d36af
warmup: gate autotune and prewarm DSv4 mHC kernels
lukealonso Jun 5, 2026
6048b71
attention: add B12X sparse indexer path
lukealonso Jun 5, 2026
20218ce
attention: share sparse MLA batch metadata
lukealonso Jun 5, 2026
b9c19ae
attention: add B12X sparse MLA backend
lukealonso Jun 5, 2026
9b8fec3
attention: map compressed MLA caches for DCP
lukealonso Jun 5, 2026
61d06c7
models: wire B12X DeepSeek V4 execution paths
lukealonso Jun 5, 2026
fd4efa7
cache: account DSV4 DCP KV memory
lukealonso Jun 5, 2026
b86d3db
compilation: keep small spec decode graphs exact
lukealonso Jun 5, 2026
3f67e46
spec_decode: avoid live-shape Triton specialization
lukealonso Jun 5, 2026
47a52f3
spec_decode: harden GPU rejection sampler
lukealonso Jun 5, 2026
fa02781
spec_decode: support quantized DeepSeek MTP draft layers
lukealonso Jun 5, 2026
c4975b1
config: allow reasoning parsers with V2 runner
lukealonso Jun 5, 2026
1a506a1
worker: fix KV cache memory hint
lukealonso Jun 5, 2026
3707541
Tighten DeepSeek V4 MTP loading and warmup
lukealonso Jun 5, 2026
60954ac
Avoid B12X sparse indexer K copies
lukealonso Jun 5, 2026
2a755a4
Guard draft logits writes to active requests
lukealonso Jun 5, 2026
d6fc2a2
fix b12x modelopt nvfp4 a16 forcing
voipmonitor Jun 6, 2026
5c62030
Fix DCP sparse indexer decode metadata
voipmonitor Jun 6, 2026
b515b3c
Make B12X virtual TP padding automatic
lukealonso Jun 7, 2026
e79038d
Use unified b12x indexer planning
lukealonso Jun 7, 2026
8ec611d
Assert b12x prefill uses packed indexer route
lukealonso Jun 7, 2026
0d5bdf5
Reserve b12x MLA warmup scratch
lukealonso Jun 8, 2026
bab4813
Support MiMo V2.5 FP4-DFlash B12X Triton runtime
voipmonitor Jun 10, 2026
85aa86d
Support MiMo FP4 FlashInfer Cutlass MoE
voipmonitor Jun 10, 2026
3225bd0
Apply DFlash uniform batch prefill fix
voipmonitor Jun 10, 2026
fd580ac
Port DFlash SWA support
voipmonitor Jun 10, 2026
f877f2d
Port DFlash FlashInfer backend support
voipmonitor Jun 10, 2026
a02f65e
Port FlashInfer metadata grouping for DFlash SWA
voipmonitor Jun 10, 2026
0e17762
Honor MiMo DFlash SWA config
voipmonitor Jun 11, 2026
5256e2a
Route b12x MXFP4 MoE to DeepSeek-style method
voipmonitor Jun 11, 2026
ac1a729
Fix DFlash draft fidelity to reference semantics
voipmonitor Jun 11, 2026
be0d47b
Fix DFlash long-context decode slowdown
voipmonitor Jun 11, 2026
a95a115
Allow DFlash SWA drafts beside MLA target models
voipmonitor Jun 11, 2026
3823449
Avoid MLA decode smem overflow on 99KB-limit GPUs
voipmonitor Jun 11, 2026
a13c1d3
Port tuned TRITON_MLA decode from glm51-v6 branch
voipmonitor Jun 11, 2026
fc08601
Support DFlash on the V2 model runner
voipmonitor Jun 12, 2026
a2257a6
Add B12X paged attention backend
lukealonso Jun 12, 2026
24ebbb5
attention: support quantized KV cache in MLA DCP context prefill
voipmonitor Jun 12, 2026
ec2ef52
attention: fix MLA chunked-context merge for mismatched output strides
voipmonitor Jun 12, 2026
4324bc0
spec-decode: support DFlash drafts under decode context parallelism
voipmonitor Jun 13, 2026
f298600
Add MiniMax M3 support
lukealonso Jun 12, 2026
80ce8fb
Handle textual MiniMax M3 thinking markers
lukealonso Jun 13, 2026
024e982
Add B12X CUDA graph prewarm plumbing
lukealonso Jun 13, 2026
c1c3e79
Propagate MiniMax NVFP4 MoE activation params
lukealonso Jun 13, 2026
be49bbb
Wire MiniMax M3 B12X sparse attention
lukealonso Jun 13, 2026
db419e5
Guard FlashInfer page 128 selection
lukealonso Jun 13, 2026
9de7656
Fix MiniMax M3 adaptive reasoning parsing
lukealonso Jun 13, 2026
d23d09f
spec-decode: honor the speculative-config attention backend for the D…
voipmonitor Jun 14, 2026
355c49d
Add MiniMax M3 MSA debug instrumentation
lukealonso Jun 14, 2026
5b87e61
Harden MiniMax M3 compile and mixed-quant paths
lukealonso Jun 14, 2026
e143061
Warm B12X MoE dynamic launches
lukealonso Jun 14, 2026
489c7f0
Stabilize MiniMax M3 B12X attention warmup
lukealonso Jun 14, 2026
bcb870d
Pin MiniMax M3 NVFP4 diagnostic launch
lukealonso Jun 14, 2026
cef5194
mxfp8 hybrid script
lukealonso Jun 14, 2026
89f4282
Wire b12x mHC expected-m RMSNorm path
lukealonso Jun 14, 2026
3ed9609
Support MiniMax M3 TP3 virtual sharding
lukealonso Jun 14, 2026
6d15049
Update b12x serve scripts
lukealonso Jun 14, 2026
c5a39da
Warm up B12X MXFP8 and compile-safe M3 paths
lukealonso Jun 14, 2026
3f28d9b
Update MiniMax M3 serve scripts for B12X graphs
lukealonso Jun 14, 2026
fb3e758
Fix MiniMax M3 TP3 startup
lukealonso Jun 14, 2026
4794fef
Fix DSV4 KV capacity accounting
lukealonso Jun 14, 2026
8f3099e
Move B12X MoE force handling into vLLM
lukealonso Jun 15, 2026
02ef254
Warm B12X sparse indexer prefill paths
lukealonso Jun 15, 2026
80088a6
Pass current CUDA stream to B12X kernels
lukealonso Jun 15, 2026
ac49e2b
Route DeepSeek hc head through TileLang op
lukealonso Jun 15, 2026
8d485f6
Track prompt throughput from scheduler stats
lukealonso Jun 15, 2026
643e11a
Tune local serving script defaults
lukealonso Jun 15, 2026
1b2ccc0
Reuse exact attention metadata for MLA builders
lukealonso Jun 15, 2026
b4acff8
Keep B12X MHC expected M live sized
lukealonso Jun 15, 2026
2f53cd6
Make b12x kernel planning opaque to Dynamo
lukealonso Jun 15, 2026
4143957
Update b12x serving start scripts
lukealonso Jun 15, 2026
dd5dc1b
Add profiler scopes to V1 execution
lukealonso Jun 15, 2026
512c660
Wire b12x mHC BF16 projection weights
lukealonso Jun 15, 2026
52a3921
spec-decode: restore draft Kimi config overrides
voipmonitor Jun 16, 2026
6fea56c
spec-decode: pass DCP seq lens to draft MLA metadata
voipmonitor Jun 16, 2026
a6e0ef7
Fix B12X NVFP4 prepare for forced W4A16
voipmonitor Jun 15, 2026
f8e512a
Add B12X MoE activation amax capture
lukealonso Jun 17, 2026
70b82bd
[bugfix]Indexer init skip and MTP TopK share for iteration (#45895)
JaredforReal Jun 17, 2026
dc0edd0
Adapt b12x to speculator changes
lukealonso Jun 17, 2026
62334db
MTP fix?
lukealonso Jun 19, 2026
774f42d
config: avoid unnecessary GLM virtual TP head padding
voipmonitor Jun 19, 2026
4b74109
parser: bypass tool parser for no-tools streams
voipmonitor Jun 19, 2026
e9efffe
Fix DCP metadata for MTP draft KV
voipmonitor Jun 18, 2026
50dd388
spec_decode: fix DCP MTP graph capture state
voipmonitor Jun 19, 2026
7ec7a8e
Enable DCP prefix caching for GLM-5.2/DSV4 via DCP-sharded MTP draft
flobernd Jun 19, 2026
1660503
indexer: add opt-in DCP global top-k remap
voipmonitor Jun 19, 2026
fb37784
indexer: enable exact DCP global top-k by default
voipmonitor Jun 20, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -149,3 +149,6 @@ change and explain why**.
- **Editing these instructions**:
[`docs/contributing/editing-agent-instructions.md`](docs/contributing/editing-agent-instructions.md)
— Rules for modifying AGENTS.md or any domain-specific guide it references.
- **B12X vLLM bindings**:
[`docs/contributing/b12x-vllm-bindings.md`](docs/contributing/b12x-vllm-bindings.md)
— Keep vLLM B12X paths eager and caller-scratch-owned; do not use sglang-style workspaces or arenas.
10 changes: 7 additions & 3 deletions cmake/external_projects/fmha_sm100.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,10 @@ install(FILES
install(DIRECTORY "${FMHA_SM100_PY_ROOT}/cute/"
DESTINATION vllm/third_party/fmha_sm100/cute
COMPONENT fmha_sm100
PATTERN "__pycache__" EXCLUDE
PATTERN "*.pyc" EXCLUDE
PATTERN ".git*" EXCLUDE)
FILES_MATCHING
REGEX "/__pycache__(/.*)?$" EXCLUDE
REGEX ".*\\.pyc$" EXCLUDE
PATTERN "example.py" EXCLUDE
PATTERN "test_*.py" EXCLUDE
PATTERN "*.py"
PATTERN "build_k2q_csr.cu")
5 changes: 5 additions & 0 deletions cmake/external_projects/vllm_flash_attn.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,15 @@ if(VLLM_FLASH_ATTN_SRC_DIR)
BINARY_DIR ${CMAKE_BINARY_DIR}/vllm-flash-attn
)
else()
set(VLLM_FLASH_ATTN_GIT_SUBMODULES "")
if(VLLM_GPU_LANG STREQUAL "CUDA")
set(VLLM_FLASH_ATTN_GIT_SUBMODULES "csrc/cutlass")
endif()
FetchContent_Declare(
vllm-flash-attn
GIT_REPOSITORY https://github.com/vllm-project/flash-attention.git
GIT_TAG 803020a8fa15407871341d41eba4919ade2ee1ee
GIT_SUBMODULES ${VLLM_FLASH_ATTN_GIT_SUBMODULES}
GIT_PROGRESS TRUE
# Don't share the vllm-flash-attn build between build types
BINARY_DIR ${CMAKE_BINARY_DIR}/vllm-flash-attn
Expand Down
36 changes: 36 additions & 0 deletions docs/contributing/b12x-vllm-bindings.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# B12X vLLM Bindings

Use this guide before touching B12X integration code used from vLLM.

## Ownership Rule

B12X has two separate memory-ownership models:

- **sglang**: a workspace or arena owns memory, is preplanned/cached, and creates the binding with `workspace.bind_*()`.
- **vLLM**: the caller owns memory; code must run eager `plan.bind(scratch=...) -> binding -> kernel`, built fresh per call and CUDA-graph-capturable.

Do not mix these models. In vLLM paths, a binding must never own, cache, construct, or depend on a workspace or arena.

## vLLM Bind Checklist

For vLLM B12X paths:

- Accept caller-provided scratch, typically from vLLM's shared workspace allocation.
- Map that scratch into per-spec views with `narrow`, `view`, or `as_strided`.
- Return a plain views container exposing the attributes kernels read, such as `tmp_output`, `tmp_lse`, `output_buffer`, `num_chunks_ptr`, and `set_split_chunk_config`.
- Do not allocate in `bind()`.
- Do not perform init writes in `bind()`, except guarded scalar control-view fills when required.
- Do not call or construct `B12XAttentionWorkspace`, `_TPCoreArena`, `_make_workspace_views`, `from_shared_arena`, `workspace.bind_*()`, or cached workspace pools from vLLM paths.

Per-call state belongs in the caller, launch wrapper, or kernel prologue, not in a bind-time arena.

## Porting Pattern

Use `B12XCompressedMLAScratch` as the template and `B12XSparseMLAScratch` as the mirror pattern:

1. Define a plain views container.
2. Define layout and materializer from one caller-owned scratch allocation.
3. Rewrite `bind()` to materialize views only.
4. Store views on the binding, not a workspace.
5. Relax type hints to accept duck-typed scratch/views objects where kernels only read attributes.
6. In vLLM, call `plan.bind(scratch=...)` per call; never cache the binding or workspace.
67 changes: 67 additions & 0 deletions festr.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
docker run -d \
--name abyssal-abjuration-611a842 \
--network host \
--ipc host \
--gpus '"device=2,3,4,5,6,7,8,9"' \
--security-opt label=disable \
--ulimit memlock=-1 \
--ulimit stack=67108864 \
-v /root/.cache/huggingface:/root/.cache/huggingface \
-v /mnt:/mnt \
-v /models:/models \
-v /cache:/cache \
-v /root/bench-results:/root/bench-results \
-e MODEL=/models/GLM-5.1-NVFP4-MTP-NVFP4 \
-e PORT=8000 \
-e VLLM_USE_V2_MODEL_RUNNER=1 \
-e VLLM_USE_B12X_MOE=1 \
-e VLLM_USE_B12X_FP8_GEMM=1 \
-e VLLM_USE_B12X_SPARSE_INDEXER=1 \
-e VLLM_USE_FLASHINFER_SAMPLER=1 \
-e VLLM_ENABLE_PCIE_ALLREDUCE=1 \
-e VLLM_PCIE_ALLREDUCE_BACKEND=b12x \
-e VLLM_PCIE_ONESHOT_ALLREDUCE_MAX_SIZE=64KB \
-e VLLM_NCCL_SO_PATH=/opt/libnccl-local-inference.so.2.30.4 \
-e LD_PRELOAD=/opt/libnccl-local-inference.so.2.30.4 \
-e B12X_DENSE_SPLITK_TURBO=1 \
-e B12X_W4A16_TC_DECODE=1 \
-e CUDA_DEVICE_MAX_CONNECTIONS=32 \
-e NCCL_IB_DISABLE=1 \
-e NCCL_P2P_LEVEL=SYS \
-e NCCL_PROTO=LL,LL128,Simple \
-e OMP_NUM_THREADS=16 \
-e VLLM_WORKER_MULTIPROC_METHOD=spawn \
voipmonitor/vllm:abyssal-abjuration-611a842 \
bash -lc '
set -euo pipefail
unset NCCL_GRAPH_FILE NCCL_GRAPH_DUMP_FILE VLLM_B12X_MLA_EXTEND_MAX_CHUNKS
export PYTHONPATH="/opt/vllm${PYTHONPATH:+:${PYTHONPATH}}"
cd /opt/vllm
exec /opt/vllm/.venv/bin/python -m vllm.entrypoints.cli.main serve "${MODEL}" \
--served-model-name GLM-5.1 \
--trust-remote-code \
--host 0.0.0.0 \
--port "${PORT}" \
--tensor-parallel-size 8 \
--pipeline-parallel-size 1 \
--decode-context-parallel-size 1 \
--dcp-comm-backend ag_rs \
--dcp-kv-cache-interleave-size 1 \
--enable-chunked-prefill \
--enable-prefix-caching \
--load-format fastsafetensors \
--async-scheduling \
-cc.pass_config.fuse_allreduce_rms=True \
--gpu-memory-utilization 0.94 \
--max-num-batched-tokens 4096 \
--max-num-seqs 64 \
--max-cudagraph-capture-size 64 \
--quantization modelopt_fp4 \
--attention-backend B12X_MLA_SPARSE \
--moe-backend b12x \
--kv-cache-dtype fp8 \
--tool-call-parser glm47 \
--enable-auto-tool-choice \
--reasoning-parser glm45 \
--hf-overrides "{\"index_topk_pattern\":\"FFSFSSSFSSFFFSSSFFFSFSSSSSSFFSFFSFFSSFFFFFFSFFFFFSFFSSSSSSFSFFFSFSSSFSFFSFFSSS\"}"
'
2 changes: 1 addition & 1 deletion requirements/build/cuda.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ packaging>=24.2
setuptools>=77.0.3,<81.0.0
setuptools-scm>=8
setuptools-rust>=1.9.0
torch==2.11.0
torch==2.12.0
wheel
jinja2>=3.1.6
regex
Expand Down
5 changes: 2 additions & 3 deletions requirements/cuda.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,9 @@
numba == 0.65.0 # Required for N-gram speculative decoding

# Dependencies for NVIDIA GPUs
torch==2.11.0
torchaudio==2.11.0
torch==2.12.0
# These must be updated alongside torch
torchvision==0.26.0 # Required for phi3v processor. See https://github.com/pytorch/vision?tab=readme-ov-file#installation for corresponding version
torchvision==0.27.0 # Required for phi3v processor. See https://github.com/pytorch/vision?tab=readme-ov-file#installation for corresponding version
# FlashInfer should be updated together with the Dockerfile
flashinfer-python==0.6.12
flashinfer-cubin==0.6.12
Expand Down
114 changes: 114 additions & 0 deletions serve-ds4-flash.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,114 @@
#!/usr/bin/env bash
set -euo pipefail

cd "$(dirname "$0")"

export CUTE_DSL_ARCH=sm_120a
export NCCL_IB_DISABLE=1

export VLLM_USE_AOT_COMPILE=1
export VLLM_USE_BREAKABLE_CUDAGRAPH=0
export VLLM_USE_MEGA_AOT_ARTIFACT=${VLLM_USE_MEGA_AOT_ARTIFACT:-1}
export VLLM_MEMORY_PROFILE_INCLUDE_ATTN=1
export VLLM_USE_FLASHINFER_SAMPLER=1
export VLLM_USE_B12X_WO_PROJECTION=1
export VLLM_USE_B12X_MHC=1
export VLLM_USE_B12X_FP8_GEMM=1
export VLLM_USE_B12X_MOE=1
export VLLM_USE_B12X_SPARSE_INDEXER=1
export VLLM_USE_V2_MODEL_RUNNER=1
export VLLM_PCIE_ALLREDUCE_BACKEND=b12x
export VLLM_ENABLE_PCIE_ALLREDUCE=1
export B12X_MLA_SM120_UNIFIED=1

export B12X_DENSE_SPLITK_TURBO=1
export B12X_W4A16_TC_DECODE=1

if [[ -z "${HF_HOME:-}" && -L "${HOME}/.cache/huggingface" && ! -e "${HOME}/.cache/huggingface" ]]; then
if [[ -d /data && -w /data ]]; then
export HF_HOME="${VLLM_HF_HOME:-/data/vllm-huggingface}"
else
export HF_HOME="${VLLM_HF_HOME:-${HOME}/.cache/vllm-huggingface}"
fi
mkdir -p "${HF_HOME}"
fi
export PYTORCH_CUDA_ALLOC_CONF="expandable_segments:True"

model_path="${MODEL_PATH:-deepseek-ai/DeepSeek-V4-Flash}"
served_model_name="${SERVED_MODEL_NAME:-DeepSeek-V4-Flash}"
tp_size="${TP_SIZE:-4}"
dcp_size="${DCP_SIZE:-1}"
dcp_comm_backend="${DCP_COMM_BACKEND:-a2a}"
port="${PORT:-8000}"
gpu_memory_utilization="${GPU_MEMORY_UTILIZATION:-0.88}"
max_model_len="${MAX_MODEL_LEN:-256000}"
max_num_seqs="${MAX_NUM_SEQS:-32}"
max_num_batched_tokens="${MAX_NUM_BATCHED_TOKENS:-4096}"
max_cudagraph_capture_size="${MAX_CUDAGRAPH_CAPTURE_SIZE:-256}"
load_format="${LOAD_FORMAT:-instanttensor}"
enable_flashinfer_autotune="${ENABLE_FLASHINFER_AUTOTUNE:-1}"

profiler_args=()
if [[ "${VLLM_ENABLE_TORCH_PROFILER:-0}" == "1" ]]; then
profile_dir="${VLLM_TORCH_PROFILER_DIR:-/tmp/vllm-ds4-decode}"
profile_delay_iterations="${VLLM_TORCH_PROFILER_DELAY_ITERATIONS:-0}"
profile_max_iterations="${VLLM_TORCH_PROFILER_MAX_ITERATIONS:-4}"
profile_with_stack="${VLLM_TORCH_PROFILER_WITH_STACK:-true}"
profile_record_shapes="${VLLM_TORCH_PROFILER_RECORD_SHAPES:-false}"
profile_with_memory="${VLLM_TORCH_PROFILER_WITH_MEMORY:-false}"
profile_use_gzip="${VLLM_TORCH_PROFILER_USE_GZIP:-true}"

profiler_config=$(printf '{"profiler":"torch","torch_profiler_dir":"%s","torch_profiler_with_stack":%s,"torch_profiler_record_shapes":%s,"torch_profiler_with_memory":%s,"torch_profiler_use_gzip":%s,"ignore_frontend":true,"delay_iterations":%s,"max_iterations":%s}' \
"${profile_dir}" \
"${profile_with_stack}" \
"${profile_record_shapes}" \
"${profile_with_memory}" \
"${profile_use_gzip}" \
"${profile_delay_iterations}" \
"${profile_max_iterations}")
profiler_args+=(--profiler-config "${profiler_config}")
echo "Torch profiler enabled: dir=${profile_dir} delay_iterations=${profile_delay_iterations} max_iterations=${profile_max_iterations}"
fi

spec_args=()
if [[ "${VLLM_ENABLE_MTP:-1}" == "1" ]]; then
spec_args=('--speculative-config' '{"method":"mtp","num_speculative_tokens":2,"draft_sample_method":"probabilistic","moe_backend":"b12x","use_local_argmax_reduction":true}')
fi

autotune_args=()
if [[ "${enable_flashinfer_autotune}" == "1" ]]; then
autotune_args+=(--enable-flashinfer-autotune)
else
autotune_args+=(--no-enable-flashinfer-autotune)
fi

exec .venv/bin/python -m vllm.entrypoints.cli.main serve \
"${model_path}" \
--served-model-name "${served_model_name}" \
--host 0.0.0.0 \
--port "${port}" \
--kv-cache-dtype fp8 \
--block-size 256 \
--load-format "${load_format}" \
--tensor-parallel-size "${tp_size}" \
--moe-backend b12x \
--linear-backend b12x \
--gpu-memory-utilization "${gpu_memory_utilization}" \
--max-model-len "${max_model_len}" \
--max-num-seqs "${max_num_seqs}" \
--async-scheduling \
--no-scheduler-reserve-full-isl \
--max-num-batched-tokens "${max_num_batched_tokens}" \
--max_cudagraph_capture_size "${max_cudagraph_capture_size}" \
--attention-backend B12X_MLA_SPARSE \
--enable-chunked-prefill \
--enable-prefix-caching \
--compilation-config '{"cudagraph_mode":"FULL_AND_PIECEWISE","custom_ops":["all"]}' \
--tokenizer-mode deepseek_v4 \
--tool-call-parser deepseek_v4 \
--enable-auto-tool-choice \
--reasoning-parser deepseek_v4 \
"${autotune_args[@]}" \
"${profiler_args[@]}" \
"${spec_args[@]}" \
"$@"
Loading
Loading