-
Notifications
You must be signed in to change notification settings - Fork 15
53 lines (41 loc) · 1.54 KB
/
ov-gpu-nightly.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
name: OpenVino GPU Nightly Test
on:
workflow_dispatch:
push:
permissions: read-all
jobs:
nightly:
name: OpenVino GPU Nightly
runs-on: [self-hosted, l0]
env:
GH_TOKEN: ${{ github.token }}
steps:
- name: "Checkout Graph Compiler"
uses: actions/checkout@v4
with:
repository: 'intel/graph-compiler'
ref: 'main'
path: 'graph-compiler'
- name: Setup MLIR Python bindings
id: setup-mlir-python-bindings
uses: ./.github/actions/setup-mlir-python-bindings
- name: Build LLVM with IMEX
run: |
scripts/compile.sh --dev --llvm --imex
echo LLVM_INST_PATH=$(pwd)/externals/llvm-project/build >>$GITHUB_ENV
- name: "Checkout OpenVino"
uses: actions/checkout@v4
with:
repository: 'dchigarev/openvino'
ref: 'gc-gpu'
path: 'openvino'
- name: Build OpenVino
working-directory: openvino
run: |
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
cmake --build build --target all
- name: Benchmark
working-directory: openvino/build
env:
OV_MLIR_MODE: GC_GPU
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