Skip to content

Commit 6f69dff

Browse files
committed
gpu nightly test
1 parent 37a70e6 commit 6f69dff

File tree

1 file changed

+54
-0
lines changed

1 file changed

+54
-0
lines changed
Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
name: OpenVino GPU Nightly Test
2+
3+
on:
4+
workflow_dispatch:
5+
push:
6+
7+
permissions: read-all
8+
9+
jobs:
10+
nightly:
11+
name: OpenVino GPU Nightly
12+
runs-on: [self-hosted, l0]
13+
14+
env:
15+
GH_TOKEN: ${{ github.token }}
16+
17+
steps:
18+
- name: "Checkout Graph Compiler"
19+
uses: actions/checkout@v4
20+
with:
21+
repository: 'intel/graph-compiler'
22+
ref: 'main'
23+
path: 'graph-compiler'
24+
25+
- name: Setup MLIR Python bindings
26+
id: setup-mlir-python-bindings
27+
uses: ./graph-compiler/.github/actions/setup-mlir-python-bindings
28+
29+
- name: Build LLVM with IMEX
30+
working-directory: graph-compiler
31+
run: |
32+
scripts/compile.sh --dev --llvm --imex
33+
echo LLVM_INST_PATH=$(pwd)/externals/llvm-project/build >>$GITHUB_ENV
34+
35+
- name: "Checkout OpenVino"
36+
uses: actions/checkout@v4
37+
with:
38+
repository: 'dchigarev/openvino'
39+
ref: 'gc-gpu'
40+
path: 'openvino'
41+
42+
- name: Build OpenVino
43+
working-directory: openvino
44+
run: |
45+
cmake -B build -G Ninja -DLLVM_DIR=${LLVM_INST_PATH}/lib/cmake/llvm -DMLIR_DIR=${LLVM_INST_PATH}/lib/cmake/mlir -DENABLE_GRAPH_COMPILER=ON -DENABLE_INTEL_GPU=ON -DENABLE_TESTS=ON
46+
cmake --build build --target all
47+
48+
- name: Benchmark
49+
working-directory: openvino/build
50+
env:
51+
OV_MLIR_MODE: GC_GPU
52+
run: ./bin/intel64/Debug/benchmark_app -m ./src/plugins/intel_gpu/tests/functional/mlir_op/models/matmul_64_128_f16.xml -d GPU -use_device_mem -ip f16 -infer_precision f16 -niter 100 -hint none -nstreams 1 -nthreads 1
53+
54+

0 commit comments

Comments
 (0)