Move all experiments under hardware-specific folders: - experiments/h200/ : H200 GPU experiments (15 dirs) - experiments/h20/ : H20 GPU experiments (2 dirs) - experiments/p800/ : Kunlun P800 experiments (3 dirs) - experiments/pro6000/ : RTX 6000D experiments (2 dirs) This improves discoverability and keeps hardware-specific configs isolated from each other.
34 lines
1009 B
Bash
34 lines
1009 B
Bash
# OOM probe for 256k input + 4k output on DeepSeek-V4-Flash (H200).
|
|
# Tests whether SGLang and vLLM can serve this context length without OOM
|
|
# at concurrency=2 before adding it to the full long-context matrix.
|
|
|
|
EXPERIMENT="dsv4_h200_256k_4k_probe"
|
|
MODEL_NAME="DeepSeek-V4-Flash"
|
|
MODEL_PATH="/data/models/DeepSeek-V4-Flash"
|
|
SERVED_MODEL_NAME="deepseek-v4-flash"
|
|
|
|
SGLANG_PORT="${SGLANG_PORT:-30006}"
|
|
VLLM_PORT="${VLLM_PORT:-30005}"
|
|
|
|
VENV_SGLANG="${VENV_SGLANG:-/data/user1/yy/envs/sglang}"
|
|
VENV_VLLM="${VENV_VLLM:-/data/user1/yy/envs/vllm}"
|
|
|
|
export CUDA_VISIBLE_DEVICES="0,1,2,3,4,5,6,7"
|
|
TP=8
|
|
|
|
# 256k input + 4k output + padding -> use 270000.
|
|
MAX_MODEL_LEN=270000
|
|
MAX_NUM_SEQS=8
|
|
MAX_RUNNING=8
|
|
|
|
# "concurrency input_len output_len num_prompts"
|
|
# Following docs/EXPERIMENT_GUIDE.md: num_prompts = concurrency * 5.
|
|
declare -a SCENARIOS=(
|
|
"2 262144 4096 10"
|
|
)
|
|
|
|
VENV_CLIENT="${VENV_CLIENT:-$VENV_SGLANG}"
|
|
|
|
SGLANG_START_SCRIPT="${SCRIPT_DIR:-.}/start_sglang.sh"
|
|
VLLM_START_SCRIPT="${SCRIPT_DIR:-.}/start_vllm.sh"
|