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
[GHA] Add nightly execution w/o latest OneDNN usage (#34486)
Gracjan Koscinski088521704c54
diff --git a/.github/workflows/job_build_linux.yml b/.github/workflows/job_build_linux.ymlindex 0fc0ae8f4db..4bef15435f6 100644--- a/.github/workflows/job_build_linux.yml+++ b/.github/workflows/job_build_linux.yml@@ -60,6 +60,11 @@ on:description: 'Target branch for the build; taken from GitHub context by default'type: stringrequired: false+ use_latest_onednn:+ description: 'Whether to use the latest OneDNN'+ type: boolean+ required: false+ default: truepermissions: read-all@@ -135,7 +140,7 @@ jobs:# Ticket: 139627- name: Checkout the latest OneDNN for GPU in nightly- if: ${{ inputs.event-name == 'schedule' && inputs.os == 'ubuntu_22_04' }} # GPU tests are enabled only on U22+ if: ${{ inputs.event-name == 'schedule' && inputs.os == 'ubuntu_22_04' && inputs.use_latest_onednn }} # GPU tests are enabled only on U22working-directory: ${{ env.OPENVINO_REPO }}/src/plugins/intel_gpu/thirdparty/onednn_gpurun: |git fetch origindiff --git a/.github/workflows/ubuntu_22.yml b/.github/workflows/ubuntu_22.ymlindex e7b13fedef5..d4fd4d80d5c 100644--- a/.github/workflows/ubuntu_22.yml+++ b/.github/workflows/ubuntu_22.yml@@ -1,8 +1,11 @@name: Linux (Ubuntu 22.04, Python 3.11)+run-name: ${{ github.event_name == 'schedule' && (github.event.schedule == '0 0 * * 3,6' && 'Linux (Ubuntu 22.04, Python 3.11) - Nightly (with latest OneDNN)' || 'Linux (Ubuntu 22.04, Python 3.11) - Nightly (without latest OneDNN)') || 'Linux (Ubuntu 22.04, Python 3.11)' }}on:schedule:- # at 00:00 on Wednesday and Saturday+ # at 00:00 on Wednesday and Saturday (with latest OneDNN)- cron: '0 0 * * 3,6'+ # at 00:00 on Tuesday and Thursday (without latest OneDNN)+ - cron: '0 0 * * 2,4'workflow_dispatch:inputs:target-branch:@@ -41,6 +44,7 @@ jobs:affected_components: "${{ steps.smart_ci.outputs.affected_components }}"changed_components: "${{ steps.smart_ci.outputs.changed_components }}"skip_workflow: "${{ steps.smart_ci.outputs.skip_workflow }}"+ use_latest_onednn: "${{ steps.onednn_day.outputs.use_latest_onednn }}"steps:- name: checkout actionuses: ababushk/checkout@dd591a6a2ac25618db4eda86e7e0d938f88cf01b # cherry_pick_retries@@ -66,6 +70,18 @@ jobs:echo "${{ toJSON(steps.smart_ci.outputs.affected_components) }}"shell: bash+ - name: Determine if latest OneDNN is needed+ id: onednn_day+ shell: bash+ env:+ EVENT_SCHEDULE: ${{ github.event.schedule }}+ run: |+ if [[ "$EVENT_SCHEDULE" == '0 0 * * 3,6' ]]; then+ echo "use_latest_onednn=true" >> "$GITHUB_OUTPUT"+ else+ echo "use_latest_onednn=false" >> "$GITHUB_OUTPUT"+ fi+Docker:needs: Smart_CIruns-on: aks-linux-4-cores-16gb-docker-build@@ -107,6 +123,7 @@ jobs:image: ${{ fromJSON(needs.docker.outputs.images).ov_build.ubuntu_22_04_x64 }}affected-components: ${{ needs.smart_ci.outputs.affected_components }}event-name: ${{ github.event_name }}+ use_latest_onednn: ${{ needs.smart_ci.outputs.use_latest_onednn == 'true' }}os: 'ubuntu_22_04'build-js: truebuild-contrib: true