[fix] baseline7 delete null line
This commit is contained in:
@@ -1,99 +1,54 @@
|
|||||||
concurrency: 1
|
concurrency: 1
|
||||||
|
|
||||||
command:
|
command:
|
||||||
|
|
||||||
- bash
|
- bash
|
||||||
|
|
||||||
- -c
|
- -c
|
||||||
|
|
||||||
- >-
|
- >-
|
||||||
|
|
||||||
python3 /workspace/qwen3_6_scripts/patch_chat_template.py /model 2>&1 || echo '[runtime] chat template patch failed';
|
python3 /workspace/qwen3_6_scripts/patch_chat_template.py /model 2>&1 || echo '[runtime] chat template patch failed';
|
||||||
|
|
||||||
VLLM_ROOT=$(python3 -c 'import vllm,os;print(os.path.dirname(vllm.__file__))');
|
VLLM_ROOT=$(python3 -c 'import vllm,os;print(os.path.dirname(vllm.__file__))');
|
||||||
|
|
||||||
cp /workspace/qwen3_6_scripts/protocol.py "${VLLM_ROOT}/entrypoints/openai/protocol.py" 2>/dev/null && echo '[runtime] protocol.py redeployed' || echo '[runtime] protocol.py redeploy skipped';
|
cp /workspace/qwen3_6_scripts/protocol.py "${VLLM_ROOT}/entrypoints/openai/protocol.py" 2>/dev/null && echo '[runtime] protocol.py redeployed' || echo '[runtime] protocol.py redeploy skipped';
|
||||||
|
|
||||||
cp /workspace/qwen3_6_scripts/serving_chat.py "${VLLM_ROOT}/entrypoints/openai/serving_chat.py" 2>/dev/null && echo '[runtime] serving_chat.py redeployed' || echo '[runtime] serving_chat.py redeploy skipped';
|
cp /workspace/qwen3_6_scripts/serving_chat.py "${VLLM_ROOT}/entrypoints/openai/serving_chat.py" 2>/dev/null && echo '[runtime] serving_chat.py redeployed' || echo '[runtime] serving_chat.py redeploy skipped';
|
||||||
|
cp /workspace/qwen3_6_scripts/multimodal_utils.py "${VLLM_ROOT}/multimodal/utils.py" 2>/dev/null && echo '[runtime] multimodal_utils.py redeployed' || echo '[runtime] multimodal_utils.py redeploy skipped';
|
||||||
|
cp /workspace/qwen3_6_scripts/envs.py "${VLLM_ROOT}/envs.py" 2>/dev/null && echo '[runtime] envs.py redeployed' || echo '[runtime] envs.py redeploy skipped';
|
||||||
find "${VLLM_ROOT}" -name '*.pyc' -path '*/openai/*' -delete 2>/dev/null;
|
find "${VLLM_ROOT}" -name '*.pyc' -path '*/openai/*' -delete 2>/dev/null;
|
||||||
|
find "${VLLM_ROOT}" -name '*.pyc' -path '*/multimodal/*' -delete 2>/dev/null;
|
||||||
|
find "${VLLM_ROOT}" -maxdepth 1 -name 'envs*.pyc' -delete 2>/dev/null;
|
||||||
exec python3 -m vllm.entrypoints.openai.api_server
|
exec python3 -m vllm.entrypoints.openai.api_server
|
||||||
|
|
||||||
--model /model
|
--model /model
|
||||||
|
|
||||||
--served-model-name llm
|
--served-model-name llm
|
||||||
|
|
||||||
--max-model-len 131072
|
--max-model-len 131072
|
||||||
|
|
||||||
--gpu-memory-utilization 0.92
|
--gpu-memory-utilization 0.92
|
||||||
|
|
||||||
--trust-remote-code
|
--trust-remote-code
|
||||||
|
|
||||||
-tp 4
|
-tp 4
|
||||||
|
|
||||||
--max-num-seqs 2
|
--max-num-seqs 2
|
||||||
|
|
||||||
--disable-log-requests
|
--disable-log-requests
|
||||||
|
|
||||||
--disable-frontend-multiprocessing
|
--disable-frontend-multiprocessing
|
||||||
|
|
||||||
--max-num-batched-tokens 4096
|
--max-num-batched-tokens 4096
|
||||||
|
|
||||||
--enable-chunked-prefill
|
--enable-chunked-prefill
|
||||||
|
|
||||||
--max-seq-len-to-capture 32768
|
--max-seq-len-to-capture 32768
|
||||||
|
|
||||||
--enable-auto-tool-choice
|
--enable-auto-tool-choice
|
||||||
|
|
||||||
--tool-call-parser qwen3_coder
|
--tool-call-parser qwen3_coder
|
||||||
|
|
||||||
--reasoning-parser qwen3
|
--reasoning-parser qwen3
|
||||||
|
|
||||||
--enable-prefix-caching
|
--enable-prefix-caching
|
||||||
|
|
||||||
--enforce-eager
|
--enforce-eager
|
||||||
|
|
||||||
--dtype half
|
--dtype half
|
||||||
|
|
||||||
env:
|
env:
|
||||||
|
|
||||||
- name: VLLM_ENGINE_ITERATION_TIMEOUT_S
|
- name: VLLM_ENGINE_ITERATION_TIMEOUT_S
|
||||||
|
|
||||||
value: '3600'
|
value: '3600'
|
||||||
|
|
||||||
# --- MoE kernel selection ---
|
# --- MoE kernel selection ---
|
||||||
|
|
||||||
- name: BI100_MOE_COREX_DIRECT_ROUTED
|
- name: BI100_MOE_COREX_DIRECT_ROUTED
|
||||||
|
|
||||||
value: '1'
|
value: '1'
|
||||||
|
|
||||||
- name: BI100_MOE_COREX_TOPK_SOFTMAX
|
- name: BI100_MOE_COREX_TOPK_SOFTMAX
|
||||||
|
|
||||||
value: '1'
|
value: '1'
|
||||||
|
|
||||||
# --- GDN kernel selection ---
|
# --- GDN kernel selection ---
|
||||||
|
|
||||||
- name: BI100_GDN_COREX_PACKED_DECODE
|
- name: BI100_GDN_COREX_PACKED_DECODE
|
||||||
|
|
||||||
value: '1'
|
value: '1'
|
||||||
|
|
||||||
# --- Hybrid KV/GDN cache ---
|
# --- Hybrid KV/GDN cache ---
|
||||||
|
|
||||||
- name: BI100_HYBRID_KV_ACCOUNTING
|
- name: BI100_HYBRID_KV_ACCOUNTING
|
||||||
|
|
||||||
value: full_attention
|
value: full_attention
|
||||||
|
|
||||||
- name: BI100_GDN_CACHE_POLICY
|
- name: BI100_GDN_CACHE_POLICY
|
||||||
|
|
||||||
value: admission64
|
value: admission64
|
||||||
|
|
||||||
- name: BI100_GDN_RESTORE_MODE
|
- name: BI100_GDN_RESTORE_MODE
|
||||||
|
|
||||||
value: hybrid64
|
value: hybrid64
|
||||||
|
|
||||||
# --- Image fetch timeout (container network) ---
|
# --- Image fetch timeout (container network) ---
|
||||||
|
|
||||||
- name: VLLM_IMAGE_FETCH_TIMEOUT
|
- name: VLLM_IMAGE_FETCH_TIMEOUT
|
||||||
|
|
||||||
value: '10'
|
value: '10'
|
||||||
Reference in New Issue
Block a user