Files
project_6/computility-run.yaml
project6-dev 0ea77690a0 fix(CRITICAL): stop overwriting base image model layer — match comp 168 strategy
Root cause of ALL failures: we overwrite base image's production code with our
inferior versions, breaking multimodal, killing C++ kernel performance, and
causing engine death.

Comp 168 evidence (48/52 pass, score=60194):
  - Uses base image qwen3_5.py (81706B) with full multimodal + CoreX integration
  - Uses base image corex_gdn/moe/fa2.py with real C++ kernels (libcorex_gdn.so)
  - Uses base image _custom_ops.py (ERROR spam is harmless)
  - d01: 8.49s, d05 multimodal: PASS, t13 base64 image: PASS

Our sub 508 (21/52 pass, score=0):
  - Overwrites qwen3_5.py → NO multimodal → engine death on image request
  - Overwrites corex_*.py → Python fallback → d01: 95.87s (11x slower)
  - Overwrites _custom_ops.py → may break base fallback chain

Changes:
1. patch_ops.sh: qwen3_5.py — KEEP base if >1000 bytes (was: ALWAYS overwrite)
2. patch_ops.sh: corex_*.py — KEEP base if >500 bytes (was: ALWAYS overwrite)
3. patch_ops.sh: _custom_ops.py — KEEP base always (was: ALWAYS overwrite)
4. computility-run.yaml: match comp 168 exactly:
   - max_model_len: 80000 → 256000
   - gpu_memory_utilization: 0.95 → 0.9
   - max_num_seqs: 2 → 1
   - REMOVE chunked_prefill + batched_tokens
   - REMOVE limit-mm-per-prompt (base image handles it)
2026-08-10 09:43:36 +00:00

47 lines
1.1 KiB
YAML

concurrency: 1
command:
- python3
- -m
- vllm.entrypoints.openai.api_server
- --model
- /model
- --served-model-name
- llm
- --max-model-len
- '256000'
- --gpu-memory-utilization
- '0.9'
- --trust-remote-code
- -tp
- '4'
- --max-num-seqs
- '1'
- --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:/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'