Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
Original file line number Diff line number Diff line change
@@ -0,0 +1,263 @@
base:
schema: 2
model:
path: qwen3.5-fp8
container: lmsysorg/sglang:nightly-dev-cu13-20260913-fa663e72
precision: fp8
dynamo:
install: true
source:
rev: ad6f7d54ce7b99c53576b10482755c93c921fbac
health_check:
max_attempts: 1440
interval_seconds: 10
resources:
gpu_type: gb300
gpus_per_node: 4
services:
- name: etcd
type: etcd
placement:
node: dedicated
- name: nats
type: nats
placement:
node: dedicated
options:
max_payload_mb: 8
frontend:
type: dynamo
nginx_session_affinity: true
enable_multiple_frontends: true
num_additional_frontends: 1
env:
PIP_BREAK_SYSTEM_PACKAGES: '1'
args:
router-mode: kv
router-session-affinity-ttl-secs: '3600'
active-decode-blocks-threshold: None
active-prefill-tokens-threshold: None
active-prefill-tokens-threshold-frac: None
router-replica-sync: true
router-queue-threshold: None
router-temperature: '1.0'
nginx_container: nginx
engine: sglang
roles:
prefill:
gpus: 4
env:
PYTHONOPTIMIZE: '1'
PYTORCH_CUDA_ALLOC_CONF: expandable_segments:True
SGLANG_DISAGG_STAGING_BUFFER: '1'
NO_COLOR: '1'
PYTHONUNBUFFERED: '1'
PIP_BREAK_SYSTEM_PACKAGES: '1'
TORCH_DISTRIBUTED_DEFAULT_TIMEOUT: '1800'
NCCL_MNNVL_ENABLE: '1'
NCCL_CUMEM_ENABLE: '1'
NCCL_NVLS_ENABLE: '0'
MC_FORCE_MNNVL: '1'
NVSHMEM_REMOTE_TRANSPORT: none
SGLANG_ENABLE_FLASHINFER_GEMM: 'true'
FLASHINFER_DISABLE_VERSION_CHECK: '1'
SGLANG_DG_CACHE_DIR: /tmp/fp8-agentx/prefill-deepgemm-cache
FLASHINFER_WORKSPACE_BASE: /tmp/fp8-agentx/prefill-flashinfer-cache
SGLANG_DISAGGREGATION_HEARTBEAT_MAX_FAILURE: '100000'
SGLANG_DISAGGREGATION_BOOTSTRAP_TIMEOUT: '100000'
SGLANG_DISAGGREGATION_WAITING_TIMEOUT: '100000'
SGLANG_MOONCAKE_CUSTOM_MEM_POOL: 'True'
SGLANG_USE_MESSAGE_QUEUE_BROADCASTER: '0'
SGLANG_DISABLE_TP_MEMORY_INBALANCE_CHECK: '1'
SGLANG_OPT_MAMBA_SKIP_DECODE_LOCK: '1'
SGLANG_FLASHINFER_NUM_MAX_DISPATCH_TOKENS_PER_RANK: '8192'
SGLANG_DISAGG_STAGING_POOL_SIZE_MB: '8192'
SGLANG_PP_LAYER_PARTITION: 16,16,16,12
SGLANG_FLASHINFER_AUTOTUNE_CACHE: '1'
SGLANG_FLASHINFER_AUTOTUNE_EXTEND: '1'
SGLANG_CACHE_DIR: /tmp/fp8-agentx/prefill-sglang-cache
MC_TE_METRIC: 'true'
args:
served-model-name: Qwen/Qwen3.5-397B-A17B-FP8
enable-metrics: true
enable-cache-report: true
model-path: /model/
trust-remote-code: true
quantization: fp8
kv-cache-dtype: fp8_e4m3
tensor-parallel-size: 1
pipeline-parallel-size: 4
data-parallel-size: 1
expert-parallel-size: 1
enable-dp-attention: false
enable-dp-lm-head: false
enable-symm-mem: false
disable-overlap-schedule: false
enable-dynamic-chunking: false
mamba-ssm-dtype: bfloat16
mamba-radix-cache-strategy: extra_buffer
mamba-track-interval: 1048576
mamba-max-states-per-path: 3
max-mamba-cache-size: 1536
max-running-requests: 128
disaggregation-mode: prefill
disaggregation-bootstrap-port: 31000
load-balance-method: round_robin
page-size: 64
attention-backend: trtllm_mha
moe-runner-backend: flashinfer_trtllm
speculative-algorithm: NEXTN
speculative-num-steps: 6
speculative-eagle-topk: 1
speculative-num-draft-tokens: 7
linear-attn-decode-backend: triton
mem-fraction-static: 0.85
max-prefill-tokens: 32768
chunked-prefill-size: 32768
enable-hierarchical-cache: true
hicache-host-memory-mode: cache
hicache-write-policy: write_back
hicache-io-backend: kernel
hicache-mem-layout: page_first_direct
hicache-ratio: 1.0
watchdog-timeout: 1000000
log-level: info
nccl-port: 29500
scheduler-recv-interval: 1
weight-loader-prefetch-checkpoints: true
weight-loader-prefetch-num-threads: 4
moe-dense-tp-size: 1
disable-shared-experts-fusion: true
moe-a2a-backend: none
speculative-moe-a2a-backend: none
speculative-moe-runner-backend: flashinfer_trtllm
pp-async-batch-depth: 1
cuda-graph-backend-prefill: breakable
cuda-graph-max-bs-prefill: 32768
enable-request-time-stats-logging: true
decode:
nodes: 4
workers: 1
gpus: 16
env:
SGLANG_USE_SYMM_MEM_DP_SYNC: 'true'
SGLANG_TRTLLM_MHA_DECODE_SEQ_LEN_SPLITS: '1'
PYTORCH_CUDA_ALLOC_CONF: expandable_segments:True
SGLANG_DISAGG_STAGING_BUFFER: '1'
NO_COLOR: '1'
PYTHONUNBUFFERED: '1'
PIP_BREAK_SYSTEM_PACKAGES: '1'
TORCH_DISTRIBUTED_DEFAULT_TIMEOUT: '1800'
NCCL_MNNVL_ENABLE: '1'
NCCL_CUMEM_ENABLE: '1'
NCCL_NVLS_ENABLE: '0'
MC_FORCE_MNNVL: '1'
NVSHMEM_REMOTE_TRANSPORT: none
MC_TE_METRIC: 'true'
SGLANG_ENABLE_SPEC_V2: '1'
SGLANG_ENABLE_FLASHINFER_GEMM: 'true'
SGLANG_NCCL_ALL_GATHER_IN_OVERLAP_SCHEDULER_SYNC_BATCH: '1'
FLASHINFER_DISABLE_VERSION_CHECK: '1'
SGLANG_DG_CACHE_DIR: /tmp/fp8-agentx/decode-deepgemm-cache
FLASHINFER_WORKSPACE_BASE: /tmp/fp8-agentx/decode-flashinfer-cache
SGLANG_DISAGGREGATION_HEARTBEAT_MAX_FAILURE: '100000'
SGLANG_DISAGGREGATION_BOOTSTRAP_TIMEOUT: '100000'
SGLANG_DISAGGREGATION_WAITING_TIMEOUT: '100000'
SGLANG_MOONCAKE_CUSTOM_MEM_POOL: 'True'
SGLANG_USE_MESSAGE_QUEUE_BROADCASTER: '0'
SGLANG_DISABLE_TP_MEMORY_INBALANCE_CHECK: '1'
SGLANG_HEALTH_CHECK_TIMEOUT: '1800'
SGLANG_ENABLE_HEALTH_ENDPOINT_GENERATION: '0'
SGLANG_DISAGG_STAGING_POOL_SIZE_MB: '8192'
SGLANG_CACHE_DIR: /tmp/fp8-agentx/decode-sglang-cache
SGLANG_FLASHINFER_AUTOTUNE_CACHE: '1'
args:
served-model-name: Qwen/Qwen3.5-397B-A17B-FP8
enable-metrics: true
enable-cache-report: true
model-path: /model/
trust-remote-code: true
quantization: fp8
kv-cache-dtype: fp8_e4m3
tensor-parallel-size: 16
pipeline-parallel-size: 1
data-parallel-size: 16
expert-parallel-size: 16
moe-dense-tp-size: 1
enable-dp-attention: true
enable-dp-lm-head: true
load-balance-method: round_robin
mamba-track-interval: 128
mamba-ssm-dtype: bfloat16
disaggregation-mode: decode
disable-radix-cache: true
disaggregation-bootstrap-port: 31000
page-size: 64
attention-backend: trtllm_mha
moe-runner-backend: flashinfer_trtllm
linear-attn-decode-backend: triton
disable-shared-experts-fusion: true
moe-a2a-backend: flashinfer
ep-dispatch-algorithm: static
eplb-algorithm: deepseek
speculative-algorithm: NEXTN
speculative-num-steps: 6
speculative-eagle-topk: 1
speculative-num-draft-tokens: 7
speculative-moe-runner-backend: flashinfer_trtllm_routed
speculative-moe-a2a-backend: flashinfer
chunked-prefill-size: 4096
mem-fraction-static: 0.85
max-mamba-cache-size: 1872
max-running-requests: 640
cuda-graph-max-bs-decode: 128
enable-request-time-stats-logging: true
disaggregation-decode-extra-slots: 2
stream-interval: 30
enable-linear-replayssm-spec: true
linear-replayssm-cache-len: 32
decode-log-interval: 30
watchdog-timeout: 1000000
weight-loader-prefetch-checkpoints: true
weight-loader-prefetch-num-threads: 4
sbatch_directives:
mem: '0'
cpus-per-task: '144'
srun_options:
mem: '0'
container-remap-root: ''
benchmark:
type: custom
command: bash /infmax-workspace/benchmarks/srt_agentic.sh
env:
INFMAX_CONTAINER_WORKSPACE: /infmax-workspace
RESULT_DIR: /logs/agentic
PORT: '8000'
IS_MULTINODE: 'true'
WEKA_LOADER_OVERRIDE: semianalysis_cc_traces_weka_062126_256k
AIPERF_DATASET_MMAP_CACHE_DIR: /aiperf_mmap_cache
HF_HUB_CACHE: /hf_hub_cache
AIPERF_HTTP_X_DYNAMO_SESSION_ID_FROM_CORRELATION_ID: 'true'
AIPERF_USE_DYNAMO_CONV_AWARE_ROUTING: '0'
AIPERF_REQUIRED_SERVER_METRIC_PREFIX: 'sglang:'
use_chat_template: true
slurm:
time_limit: '8:00:00'
override_1p1d:
name: disagg-1p1d-pp4-dep16-s1-mtp6-hicache
roles:
prefill:
nodes: 1
workers: 1
override_2p1d:
name: disagg-2p1d-pp4-dep16-s1-mtp6-hicache
roles:
prefill:
nodes: 2
workers: 2
override_3p1d:
name: disagg-3p1d-pp4-dep16-s1-mtp6-hicache
roles:
prefill:
nodes: 3
workers: 3
Loading
Loading