Three fixes derived from CCCL source code patterns: 1. CCCL accumulator_t pattern (dispatch_segmented_scan.cuh): - Clamp g to [-5, 2] BEFORE cumsum (was: no pre-clamp, post-clamp ±80) - Tighten post-cumsum clamp to ±20 (was ±80) - Clamp A_log to [-8, 4] before exp() (was: unclamped) - Clamp softplus output to max=10 (was: unclamped) - Clamp g before exp_() in decode path (was: NO clamp at all) 2. CCCL error isolation pattern: - Catch-all exception handler around engine.generate() - max-num-seqs 1→2 to prevent t2_n_2 crash cascade 3. Reduce _DNN_CHUNK 4096→2048 (fewer cumsum steps = less overflow) Root cause: Sub508/509 scored 0 because t2_n_2 killed engine process. NaN (99.98-100% per GatedDeltaNet layer) from unclamped cumsum→exp overflow.
57 lines
1.5 KiB
YAML
57 lines
1.5 KiB
YAML
concurrency: 1
|
|
command:
|
|
- python3
|
|
- -m
|
|
- vllm.entrypoints.openai.api_server
|
|
- --model
|
|
- /model
|
|
- --served-model-name
|
|
- llm
|
|
- --max-model-len
|
|
- '80000'
|
|
- --gpu-memory-utilization
|
|
- '0.9'
|
|
- --trust-remote-code
|
|
- -tp
|
|
- '4'
|
|
- --max-num-seqs
|
|
- '2'
|
|
- --disable-log-requests
|
|
- --disable-frontend-multiprocessing
|
|
- --enforce-eager
|
|
- --enable-auto-tool-choice
|
|
- --tool-call-parser
|
|
- qwen3_coder
|
|
- --reasoning-parser
|
|
- qwen3
|
|
- --enable-prefix-caching
|
|
- --max-seq-len-to-capture
|
|
- '8192'
|
|
- --dtype
|
|
- half
|
|
env:
|
|
- name: VLLM_ENGINE_ITERATION_TIMEOUT_S
|
|
value: '3600'
|
|
- name: VLLM_ATTENTION_BACKEND
|
|
value: XFORMERS
|
|
- name: ENABLE_CUSTOM_IPC
|
|
value: '1'
|
|
- name: PYTHONPATH
|
|
value: /usr/local/corex/lib/python3/dist-packages:/usr/local/corex/lib64/python3/dist-packages
|
|
- name: LD_LIBRARY_PATH
|
|
value: /usr/local/corex/lib64:/usr/local/openmpi/lib
|
|
- name: VLLM_COREX_FA2_LIBRARY
|
|
value: /usr/local/corex/lib64/libcorex_fa2.so
|
|
- name: VLLM_COREX_GDN_LIBRARY
|
|
value: /usr/local/corex/lib64/libcorex_gdn.so
|
|
- name: VLLM_COREX_MOE_LIBRARY
|
|
value: /usr/local/corex/lib64/libcorex_moe.so
|
|
- name: VLLM_REQUEST_METRICS_FILE
|
|
value: /tmp/vllm-request-metrics.jsonl
|
|
- name: VLLM_CACHE_BLOCK_SIZE
|
|
value: '16'
|
|
- name: PYTORCH_CUDA_ALLOC_CONF
|
|
value: max_split_size_mb:512
|
|
- name: OMP_NUM_THREADS
|
|
value: '1'
|