Skip to content

Commit 2eb9209

Browse files
committed
remove python3.8 compatibility support
1 parent 3e0b5bb commit 2eb9209

27 files changed

+34
-94
lines changed

.ci/skipped_nightly.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,5 @@
99
- cpu
1010
- notebook: notebooks/stable-fast-3d/stable-fast-3d.ipynb
1111
skips:
12-
- python:
13-
- '3.8'
1412
- os:
1513
- macos-12

.ci/skipped_notebooks.yml

Lines changed: 1 addition & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -358,8 +358,6 @@
358358
- ubuntu-20.04
359359
- ubuntu-22.04
360360
- windows-2019
361-
- python:
362-
- '3.8'
363361
- notebook: notebooks/kosmos2-multimodal-large-language-model/kosmos2-multimodal-large-language-model.ipynb
364362
skips:
365363
- os:
@@ -491,14 +489,6 @@
491489
skips:
492490
- os:
493491
- windows-2019
494-
- notebook: notebooks/surya-line-level-text-detection/surya-line-level-text-detection.ipynb
495-
skips:
496-
- python:
497-
- '3.8'
498-
- notebook: notebooks/speechbrain-emotion-recognition/speechbrain-emotion-recognition.ipynb
499-
skips:
500-
- python:
501-
- '3.8'
502492
- notebook: notebooks/s3d-mil-nce-text-to-video-retrieval/s3d-mil-nce-text-to-video-retrieval.ipynb
503493
skips:
504494
- device:
@@ -515,17 +505,14 @@
515505
- notebook: notebooks/explainable-ai-1-basic/explainable-ai-1-basic.ipynb
516506
skips:
517507
- python:
518-
- '3.8'
519508
- '3.9'
520509
- notebook: notebooks/explainable-ai-2-deep-dive/explainable-ai-2-deep-dive.ipynb
521510
skips:
522511
- python:
523-
- '3.8'
524512
- '3.9'
525513
- notebook: notebooks/explainable-ai-3-map-interpretation/explainable-ai-3-map-interpretation.ipynb
526514
skips:
527515
- python:
528-
- '3.8'
529516
- '3.9'
530517
- notebook: notebooks/minicpm-v-multimodal-chatbot/minicpm-v-multimodal-chatbot.ipynb
531518
skips:
@@ -536,21 +523,13 @@
536523
- windows-2019
537524
- notebook: notebooks/stable-audio/stable-audio.ipynb
538525
skips:
539-
- python:
540-
- '3.8'
541526
- os:
542527
- macos-12
543528
- ubuntu-20.04
544529
- ubuntu-22.04
545530
- windows-2019
546-
- notebook: notebooks/triposr-3d-reconstruction/triposr-3d-reconstruction.ipynb
547-
skips:
548-
- python:
549-
- '3.8'
550531
- notebook: notebooks/llm-agent-react/llm-agent-rag-llamaindex.ipynb
551532
skips:
552-
- python:
553-
- '3.8'
554533
- os:
555534
- macos-12
556535
- notebook: notebooks/phi-3-vision/phi-3-vision.ipynb
@@ -583,8 +562,6 @@
583562
- windows-2019
584563
- notebook: notebooks/stable-fast-3d/stable-fast-3d.ipynb
585564
skips:
586-
- python:
587-
- '3.8'
588565
- os:
589566
- macos-12
590567
- notebook: notebooks/mllama-3.2/mllama-3.2.ipynb
@@ -593,23 +570,17 @@
593570
- macos-12
594571
- ubuntu-20.04
595572
- ubuntu-22.04
596-
- windows-2019
597-
- notebook: notebooks/llm-agent-react/llm-agent-react-langchain.ipynb
598-
skips:
599-
- python:
600-
- '3.8'
573+
- windows-2019'
601574
- notebook: notebooks/segment-anything/segment-anything-2-image.ipynb
602575
skips:
603576
- python:
604-
- '3.8'
605577
- '3.9'
606578
- os:
607579
- macos-12
608580
- windows-2019
609581
- notebook: notebooks/segment-anything/segment-anything-2-video.ipynb
610582
skips:
611583
- python:
612-
- '3.8'
613584
- '3.9'
614585
- os:
615586
- macos-12

