Skip to content

Commit c093a9c

Browse files
committed
Merge remote-tracking branch 'origin/main' into dev/wdziurdz/test-matmul-6
2 parents 54772d7 + 9e23713 commit c093a9c

File tree

23 files changed

+761
-124
lines changed

23 files changed

+761
-124
lines changed

.github/workflows/build-test-reusable.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,7 @@ jobs:
302302
run: |
303303
echo "TRITON_TEST_CMD=${{ needs.build.outputs.test-triton-command }}" | tee -a $GITHUB_ENV
304304
305-
- name: Build PTI && Run Proton tests
305+
- name: Run Proton tests
306306
if: matrix.suite == 'rest'
307307
run: |
308308
export LD_LIBRARY_PATH=${{ env.PTI_LIBS_DIR }}:$LD_LIBRARY_PATH

.github/workflows/third-party-benchmarks.yml

Lines changed: 23 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,25 @@ jobs:
8282
cd benchmarks
8383
pip install .
8484
85+
- name: Run sglang benchmark int8
86+
if: ${{ steps.install-benchmarks.outcome == 'success' && !cancelled() && (inputs.benchmarks == '' || contains(fromJson(inputs.benchmarks || '[]'), 'sglang')) }}
87+
run: |
88+
source ./scripts/capture-hw-details.sh
89+
90+
./scripts/test-triton.sh --install-sglang --skip-pip-install --skip-pytorch-install
91+
cd benchmarks/third_party/sglang
92+
python scaled_mm_benchmark.py --reports $REPORTS
93+
python ../vllm/transform_results.py $REPORTS/scaled_mm_benchmark.csv $REPORTS/scaled-mm-int8-report.csv --tag $TAG --benchmark scaled-mm-int8 --param_cols="M,N,K" --bgroup sglang
94+
95+
- name: Run sglang benchmark with fp8
96+
if: ${{ steps.install-benchmarks.outcome == 'success' && !cancelled() && (inputs.benchmarks == '' || contains(fromJson(inputs.benchmarks || '[]'), 'sglang')) }}
97+
run: |
98+
source ./scripts/capture-hw-details.sh
99+
100+
cd benchmarks/third_party/sglang
101+
FP8="1" python scaled_mm_benchmark.py --reports $REPORTS
102+
python ../vllm/transform_results.py $REPORTS/scaled_mm_benchmark.csv $REPORTS/scaled-mm-fp8-report.csv --tag $TAG --benchmark scaled-mm-fp8 --param_cols="M,N,K" --bgroup sglang
103+
85104
- name: Run vllm benchmarks bf16
86105
if: ${{ steps.install-benchmarks.outcome == 'success' && !cancelled() && (inputs.benchmarks == '' || contains(fromJson(inputs.benchmarks || '[]'), 'vllm')) }}
87106
run: |
@@ -92,7 +111,8 @@ jobs:
92111
93112
cd benchmarks/third_party/vllm
94113
python batched_moe_benchmark.py --reports $REPORTS
95-
python transform_results.py $REPORTS/moe-gemm-performance.csv $REPORTS/moe-gemm-report.csv --tag $TAG --benchmark moe-bf16-benchmark
114+
python transform_results.py $REPORTS/moe-gemm-performance.csv $REPORTS/moe-gemm-report.csv --tag $TAG --benchmark moe-bf16-benchmark --param_cols="num_experts,max_tokens_per_expert,K,N" --bgroup vllm
115+
96116
97117
- name: Run vllm benchmarks fp8
98118
if: ${{ steps.install-benchmarks.outcome == 'success' && !cancelled() && (inputs.benchmarks == '' || contains(fromJson(inputs.benchmarks || '[]'), 'vllm')) }}
@@ -101,7 +121,8 @@ jobs:
101121
102122
cd benchmarks/third_party/vllm
103123
FP8="1" python batched_moe_benchmark.py --reports $REPORTS
104-
python transform_results.py $REPORTS/moe-gemm-performance.csv $REPORTS/moe-gemm-fp8-report.csv --tag $TAG --benchmark moe-fp8-benchmark
124+
python transform_results.py $REPORTS/moe-gemm-performance.csv $REPORTS/moe-gemm-fp8-report.csv --tag $TAG --benchmark moe-fp8-benchmark --param_cols="num_experts,max_tokens_per_expert,K,N" --bgroup vllm
125+
105126
106127
- name: Run Liger-Kernel benchmarks
107128
if: ${{ steps.install.outcome == 'success' && !cancelled() && (inputs.benchmarks == '' || contains(fromJson(inputs.benchmarks || '[]'), 'liger')) }}

.github/workflows/triton-benchmarks.yml

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -117,17 +117,10 @@ jobs:
117117
cd benchmarks
118118
pip install .
119119
120-
- name: Build PTI from source
120+
- name: Build PTI
121121
run: |
122-
PTI_COMMIT_ID="$(<.github/pins/pti.txt)"
123-
git clone https://github.com/intel/pti-gpu.git
124-
cd pti-gpu
125-
git checkout $PTI_COMMIT_ID
126-
cd sdk
127-
cmake --preset linux-icpx-release
128-
BUILD_TESTING=1 PTI_BUILD_SAMPLES=1 cmake --build --preset linux-icpx-release
129-
130-
PTI_LIBS_DIR="$(pwd)/build-linux-icpx-release/lib/"
122+
./scripts/install-pti.sh --build-level-zero
123+
PTI_LIBS_DIR=$(python ./scripts/pti_lib.py)
131124
ls $PTI_LIBS_DIR
132125
echo "PTI_LIBS_DIR=$PTI_LIBS_DIR" >> $GITHUB_ENV
133126

0 commit comments

Comments
 (0)