Skip to content

Commit f94dd84

Browse files
authored
Merge branch 'main' into f/sglang-support
2 parents bfc2d6a + 04ee73b commit f94dd84

File tree

3 files changed

+15
-7
lines changed

3 files changed

+15
-7
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ repos:
1717
- id: check-toml
1818

1919
- repo: https://github.com/astral-sh/ruff-pre-commit
20-
rev: 'v0.14.4'
20+
rev: 'v0.14.5'
2121
hooks:
2222
- id: ruff
2323
args: [--fix, --exit-non-zero-on-fix]

vec_inf/config/models.yaml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1059,15 +1059,14 @@ models:
10591059
model_family: gpt-oss
10601060
model_variant: 120b
10611061
model_type: LLM
1062-
gpus_per_node: 4
1063-
num_nodes: 2
1062+
gpus_per_node: 2
1063+
num_nodes: 1
10641064
vocab_size: 201088
10651065
time: 08:00:00
10661066
resource_type: l40s
10671067
vllm_args:
1068-
--tensor-parallel-size: 4
1069-
--pipeline-parallel-size: 2
1070-
--max-model-len: 40960
1068+
--tensor-parallel-size: 2
1069+
--max-model-len: 32768
10711070
Llama-4-Maverick-17B-128E-Instruct:
10721071
model_family: Llama-4
10731072
model_variant: Maverick-17B-128E-Instruct

vec_inf/find_port.sh

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,16 @@ find_available_port() {
2828
local base_port=$2
2929
local max_port=$3
3030

31-
for ((port=base_port; port<=max_port; port++)); do
31+
# Generate shuffled list of ports; fallback to sequential if shuf not present
32+
if command -v shuf >/dev/null 2>&1; then
33+
local port_list
34+
port_list=$(shuf -i "${base_port}-${max_port}")
35+
else
36+
local port_list
37+
port_list=$(seq $base_port $max_port)
38+
fi
39+
40+
for port in $port_list; do
3241
if is_port_available $ip $port; then
3342
echo $port
3443
return

0 commit comments

Comments
 (0)