.github/workflows/codecheck.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,14 +46,14 @@ jobs:
4646
- name: Set up Python
4747
uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0
4848
with:
49-
python-version: 3.8 # change cachepip step when changing this
49+
python-version: "3.10" # change cachepip step when changing this
5050
- name: Cache OpenVINO Pip Packages
5151
id: cachepip
5252
uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2
5353
with:
5454
path: |
5555
pipcache
56-
key: ${{ env.PIP_CACHE_KEY }}-ubuntu-20.04-3.8
56+
key: ${{ env.PIP_CACHE_KEY }}-ubuntu-20.04-3.10
5757
- name: Cache openvino packages
5858
if: steps.cachepip.outputs.cache-hit != 'true'
5959
run: |

.github/workflows/codeql.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
- name: Set up Python
2929
uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0
3030
with:
31-
python-version: '3.8'
31+
python-version: '3.9'
3232
- name: Install dependencies
3333
run: |
3434
python -m pip install --upgrade pip

.github/workflows/convert_notebooks.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
# Matrix is unnecessary here, but this allows easy copying of steps from treon.yml
3636
matrix:
3737
os: [ubuntu-22.04]
38-
python: [3.8]
38+
python: [3.9]
3939

4040
runs-on: ${{ matrix.os }}
4141

.github/workflows/install_requirements.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
fail-fast: false
2121
matrix:
2222
os: [ubuntu-20.04, ubuntu-22.04, windows-2019, windows-2022, macos-11, macos-12]
23-
python: ['3.8', '3.9', '3.10', '3.11']
23+
python: ['3.9', '3.10', '3.11']
2424
steps:
2525
- name: Checkout repository
2626
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6

.github/workflows/install_requirements_china.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
fail-fast: false
1515
matrix:
1616
os: [ubuntu-20.04]
17-
python: [3.8]
17+
python: [3.9]
1818

1919
runs-on: ${{ matrix.os }}
2020

.github/workflows/pip_conflicts_check.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
- name: Set up Python
3535
uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0
3636
with:
37-
python-version: 3.8 # change cachepip step when changing this
37+
python-version: 3.9 # change cachepip step when changing this
3838

3939
- name: Install dependencies
4040
run: |

.github/workflows/spellcheck.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,15 +44,15 @@ jobs:
4444
- name: Set up Python
4545
uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0
4646
with:
47-
python-version: 3.8 # change cachepip step when changing this
47+
python-version: 3.9 # change cachepip step when changing this
4848

4949
- name: Cache OpenVINO Pip Packages
5050
id: cachepip
5151
uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2
5252
with:
5353
path: |
5454
pipcache
55-
key: ${{ env.PIP_CACHE_KEY }}-ubuntu-20.04-3.8
55+
key: ${{ env.PIP_CACHE_KEY }}-ubuntu-20.04-3.9
5656

5757
- name: Install dependencies
5858
run: |

.github/workflows/treon.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
fail-fast: false
2626
matrix:
2727
runs_on: [ubuntu-20.04, ubuntu-22.04, windows-2019, macos-12]
28-
python: ['3.8', '3.9', '3.10', '3.11']
28+
python: ['3.9', '3.10', '3.11']
2929
uses: ./.github/workflows/build_treon_reusable.yml
3030
with:
3131
runs_on: ${{ matrix.runs_on }}
@@ -37,7 +37,7 @@ jobs:
3737
fail-fast: false
3838
matrix:
3939
runs_on: ['gpu']
40-
python: ['3.8', '3.9', '3.10', '3.11']
40+
python: ['3.9', '3.10', '3.11']
4141
container: ['ubuntu:20.04', 'ubuntu:22.04'] # Windows and macOS are not available in machine pool with GPU
4242
uses: ./.github/workflows/build_treon_reusable.yml
4343
with:
@@ -55,7 +55,7 @@ jobs:
5555
- name: Set up Python
5656
uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0
5757
with:
58-
python-version: '3.8'
58+
python-version: '3.9'
5959
- name: Collect artifacts with reports
6060
uses: actions/download-artifact@65a9edc5881444af0b9093a5e628f2fe47ea3b2e # v4.1.7
6161
with:

.github/workflows/treon_precommit.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
fail-fast: true
3939
matrix:
4040
runs_on: [ubuntu-20.04, windows-2019, macos-12]
41-
python: ['3.8', '3.9', '3.10', '3.11']
41+
python: ['3.9', '3.10', '3.11']
4242
uses: ./.github/workflows/build_treon_reusable.yml
4343
with:
4444
runs_on: ${{ matrix.runs_on }}

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ To do this, there are a few requirements that all notebooks need to pass.
5252

