From 7d654ccbcc87bddeead18b9c90df045d3d118c39 Mon Sep 17 00:00:00 2001 From: Alexander Dokuchaev Date: Tue, 26 Sep 2023 13:53:11 +0300 Subject: [PATCH 1/6] Add table of corresponding versions for backends --- docs/Installation.md | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/docs/Installation.md b/docs/Installation.md index 53dc91e80ca..b30142b4385 100644 --- a/docs/Installation.md +++ b/docs/Installation.md @@ -34,7 +34,7 @@ Use the same `pip install` syntax as above to install NNCF along with the backen pip install .[] ``` -List of supported backends: `torch`, `tf`, `onnx` and `openvino`. +List of supported backends: `torch`, `tf`, `onnx` and `openvino`. For development purposes install extra packages by @@ -61,3 +61,14 @@ Note that in order for this to work for pip versions >= 21.3, your Git version m ## As a Docker image Use one of the Dockerfiles in the [docker](../docker) directory to build an image with an environment already set up and ready for running NNCF [sample scripts](../README.md#model-compression-samples). + +## Corresponding versions + +The following table lists the recommended corresponding versions of backend packages +as well as the supported versions of Python: + +| NNCF | OpenVINO | PyTorch | ONNX | ONNX Runtime | TensorFlow | Python | +| ------- | ---------- | ------------------- | -------- | -------------- | ------------ | ---------------- | +| `2.6.0` | `2023.1.0` | `>=1.13.0`, `<2.1` | `1.13.1` | `1.14.1` | `2.12.0` | `>=3.7`, `<3.11` | +| `2.5.0` | `2023.0.0` | `>=1.9.1`, `<1.14` | `1.13.1` | `1.14.1` | `2.11.1` | `>=3.7`, `<3.11` | +| `2.4.0` | `2022.1.0` | `>=1.8.2`, `<1.14` | `1.12.0` | `1.13.1` | `2.8.4` | `>=3.7`, `<3.11` | From 1b0429e82323f1525d00512dd864ec529d2337f2 Mon Sep 17 00:00:00 2001 From: Alexander Dokuchaev Date: Wed, 27 Sep 2023 19:13:42 +0300 Subject: [PATCH 2/6] align with readme.md --- docs/Installation.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/Installation.md b/docs/Installation.md index b30142b4385..6f483bd605d 100644 --- a/docs/Installation.md +++ b/docs/Installation.md @@ -67,8 +67,8 @@ Use one of the Dockerfiles in the [docker](../docker) directory to build an imag The following table lists the recommended corresponding versions of backend packages as well as the supported versions of Python: -| NNCF | OpenVINO | PyTorch | ONNX | ONNX Runtime | TensorFlow | Python | -| ------- | ---------- | ------------------- | -------- | -------------- | ------------ | ---------------- | -| `2.6.0` | `2023.1.0` | `>=1.13.0`, `<2.1` | `1.13.1` | `1.14.1` | `2.12.0` | `>=3.7`, `<3.11` | -| `2.5.0` | `2023.0.0` | `>=1.9.1`, `<1.14` | `1.13.1` | `1.14.1` | `2.11.1` | `>=3.7`, `<3.11` | -| `2.4.0` | `2022.1.0` | `>=1.8.2`, `<1.14` | `1.12.0` | `1.13.1` | `2.8.4` | `>=3.7`, `<3.11` | +| NNCF | OpenVINO | PyTorch | ONNX | TensorFlow | Python | +| ------- | ------------ | ------------------- | ---------- | ----------------------- | ------- | +| `2.6.0` | `>=2022.3.0` | `>=1.13.0`, `<2.1` | `~=1.13.1` | `>=2.4.0`, `<=2.12.0` | `>=3.7` | +| `2.5.0` | `>=2022.3.0` | `>=1.9.1`, `<1.14` | `~=1.13.1` | `>=2.4.0`, `<=2.11.1` | `>=3.7` | +| `2.4.0` | `>=2022.1.0` | `1.12.1` | | `>=2.4.0`, `<=2.8.2` | `>=3.7` | From 63c730286a5a81b78c67ad546f69f7c21b76f9df Mon Sep 17 00:00:00 2001 From: Alexander Dokuchaev Date: Fri, 29 Sep 2023 17:14:29 +0300 Subject: [PATCH 3/6] ov --- docs/Installation.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/Installation.md b/docs/Installation.md index 6f483bd605d..1c7ecfd55c0 100644 --- a/docs/Installation.md +++ b/docs/Installation.md @@ -67,8 +67,8 @@ Use one of the Dockerfiles in the [docker](../docker) directory to build an imag The following table lists the recommended corresponding versions of backend packages as well as the supported versions of Python: -| NNCF | OpenVINO | PyTorch | ONNX | TensorFlow | Python | -| ------- | ------------ | ------------------- | ---------- | ----------------------- | ------- | -| `2.6.0` | `>=2022.3.0` | `>=1.13.0`, `<2.1` | `~=1.13.1` | `>=2.4.0`, `<=2.12.0` | `>=3.7` | -| `2.5.0` | `>=2022.3.0` | `>=1.9.1`, `<1.14` | `~=1.13.1` | `>=2.4.0`, `<=2.11.1` | `>=3.7` | -| `2.4.0` | `>=2022.1.0` | `1.12.1` | | `>=2.4.0`, `<=2.8.2` | `>=3.7` | +| NNCF | OpenVINO | PyTorch | ONNX | TensorFlow | Python | +| ------- | ---------- | ------------------- | -------- | ----------------------- | ------- | +| `2.6.0` | `2023.1.0` | `>=1.13.0`, `<2.1` | `1.13.1` | `>=2.4.0`, `<=2.12.0` | `>=3.7` | +| `2.5.0` | `2023.0.0` | `>=1.9.1`, `<1.14` | `1.13.1` | `>=2.4.0`, `<=2.11.1` | `>=3.7` | +| `2.4.0` | `2022.1.0` | `>=1.8.2`, `<1.14` | | `>=2.4.0`, `<=2.8.2` | `>=3.7` | From 6691eab5a8c025442f12af6247befbee65172a25 Mon Sep 17 00:00:00 2001 From: Alexander Dokuchaev Date: Fri, 29 Sep 2023 17:18:16 +0300 Subject: [PATCH 4/6] onnx --- docs/Installation.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/Installation.md b/docs/Installation.md index 1c7ecfd55c0..15aee6fd908 100644 --- a/docs/Installation.md +++ b/docs/Installation.md @@ -71,4 +71,4 @@ as well as the supported versions of Python: | ------- | ---------- | ------------------- | -------- | ----------------------- | ------- | | `2.6.0` | `2023.1.0` | `>=1.13.0`, `<2.1` | `1.13.1` | `>=2.4.0`, `<=2.12.0` | `>=3.7` | | `2.5.0` | `2023.0.0` | `>=1.9.1`, `<1.14` | `1.13.1` | `>=2.4.0`, `<=2.11.1` | `>=3.7` | -| `2.4.0` | `2022.1.0` | `>=1.8.2`, `<1.14` | | `>=2.4.0`, `<=2.8.2` | `>=3.7` | +| `2.4.0` | `2022.1.0` | `>=1.8.2`, `<1.14` | `1.12.0` | `>=2.4.0`, `<=2.8.2` | `>=3.7` | From d9a919e2bed0c20339be86da397852533b2f06e2 Mon Sep 17 00:00:00 2001 From: Alexander Dokuchaev Date: Tue, 3 Oct 2023 19:07:59 +0300 Subject: [PATCH 5/6] update --- README.md | 2 +- docs/Installation.md | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index f45d8502260..defa6a40020 100644 --- a/README.md +++ b/README.md @@ -370,7 +370,7 @@ You may also use one of the Dockerfiles in the [docker](./docker) directory to b - ONNX\* ~=1.13.1 - OpenVINO\* >=2022.3.0 -This repository is tested on Python* 3.8.10, PyTorch* 2.0.1 (NVidia CUDA\* Toolkit 11.7) and TensorFlow* 2.12.1 (NVidia CUDA\* Toolkit 11.8). +This repository is tested on Python* 1.13.1, PyTorch* 2.0.1 (NVidia CUDA\* Toolkit 11.8) and TensorFlow* 2.12.1 (NVidia CUDA\* Toolkit 11.8). ## NNCF Compressed Model Zoo diff --git a/docs/Installation.md b/docs/Installation.md index 15aee6fd908..720cac03bf0 100644 --- a/docs/Installation.md +++ b/docs/Installation.md @@ -67,8 +67,8 @@ Use one of the Dockerfiles in the [docker](../docker) directory to build an imag The following table lists the recommended corresponding versions of backend packages as well as the supported versions of Python: -| NNCF | OpenVINO | PyTorch | ONNX | TensorFlow | Python | -| ------- | ---------- | ------------------- | -------- | ----------------------- | ------- | -| `2.6.0` | `2023.1.0` | `>=1.13.0`, `<2.1` | `1.13.1` | `>=2.4.0`, `<=2.12.0` | `>=3.7` | -| `2.5.0` | `2023.0.0` | `>=1.9.1`, `<1.14` | `1.13.1` | `>=2.4.0`, `<=2.11.1` | `>=3.7` | -| `2.4.0` | `2022.1.0` | `>=1.8.2`, `<1.14` | `1.12.0` | `>=2.4.0`, `<=2.8.2` | `>=3.7` | +| NNCF | OpenVINO | PyTorch | ONNX | TensorFlow | Python | +| ------- | ---------- | ------------------ | -------- | ---------- | ------- | +| `2.6.0` | `2023.1.0` | `1.13.1`, `2.0.1` | `1.13.1` | `2.12.0` | `3.8` | +| `2.5.0` | `2023.0.0` | `3.8.10`, `1.13.1` | `1.13.1` | `2.11.1` | `3.8` | +| `2.4.0` | `2022.1.0` | `3.8.10`, `1.12.1` | `1.12.0` | `2.8.2` | `3.8` | From 75f4dfb317264eb0560249573cd22c691512e255 Mon Sep 17 00:00:00 2001 From: Alexander Dokuchaev Date: Wed, 4 Oct 2023 20:08:07 +0300 Subject: [PATCH 6/6] fix --- README.md | 2 +- docs/Installation.md | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index defa6a40020..1ce8448f5a1 100644 --- a/README.md +++ b/README.md @@ -370,7 +370,7 @@ You may also use one of the Dockerfiles in the [docker](./docker) directory to b - ONNX\* ~=1.13.1 - OpenVINO\* >=2022.3.0 -This repository is tested on Python* 1.13.1, PyTorch* 2.0.1 (NVidia CUDA\* Toolkit 11.8) and TensorFlow* 2.12.1 (NVidia CUDA\* Toolkit 11.8). +This repository is tested on Python* 3.8.10, PyTorch* 2.0.1 (NVidia CUDA\* Toolkit 11.8) and TensorFlow* 2.12.1 (NVidia CUDA\* Toolkit 11.8). ## NNCF Compressed Model Zoo diff --git a/docs/Installation.md b/docs/Installation.md index 720cac03bf0..063e2e6f7b3 100644 --- a/docs/Installation.md +++ b/docs/Installation.md @@ -67,8 +67,8 @@ Use one of the Dockerfiles in the [docker](../docker) directory to build an imag The following table lists the recommended corresponding versions of backend packages as well as the supported versions of Python: -| NNCF | OpenVINO | PyTorch | ONNX | TensorFlow | Python | -| ------- | ---------- | ------------------ | -------- | ---------- | ------- | -| `2.6.0` | `2023.1.0` | `1.13.1`, `2.0.1` | `1.13.1` | `2.12.0` | `3.8` | -| `2.5.0` | `2023.0.0` | `3.8.10`, `1.13.1` | `1.13.1` | `2.11.1` | `3.8` | -| `2.4.0` | `2022.1.0` | `3.8.10`, `1.12.1` | `1.12.0` | `2.8.2` | `3.8` | +| NNCF | OpenVINO | PyTorch | ONNX | TensorFlow | Python | +| ------- | ---------- | -------- | -------- | ---------- | ------- | +| `2.6.0` | `2023.1.0` | `2.0.1` | `1.13.1` | `2.12.0` | `3.8` | +| `2.5.0` | `2023.0.0` | `1.13.1` | `1.13.1` | `2.11.1` | `3.8` | +| `2.4.0` | `2022.1.0` | `1.12.1` | `1.12.0` | `2.8.2` | `3.8` |