Skip to content

Commit edf6bf6

Browse files
Disable support of python 3.9 (#3674)
### Changes Set `requires-python = ">=3.10"` ### Reason for changes Python 3.9 reached end of life
1 parent be78b65 commit edf6bf6

File tree

29 files changed

+28
-44
lines changed

29 files changed

+28
-44
lines changed

.github/workflows/weekly.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
fail-fast: false
1414
matrix:
1515
include:
16-
- python_version: "3.9"
16+
- python_version: "3.10"
1717
override_requirements: "numpy==1.24.0"
1818
- python_version: "3.11"
1919
- python_version: "3.12"

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
[![Apache License Version 2.0](https://img.shields.io/badge/license-Apache_2.0-green.svg)](LICENSE)
1616
[![PyPI Downloads](https://static.pepy.tech/badge/nncf)](https://pypi.org/project/nncf/)
1717

18-
![Python](https://img.shields.io/badge/python-3.9+-blue)
18+
![Python](https://img.shields.io/badge/python-3.10+-blue)
1919
![Backends](https://img.shields.io/badge/backends-openvino_|_pytorch_|_onnx_|_tensorflow-orange)
2020
![OS](https://img.shields.io/badge/OS-Linux_|_Windows_|_MacOS-blue)
2121

constraints.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,7 @@ torchvision==0.23.0
88
# ONNX
99
onnx==1.17.0; python_version < '3.13'
1010
onnx==1.18.0; python_version >= '3.13'
11-
onnxruntime==1.19.2; python_version <= '3.9'
12-
onnxruntime==1.21.1; python_version > '3.9'
11+
onnxruntime==1.21.1
1312

1413
# TensorFlow
1514
tensorflow==2.15.1

examples/llm_compression/onnx/tiny_llama/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ This example demonstrates how to optimize Large Language Models (LLMs) in ONNX f
44

55
## Prerequisites
66

7-
Before running this example, ensure you have Python 3.9+ installed and set up your environment:
7+
Before running this example, ensure you have Python 3.10+ installed and set up your environment:
88

99
### 1. Create and activate a virtual environment
1010

examples/llm_compression/onnx/tiny_llama_scale_estimation/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ The example includes the following steps:
1010

1111
## Prerequisites
1212

13-
Before running this example, ensure you have Python 3.9+ installed and set up your environment:
13+
Before running this example, ensure you have Python 3.10+ installed and set up your environment:
1414

1515
### 1. Create and activate a virtual environment
1616

examples/llm_compression/openvino/smollm2_360m_codebook/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ This example demonstrates how to apply codebook compression to [HuggingFaceTB/Sm
44

55
## Prerequisites
66

7-
Before running this example, ensure you have Python 3.9+ installed and set up your environment:
7+
Before running this example, ensure you have Python 3.10+ installed and set up your environment:
88

99
### 1. Create and activate a virtual environment
1010

examples/llm_compression/openvino/smollm2_360m_fp8/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ This example demonstrates how to apply static FP8 quantization to [HuggingFaceTB
44

55
## Prerequisites
66

7-
Before running this example, ensure you have Python 3.9+ installed and set up your environment:
7+
Before running this example, ensure you have Python 3.10+ installed and set up your environment:
88

99
### 1. Create and activate a virtual environment
1010

examples/llm_compression/openvino/tiny_llama/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ This example demonstrates how to optimize Large Language Models (LLMs) using NNC
44

55
## Prerequisites
66

7-
Before running this example, ensure you have Python 3.9+ installed and set up your environment:
7+
Before running this example, ensure you have Python 3.10+ installed and set up your environment:
88

99
### 1. Create and activate a virtual environment
1010

examples/llm_compression/openvino/tiny_llama_find_hyperparams/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ The example includes the following steps:
1313

1414
## Prerequisites
1515

16-
Before running this example, ensure you have Python 3.9+ installed and set up your environment:
16+
Before running this example, ensure you have Python 3.10+ installed and set up your environment:
1717

1818
### 1. Create and activate a virtual environment
1919

examples/llm_compression/openvino/tiny_llama_synthetic_data/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ The example includes the following steps:
1010

1111
## Prerequisites
1212

13-
Before running this example, ensure you have Python 3.9+ installed and set up your environment:
13+
Before running this example, ensure you have Python 3.10+ installed and set up your environment:
1414

1515
### 1. Create and activate a virtual environment
1616

0 commit comments

Comments
 (0)