94057c3d3e
PR Test (NPU) / check-changes (push) Has been cancelled
PR Test (NPU) / pr-gate (push) Has been cancelled
PR Test (NPU) / set-image-config (push) Has been cancelled
PR Test (NPU) / stage-b-test-1-npu-a2 (0) (push) Has been cancelled
PR Test (NPU) / stage-b-test-1-npu-a2 (1) (push) Has been cancelled
PR Test (NPU) / stage-b-test-2-npu-a2 (0) (push) Has been cancelled
PR Test (NPU) / stage-b-test-2-npu-a2 (1) (push) Has been cancelled
PR Test (NPU) / stage-b-test-4-npu-a3 (push) Has been cancelled
PR Test (NPU) / stage-b-test-16-npu-a3 (push) Has been cancelled
PR Test (NPU) / multimodal-gen-test-1-npu-a3 (push) Has been cancelled
PR Test (NPU) / multimodal-gen-test-2-npu-a3 (push) Has been cancelled
PR Test (Arm64) / pr-gate (push) Has been cancelled
PR Test (Arm64) / check-changes (push) Has been cancelled
PR Test (Arm64) / build-test (push) Has been cancelled
PR Test (sgl-router) / gate (push) Has been cancelled
PR Test (sgl-router) / tier-1 — lint (push) Has been cancelled
PR Test (sgl-router) / tier-2 — build + test (push) Has been cancelled
PR Test (sgl-router) / tier-3 — docker (placeholder) (push) Has been cancelled
PR Test (sgl-router) / tier-3 — k8s integration (push) Has been cancelled
PR Test (sgl-router) / tier-3 — e2e (push) Has been cancelled
PR Test (sgl-router) / finish (push) Has been cancelled
PR Test (NPU) / single-node-poc (map[name:qwen3_6_27b_w8a8_1p_in64k_out1k_50ms runner:linux-aarch64-a3-2 test_case:test/registered/ascend/performance/qwen3_6_27b/test_npu_qwen3_6_27b_w8a8_1p_in64k_out1k_50ms.py test_type:perf]) (push) Has been cancelled
PR Test (NPU) / pr-test-npu-finish (push) Has been cancelled
PR Test (Xeon) / pr-gate (push) Has been cancelled
PR Test (Xeon) / check-changes (push) Has been cancelled
PR Test (Xeon) / build-test (, xeon-gnr, base-b-test-cpu) (push) Has been cancelled
PR Test (XPU) / check-changes (push) Has been cancelled
PR Test (XPU) / pr-gate (push) Has been cancelled
PR Test (XPU) / stage-a-test-1-gpu-xpu (push) Has been cancelled
PR Test (XPU) / wait-for-stage-a (push) Has been cancelled
PR Test (XPU) / stage-b-test-1-gpu-xpu (push) Has been cancelled
PR Test (XPU) / finish (push) Has been cancelled
CI Model Inventory / build-inventory (push) Has been cancelled
Lint / lint (push) Has been cancelled
PR Benchmark (SMG Components) / Benchmark Compilation Check (push) Has been cancelled
PR Benchmark (SMG Components) / Benchmark - Manual Policy (push) Has been cancelled
PR Benchmark (SMG Components) / Benchmark - Request Processing (push) Has been cancelled
PR Benchmark (SMG Components) / Benchmark Summary (push) Has been cancelled
PR Test (SMG) / build-wheel (push) Has been cancelled
Release SGLang Model Gateway to PyPI / build on windows (x86_64 - auto) (push) Has been cancelled
Release SGLang Model Gateway to PyPI / build on macos (x86_64 - auto) (push) Has been cancelled
PR Test (SMG) / python-unit-tests (push) Has been cancelled
PR Test (SMG) / unit-tests (push) Has been cancelled
PR Test (SMG) / benchmarks (push) Has been cancelled
PR Test (SMG) / chat-completions (push) Has been cancelled
PR Test (SMG) / chat-completions-4gpu (push) Has been cancelled
PR Test (SMG) / e2e (push) Has been cancelled
PR Test (SMG) / docker-build-test (push) Has been cancelled
PR Test (SMG) / k8s-integration (push) Has been cancelled
PR Test (SMG) / finish (push) Has been cancelled
PR Test (SMG) / summarize-benchmarks (push) Has been cancelled
Release SGLang Model Gateway Docker Image / publish (push) Has been cancelled
Release SGLang Model Gateway to PyPI / build on macos (aarch64 - auto) (push) Has been cancelled
Release SGLang Model Gateway to PyPI / build on linux (aarch64 - auto) (push) Has been cancelled
Release SGLang Model Gateway to PyPI / build on linux (x86_64 - auto) (push) Has been cancelled
Release SGLang Model Gateway to PyPI / build on linux (aarch64 - musllinux_1_1) (push) Has been cancelled
Release SGLang Model Gateway to PyPI / build on linux (x86_64 - musllinux_1_1) (push) Has been cancelled
Release SGLang Model Gateway to PyPI / Build SDist (push) Has been cancelled
Release SGLang Model Gateway to PyPI / Upload to PyPI (push) Has been cancelled
Release SGLang Kernels / build-cu129-matrix (aarch64, 12.9, 3.10, arm-kernel-build-node) (push) Has been cancelled
Release SGLang Kernels / build-cu129-matrix (x86_64, 12.9, 3.10, x64-kernel-build-node) (push) Has been cancelled
Release SGLang Kernels / release-cu129 (push) Has been cancelled
Release SGLang Kernels / build-cu130-matrix (aarch64, 13.0, 3.10, arm-kernel-build-node) (push) Has been cancelled
Release SGLang Kernels / build-cu130-matrix (x86_64, 13.0, 3.10, x64-kernel-build-node) (push) Has been cancelled
Release SGLang Kernels / release-cu130 (push) Has been cancelled
Release SGLang Kernels / build-rocm-matrix (3.10, 700) (push) Has been cancelled
Release SGLang Kernels / build-rocm-matrix (3.10, 720) (push) Has been cancelled
Release SGLang Kernels / release-rocm700 (push) Has been cancelled
Release SGLang Kernels / release-rocm720 (push) Has been cancelled
Release SGLang Kernels / build-musa43 (43, 3.10) (push) Has been cancelled
Release SGLang Kernels / release-musa43 (push) Has been cancelled
291 lines
8.4 KiB
YAML
291 lines
8.4 KiB
YAML
apiVersion: leaderworkerset.x-k8s.io/v1
|
|
kind: LeaderWorkerSet
|
|
metadata:
|
|
name: deepseekr10528-decode-main
|
|
spec:
|
|
leaderWorkerTemplate:
|
|
leaderTemplate:
|
|
metadata:
|
|
labels:
|
|
role: leader
|
|
spec:
|
|
containers:
|
|
- command:
|
|
- python3
|
|
- -m
|
|
- sglang.launch_server
|
|
- --port
|
|
- "30000"
|
|
- --host
|
|
- "0.0.0.0"
|
|
- --model-path
|
|
- /work/models
|
|
- --chunked-prefill-size
|
|
- "262144"
|
|
- --page-size
|
|
- "64"
|
|
- --enable-dp-attention
|
|
- --enable-dp-lm-head
|
|
- --dp-size
|
|
- "16"
|
|
- --moe-a2a-backend
|
|
- deepep
|
|
- --disaggregation-mode
|
|
- decode
|
|
- --mem-fraction-static
|
|
- "0.849"
|
|
- --context-length
|
|
- "32768"
|
|
- --disaggregation-ib-device
|
|
- "mlx5_bond_0,mlx5_bond_1,mlx5_bond_2,mlx5_bond_3"
|
|
- --cuda-graph-max-bs
|
|
- "64"
|
|
- --max-running-requests
|
|
- "2048"
|
|
- --tp-size
|
|
- "16" # Size of Tensor Parallelism
|
|
- --dist-init-addr
|
|
- $(LWS_LEADER_ADDRESS):20102
|
|
- --nnodes
|
|
- $(LWS_GROUP_SIZE)
|
|
- --node-rank
|
|
- $(LWS_WORKER_INDEX)
|
|
- --trust-remote-code
|
|
- --ep-num-redundant-experts
|
|
- "32"
|
|
- --moe-dense-tp-size
|
|
- "1"
|
|
env:
|
|
- name: CUDA_LAUNCH_BLOCKING
|
|
value: "0"
|
|
- name: NVSHMEM_IB_GID_INDEX
|
|
value: "3"
|
|
- name: NVSHMEM_ENABLE_NIC_PE_MAPPING
|
|
value: "1"
|
|
- name: NVSHMEM_HCA_PE_MAPPING
|
|
value: "mlx5_bond_0:1:2,mlx5_bond_1:1:2,mlx5_bond_2:1:2,mlx5_bond_3:1:2"
|
|
- name: NCCL_IB_QPS_PER_CONNECTION
|
|
value: "8"
|
|
- name: NCCL_IB_SPLIT_DATA_ON_QPS
|
|
value: "1"
|
|
- name: NCCL_NET_PLUGIN
|
|
value: "none"
|
|
- name: NCCL_IB_TC
|
|
value: "136"
|
|
- name: NCCL_MIN_NCHANNELS
|
|
value: "4"
|
|
- name: NCCL_IB_SL
|
|
value: "5"
|
|
- name: MC_TE_METRIC
|
|
value: "true"
|
|
- name: SGLANG_MOONCAKE_TRANS_THREAD
|
|
value: "16"
|
|
- name: SGLANG_ENABLE_JIT_DEEPGEMM
|
|
value: "1"
|
|
- name: NCCL_IB_HCA
|
|
value: ^=mlx5_0,mlx5_5,mlx5_6
|
|
- name: LWS_WORKER_INDEX
|
|
valueFrom:
|
|
fieldRef:
|
|
fieldPath: metadata.labels['leaderworkerset.sigs.k8s.io/worker-index']
|
|
image: lmsysorg/sglang:latest
|
|
name: sglang-leader
|
|
ports:
|
|
- containerPort: 30000
|
|
protocol: TCP
|
|
readinessProbe:
|
|
periodSeconds: 30
|
|
tcpSocket:
|
|
port: 30000
|
|
resources:
|
|
limits:
|
|
nvidia.com/gpu: "8"
|
|
securityContext:
|
|
capabilities:
|
|
add:
|
|
- IPC_LOCK
|
|
privileged: true
|
|
volumeMounts:
|
|
- mountPath: /root/.cache
|
|
name: sgl-cache
|
|
- mountPath: /dev/shm
|
|
name: dshm
|
|
- mountPath: /work/models
|
|
name: model
|
|
- mountPath: /dev/infiniband
|
|
name: ib
|
|
- mountPath: /sgl-workspace/sglang/python/sglang/srt/layers/moe/fused_moe_triton/configs
|
|
name: cf
|
|
dnsPolicy: ClusterFirstWithHostNet
|
|
hostIPC: true
|
|
hostNetwork: true
|
|
nodeSelector:
|
|
# should modify according your deployment env
|
|
pd: "yes"
|
|
tolerations:
|
|
# should modify according your deployment env
|
|
- key: bopd
|
|
operator: Exists
|
|
- key: node-role
|
|
operator: Exists
|
|
volumes:
|
|
- hostPath:
|
|
path: /data1/sgl_cache1
|
|
type: DirectoryOrCreate
|
|
name: sgl-cache
|
|
- emptyDir:
|
|
medium: Memory
|
|
name: dshm
|
|
- hostPath:
|
|
path: /data1/maas_hosted_models/models/DeepSeek-R1-0528/deepseek_r1_0528
|
|
name: model
|
|
- hostPath:
|
|
path: /dev/infiniband
|
|
name: ib
|
|
- hostPath:
|
|
path: /data1/maas_hosted_models/models/fused_moe_triton/configs
|
|
name: cf
|
|
restartPolicy: RecreateGroupOnPodRestart
|
|
size: 2
|
|
workerTemplate:
|
|
metadata: {}
|
|
spec:
|
|
containers:
|
|
- command:
|
|
- python3
|
|
- -m
|
|
- sglang.launch_server
|
|
- --model-path
|
|
- /work/models
|
|
- --chunked-prefill-size
|
|
- "262144"
|
|
- --page-size
|
|
- "64"
|
|
- --enable-dp-attention
|
|
- --enable-dp-lm-head
|
|
- --dp-size
|
|
- "16"
|
|
- --moe-a2a-backend
|
|
- deepep
|
|
- --disaggregation-mode
|
|
- decode
|
|
- --mem-fraction-static
|
|
- "0.849"
|
|
- --context-length
|
|
- "32768"
|
|
- --disaggregation-ib-device
|
|
- "mlx5_bond_0,mlx5_bond_1,mlx5_bond_2,mlx5_bond_3"
|
|
- --cuda-graph-max-bs
|
|
- "64"
|
|
- --max-running-requests
|
|
- "2048"
|
|
- --tp-size
|
|
- "16" # Size of Tensor Parallelism
|
|
- --dist-init-addr
|
|
- $(LWS_LEADER_ADDRESS):20102
|
|
- --nnodes
|
|
- $(LWS_GROUP_SIZE)
|
|
- --node-rank
|
|
- $(LWS_WORKER_INDEX)
|
|
- --trust-remote-code
|
|
- --ep-num-redundant-experts
|
|
- "32"
|
|
- --moe-dense-tp-size
|
|
- "1"
|
|
env:
|
|
- name: NVSHMEM_IB_TRAFFIC_CLASS
|
|
value: "16"
|
|
- name: NVSHMEM_IB_GID_INDEX
|
|
value: "3"
|
|
- name: NVSHMEM_ENABLE_NIC_PE_MAPPING
|
|
value: "1"
|
|
- name: NVSHMEM_HCA_PE_MAPPING
|
|
value: "mlx5_bond_0:1:2,mlx5_bond_1:1:2,mlx5_bond_2:1:2,mlx5_bond_3:1:2"
|
|
- name: NCCL_IB_QPS_PER_CONNECTION
|
|
value: "8"
|
|
- name: NCCL_IB_SPLIT_DATA_ON_QPS
|
|
value: "1"
|
|
- name: NCCL_NET_PLUGIN
|
|
value: "none"
|
|
- name: NCCL_IB_TC
|
|
value: "136"
|
|
- name: NCCL_MIN_NCHANNELS
|
|
value: "4"
|
|
- name: MC_TE_METRIC
|
|
value: "true"
|
|
- name: NCCL_IB_SL
|
|
value: "5"
|
|
- name: SGLANG_MOONCAKE_TRANS_THREAD
|
|
value: "16"
|
|
- name: SGLANG_ENABLE_JIT_DEEPGEMM
|
|
value: "1"
|
|
- name: NCCL_IB_HCA
|
|
value: ^=mlx5_0,mlx5_5,mlx5_6
|
|
- name: LWS_WORKER_INDEX
|
|
valueFrom:
|
|
fieldRef:
|
|
fieldPath: metadata.labels['leaderworkerset.sigs.k8s.io/worker-index']
|
|
image: lmsysorg/sglang:latest
|
|
name: sglang-worker
|
|
ports:
|
|
- containerPort: 30001
|
|
resources:
|
|
limits:
|
|
nvidia.com/gpu: "8"
|
|
securityContext:
|
|
capabilities:
|
|
add:
|
|
- IPC_LOCK
|
|
privileged: true
|
|
volumeMounts:
|
|
- mountPath: /root/.cache
|
|
name: sgl-cache
|
|
- mountPath: /dev/shm
|
|
name: dshm
|
|
- mountPath: /work/models
|
|
name: model
|
|
- mountPath: /dev/infiniband
|
|
name: ib
|
|
- mountPath: /sgl-workspace/sglang/python/sglang/srt/layers/moe/fused_moe_triton/configs
|
|
name: cf
|
|
dnsPolicy: ClusterFirstWithHostNet
|
|
hostIPC: true
|
|
hostNetwork: true
|
|
nodeSelector:
|
|
# should modify according your deployment env
|
|
pd: "yes"
|
|
tolerations:
|
|
# should modify according your deployment env
|
|
- key: bopd
|
|
operator: Exists
|
|
- key: node-role
|
|
operator: Exists
|
|
volumes:
|
|
- hostPath:
|
|
path: /data1/sgl_cache1
|
|
type: DirectoryOrCreate
|
|
name: sgl-cache
|
|
- emptyDir:
|
|
medium: Memory
|
|
name: dshm
|
|
- hostPath:
|
|
path: /dev/infiniband
|
|
name: ib
|
|
- hostPath:
|
|
# modify according to you deployment env
|
|
path: /data1/maas_hosted_models/models/DeepSeek-R1-0528/deepseek_r1_0528
|
|
name: model
|
|
- hostPath:
|
|
# modify according to you deployment env
|
|
path: /data1/maas_hosted_models/models/fused_moe_triton/configs
|
|
name: cf
|
|
networkConfig:
|
|
subdomainPolicy: Shared
|
|
replicas: 1
|
|
rolloutStrategy:
|
|
rollingUpdateConfiguration:
|
|
maxSurge: 0
|
|
maxUnavailable: 1
|
|
type: RollingUpdate
|
|
startupPolicy: LeaderCreated
|