5353
1. The notebooks work on Windows, macOS and Linux (see [supported operating
5454
systems](https://github.com/openvinotoolkit/openvino_notebooks#%EF%B8%8F-system-requirements))
55-
with Python 3.8, 3.9, 3.10 and 3.11.
55+
with Python 3.9, 3.10 and 3.11.
5656
2. As a rule, the notebooks do not require installation of additional software that is not installable by
5757
`pip`. We do not assume that users have installed XCode Developer Tools, Visual C++ redistributable,
5858
`cmake`, etc. Please discuss if your notebook does need C++ - there are exceptions to this rule.

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -69,13 +69,13 @@ The notebooks run almost anywhere — your laptop, a cloud VM, or even a Doc
6969

7070
| Supported Operating System | [Python Version (64-bit)](https://www.python.org/) |
7171
| :--------------------------------------------------------- |:---------------------------------------------------|
72-
| Ubuntu 20.04 LTS, 64-bit | 3.8 - 3.11 |
73-
| Ubuntu 22.04 LTS, 64-bit | 3.8 - 3.11 |
74-
| Red Hat Enterprise Linux 8, 64-bit | 3.8 - 3.11 |
75-
| CentOS 7, 64-bit | 3.8 - 3.11 |
76-
| macOS 10.15.x versions or higher | 3.8 - 3.11 |
77-
| Windows 10, 64-bit Pro, Enterprise or Education editions | 3.8 - 3.11 |
78-
| Windows Server 2016 or higher | 3.8 - 3.11 |
72+
| Ubuntu 20.04 LTS, 64-bit | 3.9 - 3.11 |
73+
| Ubuntu 22.04 LTS, 64-bit | 3.9 - 3.11 |
74+
| Red Hat Enterprise Linux 8, 64-bit | 3.9 - 3.11 |
75+
| CentOS 7, 64-bit | 3.9 - 3.11 |
76+
| macOS 10.15.x versions or higher | 3.9 - 3.11 |
77+
| Windows 10, 64-bit Pro, Enterprise or Education editions | 3.9 - 3.11 |
78+
| Windows Server 2016 or higher | 3.9 - 3.11 |
7979

8080
[![-----------------------------------------------------](https://user-images.githubusercontent.com/10940214/155750931-fc094349-b6ec-4e1f-9f9a-113e67941119.jpg)](#)
8181
<div id='-run-the-notebooks'></div>

README_cn.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -68,13 +68,13 @@ OpenVINO™ Notebooks需要预装Python和Git, 针对不同操作系统的安
6868

6969
| 支持的操作系统 | [Python Version (64-bit)](https://www.python.org/) |
7070
| :--------------------------------------------------------- |:---------------------------------------------------|
71-
| Ubuntu 20.04 LTS, 64-bit | 3.8 - 3.11 |
72-
| Ubuntu 22.04 LTS, 64-bit | 3.8 - 3.11 |
73-
| Red Hat Enterprise Linux 8, 64-bit | 3.8 - 3.11 |
74-
| CentOS 7, 64-bit | 3.8 - 3.11 |
75-
| macOS 10.15.x versions or higher | 3.8 - 3.11 |
76-
| Windows 10, 64-bit Pro, Enterprise or Education editions | 3.8 - 3.11 |
77-
| Windows Server 2016 or higher | 3.8 - 3.11 |
71+
| Ubuntu 20.04 LTS, 64-bit | 3.9 - 3.11 |
72+
| Ubuntu 22.04 LTS, 64-bit | 3.9 - 3.11 |
73+
| Red Hat Enterprise Linux 8, 64-bit | 3.9 - 3.11 |
74+
| CentOS 7, 64-bit | 3.9 - 3.11 |
75+
| macOS 10.15.x versions or higher | 3.9 - 3.11 |
76+
| Windows 10, 64-bit Pro, Enterprise or Education editions | 3.9 - 3.11 |
77+
| Windows Server 2016 or higher | 3.9 - 3.11 |
7878

7979

8080
[![-----------------------------------------------------](https://user-images.githubusercontent.com/10940214/155750931-fc094349-b6ec-4e1f-9f9a-113e67941119.jpg)](#)

check_install.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ def kernel_check():
123123
print(
124124
"If you have multiple Python version installed, use the full path to the Python\n"
125125
"executable for creating the virtual environment with a specific Python version.\n"
126-
"For example: `/usr/bin/python3.8 -m venv openvino_env`. Once you have activated\n"
126+
"For example: `/usr/bin/python3.10 -m venv openvino_env`. Once you have activated\n"
127127
"the virtual environment you can type just `python` again.\n"
128128
)
129129

notebooks/big-transfer-quantization/tensorflow-bit-image-classification-nncf-quantization.ipynb

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,11 +43,8 @@
4343
"import platform\n",
4444
"\n",
4545
"%pip install -q \"tensorflow-macos>=2.5; sys_platform == 'darwin' and platform_machine == 'arm64' and python_version > '3.8'\" # macOS M1 and M2\n",
46-
"%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",
4746
"%pip install -q \"tensorflow>=2.5; sys_platform == 'darwin' and platform_machine != 'arm64' and python_version > '3.8'\" # macOS x86\n",
48-
"%pip install -q \"tensorflow>=2.5,<=2.12.0; sys_platform == 'darwin' and platform_machine != 'arm64' and python_version <= '3.8'\" # macOS x86\n",
4947
"%pip install -q \"tensorflow>=2.5; sys_platform != 'darwin' and python_version > '3.8'\"\n",
50-
"%pip install -q \"tensorflow>=2.5,<=2.12.0; sys_platform != 'darwin' and python_version <= '3.8'\"\n",
5148
"\n",
5249
"%pip install -q \"openvino>=2024.0.0\" \"nncf>=2.7.0\" \"tensorflow-hub>=0.15.0\" tf_keras\n",
5350
"%pip install -q \"scikit-learn>=1.3.2\"\n",

notebooks/gpu-device/gpu-device.ipynb

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -107,11 +107,8 @@
107107
"source": [
108108
"%pip install -q \"openvino-dev>=2024.0.0\" \"opencv-python\" \"tqdm\"\n",
109109
"%pip install -q \"tensorflow-macos>=2.5; sys_platform == 'darwin' and platform_machine == 'arm64' and python_version > '3.8'\" # macOS M1 and M2\n",
110-
"%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",
111110
"%pip install -q \"tensorflow>=2.5; sys_platform == 'darwin' and platform_machine != 'arm64' and python_version > '3.8'\" # macOS x86\n",
112-
"%pip install -q \"tensorflow>=2.5,<=2.12.0; sys_platform == 'darwin' and platform_machine != 'arm64' and python_version <= '3.8'\" # macOS x86\n",
113-
"%pip install -q \"tensorflow>=2.5; sys_platform != 'darwin' and python_version > '3.8'\"\n",
114-
"%pip install -q \"tensorflow>=2.5,<=2.12.0; sys_platform != 'darwin' and python_version <= '3.8'\""
111+
"%pip install -q \"tensorflow>=2.5; sys_platform != 'darwin' and python_version > '3.8'\""
115112
]
116113
},
117114
{

notebooks/optimize-preprocessing/optimize-preprocessing.ipynb

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -87,11 +87,8 @@
8787
" %pip install -q \"matplotlib>=3.4,<3.7\"\n",
8888
"\n",
8989
"%pip install -q \"tensorflow-macos>=2.5; sys_platform == 'darwin' and platform_machine == 'arm64' and python_version > '3.8'\" # macOS M1 and M2\n",
90-
"%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",
9190
"%pip install -q \"tensorflow>=2.5; sys_platform == 'darwin' and platform_machine != 'arm64' and python_version > '3.8'\" # macOS x86\n",
92-
"%pip install -q \"tensorflow>=2.5,<=2.12.0; sys_platform == 'darwin' and platform_machine != 'arm64' and python_version <= '3.8'\" # macOS x86\n",
9391
"%pip install -q \"tensorflow>=2.5; sys_platform != 'darwin' and python_version > '3.8'\"\n",
94-
"%pip install -q \"tensorflow>=2.5; sys_platform != 'darwin' and python_version <= '3.8'\"\n",
9592
"%pip install -q tf_keras tensorflow_hub"
9693
]
9794
},

notebooks/s3d-mil-nce-text-to-video-retrieval/s3d-mil-nce-text-to-video-retrieval.ipynb

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,11 +58,8 @@
5858
"%pip install -Uq pip\n",
5959
"%pip install --upgrade --pre openvino-tokenizers \"openvino>=2024.2.0\" --extra-index-url \"https://storage.openvinotoolkit.org/simple/wheels/nightly\"\n",
6060
"%pip install -q \"tensorflow-macos>=2.5; sys_platform == 'darwin' and platform_machine == 'arm64' and python_version > '3.8'\" # macOS M1 and M2\n",
61-
"%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",
6261
"%pip install -q \"tensorflow>=2.5; sys_platform == 'darwin' and platform_machine != 'arm64' and python_version > '3.8'\" # macOS x86\n",
63-
"%pip install -q \"tensorflow>=2.5,<=2.12.0; sys_platform == 'darwin' and platform_machine != 'arm64' and python_version <= '3.8'\" # macOS x86\n",
6462
"%pip install -q \"tensorflow>=2.5; sys_platform != 'darwin' and python_version > '3.8'\"\n",
65-
"%pip install -q \"tensorflow>=2.5,<=2.12.0; sys_platform != 'darwin' and python_version <= '3.8'\"\n",
6663
"\n",
6764
"%pip install -q tensorflow_hub tf_keras numpy \"opencv-python\" \"nncf>=2.10.0\"\n",
6865
"if platform.system() != \"Windows\":\n",

notebooks/speechbrain-emotion-recognition/speechbrain-emotion-recognition.ipynb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
"source": [
88
"# SpeechBrain Emotion Recognition with OpenVINO\n",
99
"\n",
10-
"<div class=\"alert alert-block alert-danger\"> <b>Important note:</b> This notebook requires python >= 3.9. Please make sure that your environment fulfill to this requirement before running it </div>\n",
1110
"\n",
1211
"[SpeechBrain](https://github.com/speechbrain/speechbrain) is an open-source PyTorch toolkit that accelerates Conversational AI development, i.e., the technology behind speech assistants, chatbots, and large language models. \n",
1312
"\n",

notebooks/stable-audio/stable-audio.ipynb

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,7 @@
5050
"metadata": {},
5151
"source": [
5252
"## Prerequisites\n",
53-
"[back to top ⬆️](#Table-of-contents:)\n",
54-
">**Note**: using python3.8 can take a long time to resolve dependency conflicts."
53+
"[back to top ⬆️](#Table-of-contents:)"
5554
]
5655
},
5756
{

notebooks/stable-diffusion-keras-cv/stable-diffusion-keras-cv.ipynb

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@
77
"source": [
88
"# Stable Diffusion with KerasCV and OpenVINO\n",
99
"\n",
10-
"<div class=\"alert alert-block alert-danger\"> <b>Important note:</b> This notebook requires python >= 3.9. Please make sure that your environment fulfill to this requirement before running it </div>\n",
11-
"\n",
1210
"Stable Diffusion is a powerful, open-source text-to-image generation model. There are multiple implementations of this pipeline in different frameworks. Previously, we already considered how to convert and optimize [PyTorch Stable Diffusion using HuggingFace Diffusers library](https://github.com/openvinotoolkit/openvino_notebooks/blob/latest/notebooks/stable-diffusion-text-to-image/stable-diffusion-text-to-image.ipynb). In this tutorial, we consider how to convert and run [Stable Diffusion from KerasCV](https://www.tensorflow.org/tutorials/generative/generate_images_with_stable_diffusion) that employs graph mode execution, which enhances performance by leveraging graph optimization and enabling parallelism and in the same time maintains a user-friendly interface for image generation. An additional part demonstrates how to run optimization with [NNCF](https://github.com/openvinotoolkit/nncf/) to speed up pipeline.\n",
1311
"\n",
1412
"#### Table of contents:\n",

notebooks/tensorflow-classification-to-openvino/tensorflow-classification-to-openvino.ipynb

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,11 +53,8 @@
5353
"else:\n",
5454
" %pip install -q \"matplotlib>=3.4,<3.7\"\n",
5555
"%pip install -q \"tensorflow-macos>=2.5; sys_platform == 'darwin' and platform_machine == 'arm64' and python_version > '3.8'\" # macOS M1 and M2\n",
56-
"%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",
5756
"%pip install -q \"tensorflow>=2.5; sys_platform == 'darwin' and platform_machine != 'arm64' and python_version > '3.8'\" # macOS x86\n",
58-
"%pip install -q \"tensorflow>=2.5,<=2.12.0; sys_platform == 'darwin' and platform_machine != 'arm64' and python_version <= '3.8'\" # macOS x86\n",
5957
"%pip install -q \"tensorflow>=2.5; sys_platform != 'darwin' and python_version > '3.8'\"\n",
60-
"%pip install -q \"tensorflow>=2.5,<=2.12.0; sys_platform != 'darwin' and python_version <= '3.8'\"\n",
6158
"%pip install -q tf_keras tensorflow_hub tqdm"
6259
]
6360
},

0 commit comments

Comments
 (0)