OpenVINO™ is an open source toolkit for optimizing and deploying AI inference
C++ aicomputer-visiondeep-learningdeploy-aidiffusion-modelsgenerative-aigood-first-issueinferencellm-inferencenatural-language-processingnlpopenvinooptimize-aiperformance-boostrecommendation-systemspeech-recognitionstable-diffusiontransformersyolo
[GPU] CI precommit test for L0 (#35447)
Gracjan Koscinski31b598c3c105
diff --git a/.github/workflows/dev_gpu_linux_level_zero.yml b/.github/workflows/dev_gpu_linux_level_zero.ymlnew file mode 100644index 00000000000..2190c9bfca6--- /dev/null+++ b/.github/workflows/dev_gpu_linux_level_zero.yml@@ -0,0 +1,114 @@+name: Linux GPU Level Zero Build ( Ubuntu 24.04 )++on:+ workflow_dispatch:+ inputs:+ target-branch:+ description: 'Target branch for the build; taken from event context by default'+ type: string+ required: false+ pull_request:+ types:+ - opened+ - synchronize+ - reopened+ - ready_for_review+ paths:+ - '.github/workflows/dev_gpu_linux_level_zero.yml'+ - 'src/plugins/intel_gpu/**'++concurrency:+ group: ${{ github.event_name == 'push' && github.run_id || github.ref }}-linux-gpu-l0-dev+ cancel-in-progress: true++permissions: read-all++jobs:+ Smart_CI:+ runs-on: ubuntu-latest+ if: github.event.pull_request.draft == false || github.run_attempt > 1+ outputs:+ affected_components: "${{ steps.smart_ci.outputs.affected_components }}"+ changed_components: "${{ steps.smart_ci.outputs.changed_components }}"+ skip_workflow: "${{ steps.smart_ci.outputs.skip_workflow }}"+ steps:+ - name: checkout action+ uses: ababushk/checkout@dd591a6a2ac25618db4eda86e7e0d938f88cf01b # cherry_pick_retries+ timeout-minutes: 15+ with:+ sparse-checkout: .github/actions/smart-ci++ - name: Get affected components+ id: smart_ci+ uses: ./.github/actions/smart-ci+ with:+ repository: ${{ github.repository }}+ pr: ${{ github.event.number }}+ commit_sha: ${{ github.sha }}+ ref_name: ${{ github.ref_name }}+ component_pattern: "category: (.*)"+ repo_token: ${{ secrets.GITHUB_TOKEN }}+ skip_when_only_listed_labels_set: 'docs'+ skip_when_only_listed_files_changed: '*.md,*.rst,*.png,*.jpg,*.svg'++ - name: Show affected components+ run: |+ echo "${{ toJSON(steps.smart_ci.outputs.affected_components) }}"+ shell: bash++ Docker:+ needs: Smart_CI+ runs-on: aks-linux-4-cores-16gb-docker-build+ container:+ image: openvinogithubactions.azurecr.io/docker_build:0.2+ volumes:+ - /mount:/mount+ outputs:+ images: "${{ steps.handle_docker.outputs.images && steps.handle_docker.outputs.images || steps.mock_image.outputs.images }}"+ steps:+ - name: Set mock output images if pipeline should be skipped+ if: ${{ needs.smart_ci.outputs.skip_workflow == 'True' }}+ id: mock_image+ run: echo "images={\"ov_test\":{\"ubuntu_24_04_x64\":\"mock\"},\"ov_build\":{\"ubuntu_24_04_x64\":\"mock\"}}" >> "$GITHUB_OUTPUT"++ - name: Checkout+ if: ${{ needs.smart_ci.outputs.skip_workflow != 'True' }}+ uses: ababushk/checkout@dd591a6a2ac25618db4eda86e7e0d938f88cf01b # cherry_pick_retries+ timeout-minutes: 15++ - uses: ./.github/actions/handle_docker+ if: ${{ needs.smart_ci.outputs.skip_workflow != 'True' }}+ id: handle_docker+ with:+ images: |+ ov_build/ubuntu_24_04_x64+ registry: 'openvinogithubactions.azurecr.io'+ dockerfiles_root_dir: '.github/dockerfiles'+ changed_components: ${{ needs.smart_ci.outputs.changed_components }}++ Build:+ needs: [Docker, Smart_CI]+ if: "!needs.smart_ci.outputs.skip_workflow"+ uses: ./.github/workflows/job_build_linux.yml+ with:+ runner: 'aks-linux-16-cores-32gb'+ image: ${{ fromJSON(needs.docker.outputs.images).ov_build.ubuntu_24_04_x64 }}+ affected-components: ${{ needs.smart_ci.outputs.affected_components }}+ event-name: ${{ github.event_name }}+ os: 'ubuntu_24_04'+ build-rpm-packages: false+ build-js: false+ build-debian-packages: true+ build-contrib: true+ build-additional-python-packages: true+ target-branch: ${{ inputs.target-branch }}+ cmake-options: >-+ -G 'Ninja Multi-Config'+ -DENABLE_NCC_STYLE=OFF+ -DENABLE_TESTS=ON+ -DENABLE_STRICT_DEPENDENCIES=OFF+ -DENABLE_SYSTEM_OPENCL=ON+ -DCMAKE_VERBOSE_MAKEFILE=ON+ -DCPACK_GENERATOR=TGZ+ -DCMAKE_COMPILE_WARNING_AS_ERROR=ON+ -DGPU_RT_TYPE=L0diff --git a/.github/workflows/ubuntu_22.yml b/.github/workflows/ubuntu_22.ymlindex 5c4c6e5c04e..4b7035b6c7e 100644--- a/.github/workflows/ubuntu_22.yml+++ b/.github/workflows/ubuntu_22.yml@@ -606,10 +606,10 @@ jobs:with:device: 'igpu'test_type: ${{ matrix.TEST_TYPE }}- runner: "[ 'self-hosted', 'igpu' ]"+ runner: "[ 'self-hosted', 'igpu', 'Linux' ]"runner-group: 'Intel-GPU'image: ubuntu:22.04- options: "--group-add 44 --group-add 993 --device /dev/dri/card1:/dev/dri/card1 --device /dev/dri/renderD128:/dev/dri/renderD128"+ options: "--group-add 44 --group-add 993 --device /dev/dri/renderD128:/dev/dri/renderD128"if: fromJSON(needs.smart_ci.outputs.affected_components).GPUdGPU: