File tree Expand file tree Collapse file tree 2 files changed +56
-1
lines changed Expand file tree Collapse file tree 2 files changed +56
-1
lines changed Original file line number Diff line number Diff line change 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+ rm -rf externals
33+ scripts/compile.sh --dev --llvm --imex
34+ echo LLVM_INST_PATH=$(pwd)/externals/llvm-project/build >>$GITHUB_ENV
35+
36+ - name : " Checkout OpenVino"
37+ uses : actions/checkout@v4
38+ with :
39+ repository : ' dchigarev/openvino'
40+ ref : ' gc-gpu'
41+ path : ' openvino'
42+
43+ - name : Build OpenVino
44+ working-directory : openvino
45+ run : |
46+ 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
47+ cmake --build build --target all
48+
49+ - name : Benchmark
50+ working-directory : openvino/build
51+ env :
52+ OV_MLIR_MODE : GC_GPU
53+ 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
54+
55+
Original file line number Diff line number Diff line change @@ -114,7 +114,6 @@ build_llvm() {
114114 local llvm_dir=" $EXTERNALS_DIR /llvm-project"
115115 LLVM_BUILD_DIR=" $llvm_dir /build$BUILD_DIR_SFX "
116116 MLIR_DIR=" $LLVM_BUILD_DIR /lib/cmake/mlir"
117- mkdir -p " $LLVM_BUILD_DIR "
118117
119118 if ! [ -d " $llvm_dir " ]; then
120119 git clone https://github.com/llvm/llvm-project.git
@@ -126,6 +125,7 @@ build_llvm() {
126125 # build that would break 'git checkout ${LLVM_HASH}')
127126 git checkout -- .
128127 fi
128+ mkdir -p " $LLVM_BUILD_DIR "
129129
130130 git checkout ${LLVM_HASH}
131131 [ -z " $CLEANUP " ] || rm -rf " $LLVM_BUILD_DIR "
You can’t perform that action at this time.
0 commit comments