compose: A16-scale-fix image (~1.03M-token KV pool) + JIT-cache persistence
Browse files- docker-compose.yml +11 -3
docker-compose.yml
CHANGED
|
@@ -2,7 +2,7 @@
|
|
| 2 |
# (e.g. RTX PRO 6000, SM120). Works for both the -504B (code-calib) and -504B-term variants.
|
| 3 |
#
|
| 4 |
# Best config (defaults below): DCP4 + MTP5 + global-topk + DCP-sharded draft + use_index_cache
|
| 5 |
-
# →
|
| 6 |
# 256k prefill no-wedge, ~200 tok/s aggregate @ concurrency 4.
|
| 7 |
#
|
| 8 |
# Quickstart:
|
|
@@ -11,12 +11,13 @@
|
|
| 11 |
#
|
| 12 |
# Tuning via env (no file edits):
|
| 13 |
# max decode speed, short ctx : DCP_SIZE=1 MTP=1 MAX_MODEL_LEN=125000
|
| 14 |
-
# absolute max context : raise MAX_MODEL_LEN toward the KV pool (~
|
| 15 |
# no speculative decode : MTP=0
|
| 16 |
# Sampling: temperature 0.6, top_p 0.95, repetition_penalty 1.0 (do NOT exceed 1.0).
|
| 17 |
services:
|
| 18 |
glm52-reap:
|
| 19 |
-
|
|
|
|
| 20 |
container_name: ${NAME:-glm52-reap}
|
| 21 |
network_mode: host
|
| 22 |
ipc: host
|
|
@@ -52,6 +53,13 @@ services:
|
|
| 52 |
VLLM_USE_B12X_SPARSE_INDEXER: "1"
|
| 53 |
VLLM_DCP_GLOBAL_TOPK: "1"
|
| 54 |
VLLM_DCP_SHARD_DRAFT: "1"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 55 |
VLLM_USE_V2_MODEL_RUNNER: "1"
|
| 56 |
VLLM_ENABLE_PCIE_ALLREDUCE: "1"
|
| 57 |
VLLM_PCIE_ALLREDUCE_BACKEND: b12x
|
|
|
|
| 2 |
# (e.g. RTX PRO 6000, SM120). Works for both the -504B (code-calib) and -504B-term variants.
|
| 3 |
#
|
| 4 |
# Best config (defaults below): DCP4 + MTP5 + global-topk + DCP-sharded draft + use_index_cache
|
| 5 |
+
# → ~1.03M-token KV pool (A16-scale-fix image); 70-94 tok/s codegen, ~50 tok/s @256k (flat at depth),
|
| 6 |
# 256k prefill no-wedge, ~200 tok/s aggregate @ concurrency 4.
|
| 7 |
#
|
| 8 |
# Quickstart:
|
|
|
|
| 11 |
#
|
| 12 |
# Tuning via env (no file edits):
|
| 13 |
# max decode speed, short ctx : DCP_SIZE=1 MTP=1 MAX_MODEL_LEN=125000
|
| 14 |
+
# absolute max context : raise MAX_MODEL_LEN toward the KV pool (~1.03M @ DCP4)
|
| 15 |
# no speculative decode : MTP=0
|
| 16 |
# Sampling: temperature 0.6, top_p 0.95, repetition_penalty 1.0 (do NOT exceed 1.0).
|
| 17 |
services:
|
| 18 |
glm52-reap:
|
| 19 |
+
# A16-scale-fix build: frees ~7 GiB/GPU vs the prior image (no stale dequant scales in VRAM) -> ~1.03M-token KV pool on TP4.
|
| 20 |
+
image: ${IMAGE:-voipmonitor/vllm:glm52-dark-devotion-pr31-pr15-w4a16scale-vllm79f154c-b12xaecc88f-cu132-20260622}
|
| 21 |
container_name: ${NAME:-glm52-reap}
|
| 22 |
network_mode: host
|
| 23 |
ipc: host
|
|
|
|
| 53 |
VLLM_USE_B12X_SPARSE_INDEXER: "1"
|
| 54 |
VLLM_DCP_GLOBAL_TOPK: "1"
|
| 55 |
VLLM_DCP_SHARD_DRAFT: "1"
|
| 56 |
+
# JIT/compile-cache persistence -> artifacts land in the mounted ./cache and survive restarts = much faster reboots
|
| 57 |
+
VLLM_CACHE_DIR: /cache/jit/vllm
|
| 58 |
+
TRITON_CACHE_DIR: /cache/jit/triton
|
| 59 |
+
TORCH_EXTENSIONS_DIR: /cache/jit/torch_extensions
|
| 60 |
+
TORCHINDUCTOR_CACHE_DIR: /cache/jit/torchinductor
|
| 61 |
+
FLASHINFER_WORKSPACE_BASE: /cache/jit/flashinfer
|
| 62 |
+
XDG_CACHE_HOME: /cache/jit
|
| 63 |
VLLM_USE_V2_MODEL_RUNNER: "1"
|
| 64 |
VLLM_ENABLE_PCIE_ALLREDUCE: "1"
|
| 65 |
VLLM_PCIE_ALLREDUCE_BACKEND: b12x
|