diff --git a/.ci/skipped_nightly.yml b/.ci/skipped_nightly.yml index 23dd4a4a591..b98ece5882d 100644 --- a/.ci/skipped_nightly.yml +++ b/.ci/skipped_nightly.yml @@ -9,7 +9,5 @@ - cpu - notebook: notebooks/stable-fast-3d/stable-fast-3d.ipynb skips: - - python: - - '3.8' - os: - macos-12 diff --git a/.ci/skipped_notebooks.yml b/.ci/skipped_notebooks.yml index 06232479c8c..2e405e0a92c 100644 --- a/.ci/skipped_notebooks.yml +++ b/.ci/skipped_notebooks.yml @@ -358,8 +358,6 @@ - ubuntu-20.04 - ubuntu-22.04 - windows-2019 - - python: - - '3.8' - notebook: notebooks/kosmos2-multimodal-large-language-model/kosmos2-multimodal-large-language-model.ipynb skips: - os: @@ -491,14 +489,6 @@ skips: - os: - windows-2019 -- notebook: notebooks/surya-line-level-text-detection/surya-line-level-text-detection.ipynb - skips: - - python: - - '3.8' -- notebook: notebooks/speechbrain-emotion-recognition/speechbrain-emotion-recognition.ipynb - skips: - - python: - - '3.8' - notebook: notebooks/s3d-mil-nce-text-to-video-retrieval/s3d-mil-nce-text-to-video-retrieval.ipynb skips: - device: @@ -515,17 +505,14 @@ - notebook: notebooks/explainable-ai-1-basic/explainable-ai-1-basic.ipynb skips: - python: - - '3.8' - '3.9' - notebook: notebooks/explainable-ai-2-deep-dive/explainable-ai-2-deep-dive.ipynb skips: - python: - - '3.8' - '3.9' - notebook: notebooks/explainable-ai-3-map-interpretation/explainable-ai-3-map-interpretation.ipynb skips: - python: - - '3.8' - '3.9' - notebook: notebooks/minicpm-v-multimodal-chatbot/minicpm-v-multimodal-chatbot.ipynb skips: @@ -536,21 +523,13 @@ - windows-2019 - notebook: notebooks/stable-audio/stable-audio.ipynb skips: - - python: - - '3.8' - os: - macos-12 - ubuntu-20.04 - ubuntu-22.04 - windows-2019 -- notebook: notebooks/triposr-3d-reconstruction/triposr-3d-reconstruction.ipynb - skips: - - python: - - '3.8' - notebook: notebooks/llm-agent-react/llm-agent-rag-llamaindex.ipynb skips: - - python: - - '3.8' - os: - macos-12 - notebook: notebooks/phi-3-vision/phi-3-vision.ipynb @@ -583,8 +562,6 @@ - windows-2019 - notebook: notebooks/stable-fast-3d/stable-fast-3d.ipynb skips: - - python: - - '3.8' - os: - macos-12 - notebook: notebooks/mllama-3.2/mllama-3.2.ipynb @@ -593,15 +570,10 @@ - macos-12 - ubuntu-20.04 - ubuntu-22.04 - - windows-2019 -- notebook: notebooks/llm-agent-react/llm-agent-react-langchain.ipynb - skips: - - python: - - '3.8' + - windows-2019' - notebook: notebooks/segment-anything/segment-anything-2-image.ipynb skips: - python: - - '3.8' - '3.9' - os: - macos-12 @@ -609,7 +581,6 @@ - notebook: notebooks/segment-anything/segment-anything-2-video.ipynb skips: - python: - - '3.8' - '3.9' - os: - macos-12 diff --git a/.github/workflows/codecheck.yml b/.github/workflows/codecheck.yml index bf3c6262614..eaed8ab1be5 100644 --- a/.github/workflows/codecheck.yml +++ b/.github/workflows/codecheck.yml @@ -46,14 +46,14 @@ jobs: - name: Set up Python uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0 with: - python-version: 3.8 # change cachepip step when changing this + python-version: "3.10" # change cachepip step when changing this - name: Cache OpenVINO Pip Packages id: cachepip uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2 with: path: | pipcache - key: ${{ env.PIP_CACHE_KEY }}-ubuntu-20.04-3.8 + key: ${{ env.PIP_CACHE_KEY }}-ubuntu-20.04-3.10 - name: Cache openvino packages if: steps.cachepip.outputs.cache-hit != 'true' run: | diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index add3882a47d..28d03f671c4 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -28,7 +28,7 @@ jobs: - name: Set up Python uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0 with: - python-version: '3.8' + python-version: '3.9' - name: Install dependencies run: | python -m pip install --upgrade pip diff --git a/.github/workflows/convert_notebooks.yml b/.github/workflows/convert_notebooks.yml index 70c533a4cef..bda30929370 100644 --- a/.github/workflows/convert_notebooks.yml +++ b/.github/workflows/convert_notebooks.yml @@ -35,7 +35,7 @@ jobs: # Matrix is unnecessary here, but this allows easy copying of steps from treon.yml matrix: os: [ubuntu-22.04] - python: [3.8] + python: [3.9] runs-on: ${{ matrix.os }} diff --git a/.github/workflows/install_requirements.yml b/.github/workflows/install_requirements.yml index 12b6a4120b9..e982eb845f5 100644 --- a/.github/workflows/install_requirements.yml +++ b/.github/workflows/install_requirements.yml @@ -20,7 +20,7 @@ jobs: fail-fast: false matrix: os: [ubuntu-20.04, ubuntu-22.04, windows-2019, windows-2022, macos-11, macos-12] - python: ['3.8', '3.9', '3.10', '3.11'] + python: ['3.9', '3.10', '3.11'] steps: - name: Checkout repository uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6 diff --git a/.github/workflows/install_requirements_china.yml b/.github/workflows/install_requirements_china.yml index ddfbc4dd578..472de4e869f 100644 --- a/.github/workflows/install_requirements_china.yml +++ b/.github/workflows/install_requirements_china.yml @@ -14,7 +14,7 @@ jobs: fail-fast: false matrix: os: [ubuntu-20.04] - python: [3.8] + python: [3.9] runs-on: ${{ matrix.os }} diff --git a/.github/workflows/pip_conflicts_check.yml b/.github/workflows/pip_conflicts_check.yml index 40e985b0b2b..7ae58ac3b5b 100644 --- a/.github/workflows/pip_conflicts_check.yml +++ b/.github/workflows/pip_conflicts_check.yml @@ -34,7 +34,7 @@ jobs: - name: Set up Python uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0 with: - python-version: 3.8 # change cachepip step when changing this + python-version: 3.9 # change cachepip step when changing this - name: Install dependencies run: | diff --git a/.github/workflows/spellcheck.yml b/.github/workflows/spellcheck.yml index 5e1a648b133..f8def3c8bba 100644 --- a/.github/workflows/spellcheck.yml +++ b/.github/workflows/spellcheck.yml @@ -44,7 +44,7 @@ jobs: - name: Set up Python uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0 with: - python-version: 3.8 # change cachepip step when changing this + python-version: 3.9 # change cachepip step when changing this - name: Cache OpenVINO Pip Packages id: cachepip @@ -52,7 +52,7 @@ jobs: with: path: | pipcache - key: ${{ env.PIP_CACHE_KEY }}-ubuntu-20.04-3.8 + key: ${{ env.PIP_CACHE_KEY }}-ubuntu-20.04-3.9 - name: Install dependencies run: | diff --git a/.github/workflows/treon.yml b/.github/workflows/treon.yml index 157394fe2ef..743500a1b57 100644 --- a/.github/workflows/treon.yml +++ b/.github/workflows/treon.yml @@ -25,7 +25,7 @@ jobs: fail-fast: false matrix: runs_on: [ubuntu-20.04, ubuntu-22.04, windows-2019, macos-12] - python: ['3.8', '3.9', '3.10', '3.11'] + python: ['3.9', '3.10', '3.11'] uses: ./.github/workflows/build_treon_reusable.yml with: runs_on: ${{ matrix.runs_on }} @@ -37,7 +37,7 @@ jobs: fail-fast: false matrix: runs_on: ['gpu'] - python: ['3.8', '3.9', '3.10', '3.11'] + python: ['3.9', '3.10', '3.11'] container: ['ubuntu:20.04', 'ubuntu:22.04'] # Windows and macOS are not available in machine pool with GPU uses: ./.github/workflows/build_treon_reusable.yml with: @@ -55,7 +55,7 @@ jobs: - name: Set up Python uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0 with: - python-version: '3.8' + python-version: '3.9' - name: Collect artifacts with reports uses: actions/download-artifact@65a9edc5881444af0b9093a5e628f2fe47ea3b2e # v4.1.7 with: diff --git a/.github/workflows/treon_precommit.yml b/.github/workflows/treon_precommit.yml index cc6a48a20a8..49cf6471962 100644 --- a/.github/workflows/treon_precommit.yml +++ b/.github/workflows/treon_precommit.yml @@ -38,7 +38,7 @@ jobs: fail-fast: true matrix: runs_on: [ubuntu-20.04, windows-2019, macos-12] - python: ['3.8', '3.9', '3.10', '3.11'] + python: ['3.9', '3.10', '3.11'] uses: ./.github/workflows/build_treon_reusable.yml with: runs_on: ${{ matrix.runs_on }} diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 44f2b4e2dca..4e217495fc7 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -52,7 +52,7 @@ To do this, there are a few requirements that all notebooks need to pass. 1. The notebooks work on Windows, macOS and Linux (see [supported operating systems](https://github.com/openvinotoolkit/openvino_notebooks#%EF%B8%8F-system-requirements)) - with Python 3.8, 3.9, 3.10 and 3.11. + with Python 3.9, 3.10 and 3.11. 2. As a rule, the notebooks do not require installation of additional software that is not installable by `pip`. We do not assume that users have installed XCode Developer Tools, Visual C++ redistributable, `cmake`, etc. Please discuss if your notebook does need C++ - there are exceptions to this rule. diff --git a/README.md b/README.md index 002edfa16ad..ee16631c4a1 100644 --- a/README.md +++ b/README.md @@ -69,13 +69,13 @@ The notebooks run almost anywhere — your laptop, a cloud VM, or even a Doc | Supported Operating System | [Python Version (64-bit)](https://www.python.org/) | | :--------------------------------------------------------- |:---------------------------------------------------| -| Ubuntu 20.04 LTS, 64-bit | 3.8 - 3.11 | -| Ubuntu 22.04 LTS, 64-bit | 3.8 - 3.11 | -| Red Hat Enterprise Linux 8, 64-bit | 3.8 - 3.11 | -| CentOS 7, 64-bit | 3.8 - 3.11 | -| macOS 10.15.x versions or higher | 3.8 - 3.11 | -| Windows 10, 64-bit Pro, Enterprise or Education editions | 3.8 - 3.11 | -| Windows Server 2016 or higher | 3.8 - 3.11 | +| Ubuntu 20.04 LTS, 64-bit | 3.9 - 3.11 | +| Ubuntu 22.04 LTS, 64-bit | 3.9 - 3.11 | +| Red Hat Enterprise Linux 8, 64-bit | 3.9 - 3.11 | +| CentOS 7, 64-bit | 3.9 - 3.11 | +| macOS 10.15.x versions or higher | 3.9 - 3.11 | +| Windows 10, 64-bit Pro, Enterprise or Education editions | 3.9 - 3.11 | +| Windows Server 2016 or higher | 3.9 - 3.11 | [![-----------------------------------------------------](https://user-images.githubusercontent.com/10940214/155750931-fc094349-b6ec-4e1f-9f9a-113e67941119.jpg)](#)
diff --git a/README_cn.md b/README_cn.md index 60e96cec715..bf7ba081f01 100644 --- a/README_cn.md +++ b/README_cn.md @@ -68,13 +68,13 @@ OpenVINO™ Notebooks需要预装Python和Git, 针对不同操作系统的安 | 支持的操作系统 | [Python Version (64-bit)](https://www.python.org/) | | :--------------------------------------------------------- |:---------------------------------------------------| -| Ubuntu 20.04 LTS, 64-bit | 3.8 - 3.11 | -| Ubuntu 22.04 LTS, 64-bit | 3.8 - 3.11 | -| Red Hat Enterprise Linux 8, 64-bit | 3.8 - 3.11 | -| CentOS 7, 64-bit | 3.8 - 3.11 | -| macOS 10.15.x versions or higher | 3.8 - 3.11 | -| Windows 10, 64-bit Pro, Enterprise or Education editions | 3.8 - 3.11 | -| Windows Server 2016 or higher | 3.8 - 3.11 | +| Ubuntu 20.04 LTS, 64-bit | 3.9 - 3.11 | +| Ubuntu 22.04 LTS, 64-bit | 3.9 - 3.11 | +| Red Hat Enterprise Linux 8, 64-bit | 3.9 - 3.11 | +| CentOS 7, 64-bit | 3.9 - 3.11 | +| macOS 10.15.x versions or higher | 3.9 - 3.11 | +| Windows 10, 64-bit Pro, Enterprise or Education editions | 3.9 - 3.11 | +| Windows Server 2016 or higher | 3.9 - 3.11 | [![-----------------------------------------------------](https://user-images.githubusercontent.com/10940214/155750931-fc094349-b6ec-4e1f-9f9a-113e67941119.jpg)](#) diff --git a/check_install.py b/check_install.py index f8450cf4188..78a02184e4f 100644 --- a/check_install.py +++ b/check_install.py @@ -123,7 +123,7 @@ def kernel_check(): print( "If you have multiple Python version installed, use the full path to the Python\n" "executable for creating the virtual environment with a specific Python version.\n" - "For example: `/usr/bin/python3.8 -m venv openvino_env`. Once you have activated\n" + "For example: `/usr/bin/python3.10 -m venv openvino_env`. Once you have activated\n" "the virtual environment you can type just `python` again.\n" ) diff --git a/notebooks/big-transfer-quantization/tensorflow-bit-image-classification-nncf-quantization.ipynb b/notebooks/big-transfer-quantization/tensorflow-bit-image-classification-nncf-quantization.ipynb index 47db686ded7..384122d8cea 100644 --- a/notebooks/big-transfer-quantization/tensorflow-bit-image-classification-nncf-quantization.ipynb +++ b/notebooks/big-transfer-quantization/tensorflow-bit-image-classification-nncf-quantization.ipynb @@ -43,11 +43,8 @@ "import platform\n", "\n", "%pip install -q \"tensorflow-macos>=2.5; sys_platform == 'darwin' and platform_machine == 'arm64' and python_version > '3.8'\" # macOS M1 and M2\n", - "%pip install -q \"tensorflow-macos>=2.5,<=2.12.0; sys_platform == 'darwin' and platform_machine == 'arm64' and python_version <= '3.8'\" # macOS M1 and M2\n", "%pip install -q \"tensorflow>=2.5; sys_platform == 'darwin' and platform_machine != 'arm64' and python_version > '3.8'\" # macOS x86\n", - "%pip install -q \"tensorflow>=2.5,<=2.12.0; sys_platform == 'darwin' and platform_machine != 'arm64' and python_version <= '3.8'\" # macOS x86\n", "%pip install -q \"tensorflow>=2.5; sys_platform != 'darwin' and python_version > '3.8'\"\n", - "%pip install -q \"tensorflow>=2.5,<=2.12.0; sys_platform != 'darwin' and python_version <= '3.8'\"\n", "\n", "%pip install -q \"openvino>=2024.0.0\" \"nncf>=2.7.0\" \"tensorflow-hub>=0.15.0\" tf_keras\n", "%pip install -q \"scikit-learn>=1.3.2\"\n", diff --git a/notebooks/gpu-device/gpu-device.ipynb b/notebooks/gpu-device/gpu-device.ipynb index 5a27a471a38..cad6e58916d 100644 --- a/notebooks/gpu-device/gpu-device.ipynb +++ b/notebooks/gpu-device/gpu-device.ipynb @@ -107,11 +107,8 @@ "source": [ "%pip install -q \"openvino-dev>=2024.0.0\" \"opencv-python\" \"tqdm\"\n", "%pip install -q \"tensorflow-macos>=2.5; sys_platform == 'darwin' and platform_machine == 'arm64' and python_version > '3.8'\" # macOS M1 and M2\n", - "%pip install -q \"tensorflow-macos>=2.5,<=2.12.0; sys_platform == 'darwin' and platform_machine == 'arm64' and python_version <= '3.8'\" # macOS M1 and M2\n", "%pip install -q \"tensorflow>=2.5; sys_platform == 'darwin' and platform_machine != 'arm64' and python_version > '3.8'\" # macOS x86\n", - "%pip install -q \"tensorflow>=2.5,<=2.12.0; sys_platform == 'darwin' and platform_machine != 'arm64' and python_version <= '3.8'\" # macOS x86\n", - "%pip install -q \"tensorflow>=2.5; sys_platform != 'darwin' and python_version > '3.8'\"\n", - "%pip install -q \"tensorflow>=2.5,<=2.12.0; sys_platform != 'darwin' and python_version <= '3.8'\"" + "%pip install -q \"tensorflow>=2.5; sys_platform != 'darwin' and python_version > '3.8'\"" ] }, { diff --git a/notebooks/optimize-preprocessing/optimize-preprocessing.ipynb b/notebooks/optimize-preprocessing/optimize-preprocessing.ipynb index 3db014130a8..9f0af753d79 100644 --- a/notebooks/optimize-preprocessing/optimize-preprocessing.ipynb +++ b/notebooks/optimize-preprocessing/optimize-preprocessing.ipynb @@ -87,11 +87,8 @@ " %pip install -q \"matplotlib>=3.4,<3.7\"\n", "\n", "%pip install -q \"tensorflow-macos>=2.5; sys_platform == 'darwin' and platform_machine == 'arm64' and python_version > '3.8'\" # macOS M1 and M2\n", - "%pip install -q \"tensorflow-macos>=2.5,<=2.12.0; sys_platform == 'darwin' and platform_machine == 'arm64' and python_version <= '3.8'\" # macOS M1 and M2\n", "%pip install -q \"tensorflow>=2.5; sys_platform == 'darwin' and platform_machine != 'arm64' and python_version > '3.8'\" # macOS x86\n", - "%pip install -q \"tensorflow>=2.5,<=2.12.0; sys_platform == 'darwin' and platform_machine != 'arm64' and python_version <= '3.8'\" # macOS x86\n", "%pip install -q \"tensorflow>=2.5; sys_platform != 'darwin' and python_version > '3.8'\"\n", - "%pip install -q \"tensorflow>=2.5; sys_platform != 'darwin' and python_version <= '3.8'\"\n", "%pip install -q tf_keras tensorflow_hub" ] }, diff --git a/notebooks/s3d-mil-nce-text-to-video-retrieval/s3d-mil-nce-text-to-video-retrieval.ipynb b/notebooks/s3d-mil-nce-text-to-video-retrieval/s3d-mil-nce-text-to-video-retrieval.ipynb index b52b95bd33f..783d318a6aa 100644 --- a/notebooks/s3d-mil-nce-text-to-video-retrieval/s3d-mil-nce-text-to-video-retrieval.ipynb +++ b/notebooks/s3d-mil-nce-text-to-video-retrieval/s3d-mil-nce-text-to-video-retrieval.ipynb @@ -58,11 +58,8 @@ "%pip install -Uq pip\n", "%pip install --upgrade --pre openvino-tokenizers \"openvino>=2024.2.0\" --extra-index-url \"https://storage.openvinotoolkit.org/simple/wheels/nightly\"\n", "%pip install -q \"tensorflow-macos>=2.5; sys_platform == 'darwin' and platform_machine == 'arm64' and python_version > '3.8'\" # macOS M1 and M2\n", - "%pip install -q \"tensorflow-macos>=2.5,<=2.12.0; sys_platform == 'darwin' and platform_machine == 'arm64' and python_version <= '3.8'\" # macOS M1 and M2\n", "%pip install -q \"tensorflow>=2.5; sys_platform == 'darwin' and platform_machine != 'arm64' and python_version > '3.8'\" # macOS x86\n", - "%pip install -q \"tensorflow>=2.5,<=2.12.0; sys_platform == 'darwin' and platform_machine != 'arm64' and python_version <= '3.8'\" # macOS x86\n", "%pip install -q \"tensorflow>=2.5; sys_platform != 'darwin' and python_version > '3.8'\"\n", - "%pip install -q \"tensorflow>=2.5,<=2.12.0; sys_platform != 'darwin' and python_version <= '3.8'\"\n", "\n", "%pip install -q tensorflow_hub tf_keras numpy \"opencv-python\" \"nncf>=2.10.0\"\n", "if platform.system() != \"Windows\":\n", diff --git a/notebooks/speechbrain-emotion-recognition/speechbrain-emotion-recognition.ipynb b/notebooks/speechbrain-emotion-recognition/speechbrain-emotion-recognition.ipynb index cc9be80e002..2c9ab7665e2 100644 --- a/notebooks/speechbrain-emotion-recognition/speechbrain-emotion-recognition.ipynb +++ b/notebooks/speechbrain-emotion-recognition/speechbrain-emotion-recognition.ipynb @@ -7,7 +7,6 @@ "source": [ "# SpeechBrain Emotion Recognition with OpenVINO\n", "\n", - "