Skip to content

Commit 87819b9

Browse files
authored
[LLM, MLLM] Job generation, result validation, and various fixes (#26)
1 parent b792063 commit 87819b9

272 files changed

Lines changed: 2260 additions & 855 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/fmt_lint.yaml

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
name: Check format and lint
2+
permissions:
3+
contents: read
4+
5+
on:
6+
pull_request:
7+
paths:
8+
- '.github/workflows/fmt_lint.yaml'
9+
- 'mlenergy/**'
10+
- 'tests/**'
11+
- 'scripts/*.py'
12+
- 'scripts/lint.sh'
13+
- 'pyproject.toml'
14+
- 'uv.lock'
15+
push:
16+
paths:
17+
- '.github/workflows/fmt_lint.yaml'
18+
- 'mlenergy/**'
19+
- 'tests/**'
20+
- 'scripts/*.py'
21+
- 'scripts/lint.sh'
22+
- 'pyproject.toml'
23+
- 'uv.lock'
24+
25+
# Jobs initiated by previous pushes get cancelled by a new push.
26+
concurrency:
27+
group: ${{ github.ref }}-format-lint
28+
cancel-in-progress: true
29+
30+
jobs:
31+
format_lint_test:
32+
if: ${{ github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository }}
33+
runs-on: ubuntu-latest
34+
steps:
35+
- name: Checkout repository
36+
uses: actions/checkout@v5
37+
- name: Setup uv
38+
uses: astral-sh/setup-uv@v6
39+
with:
40+
enable-cache: true
41+
python-version: "3.12"
42+
version: "latest"
43+
- name: Install dependencies
44+
run: uv sync --dev
45+
- name: Check format and lint
46+
run: uv run bash scripts/lint.sh

configs/vllm/audio-chat/Qwen/Qwen3-Omni-30B-A3B-Instruct/B200/monolithic.config.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,4 @@ max-model-len: 20480
44
enable-expert-parallel: true
55
dtype: bfloat16
66
trust-remote-code: true
7+
api-server-count: 3
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
VLLM_LOGGING_LEVEL: DEBUG
2+
VLLM_LOG_STATS_INTERVAL: 1.0

configs/vllm/audio-chat/Qwen/Qwen3-Omni-30B-A3B-Instruct/H100/monolithic.config.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,4 @@ max-model-len: 20480
44
enable-expert-parallel: true
55
dtype: bfloat16
66
trust-remote-code: true
7+
api-server-count: 3
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
VLLM_LOGGING_LEVEL: DEBUG
2+
VLLM_LOG_STATS_INTERVAL: 1.0

configs/vllm/audio-chat/benchmark.yaml

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,22 @@ command_template: |
22
python -m mlenergy.llm.benchmark \
33
--container-runtime {container_runtime} \
44
--server-image {server_image} \
5-
--max-output-tokens 4096 \
5+
--max-output-tokens {max_output_tokens} \
66
workload:audio-chat \
7-
--workload.base-dir run/mllm \
7+
--workload.base-dir {run_dir}/mllm \
88
--workload.model-id {model_id} \
9-
--workload.num-requests 1024 \
10-
--workload.num-audios 1 \
9+
--workload.num-requests {num_requests} \
10+
--workload.num-audios {num_audios} \
1111
--workload.audio-data-dir ${{AUDIO_DATA_DIR:?AUDIO_DATA_DIR not set}} \
1212
--workload.gpu-model {gpu_model} \
13+
--workload.num-gpus {num_gpus} \
1314
--workload.max-num-seqs {max_num_seqs}
1415
16+
workload_defaults:
17+
max_output_tokens: 4096
18+
run_dir: run
19+
num_requests: 1024
20+
num_audios: 1
21+
1522
sweep_defaults:
1623
- max_num_seqs: [8, 16, 32, 64, 96, 128, 192, 256, 384, 512]
Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
async-scheduling: true
22
max-num-batched-tokens: 8192
33
max-model-len: 20480
4-
enable-expert-parallel: true
54
dtype: bfloat16
65
trust-remote-code: true
76
tokenizer-mode: mistral
7+
config-format: mistral
8+
load-format: mistral
9+
api-server-count: 3
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
VLLM_LOGGING_LEVEL: DEBUG
2+
VLLM_LOG_STATS_INTERVAL: 1.0
Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
async-scheduling: true
22
max-num-batched-tokens: 8192
33
max-model-len: 20480
4-
enable-expert-parallel: true
54
dtype: bfloat16
65
trust-remote-code: true
76
tokenizer-mode: mistral
7+
config-format: mistral
8+
load-format: mistral
9+
api-server-count: 3
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
VLLM_LOGGING_LEVEL: DEBUG
2+
VLLM_LOG_STATS_INTERVAL: 1.0

0 commit comments

Comments
 (0)