Root cause from latest docker build log: ValueError: You set image=0 in --limit-mm-per-prompt, but found 1 items → Engine background task crashes → AsyncEngineDeadError → all subsequent 503 Fixes: 1. computility-run.yaml: add --limit-mm-per-prompt image=1 Prevents multimodal ValueError from killing the engine process. 2. patch_ops.sh: DON'T overwrite base image's corex_gdn.py/corex_moe.py Comp 168 log proves base image's corex modules work with libcorex_gdn.so. Our overwrite broke CoreXGDN.__init__ (unexpected kwarg 'num_v_heads'). Only deploy ours if base has NO corex modules at all. Also deploy corex_fa2.py if base lacks it. 3. qwen3_5.py: try multiple CoreXGDN init signatures Base image CoreXGDN may accept different kwargs than ours. Try kwargs form first, fall back to positional. 4. corex_gdn.py: accept both calling conventions in __init__ Future-proof for when we DO need to deploy ours. 5. Copied upstream_ref headers: ilu_layer_fused_moe.h, ilu_layer_attention.h Last 2 missing ILU files from xllm. All 14/14 now present.
52 lines
1.3 KiB
YAML
52 lines
1.3 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.95'
|
|
- --trust-remote-code
|
|
- -tp
|
|
- '4'
|
|
- --max-num-seqs
|
|
- '2'
|
|
- --max-num-batched-tokens
|
|
- '4096'
|
|
- --enable-chunked-prefill
|
|
- --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
|
|
- --limit-mm-per-prompt
|
|
- image=1
|
|
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:/usr/local/corex/lib64/python3/dist-packages/ixformer
|
|
- name: PYTORCH_CUDA_ALLOC_CONF
|
|
value: max_split_size_mb:512
|
|
- name: OMP_NUM_THREADS
|
|
value: '1'
|