Commit Graph

232 Commits

Author SHA1 Message Date
Sebastian Golebiewski 1178d983e6
Changing file structure of POT Tool Examples section (#20213) 2023-10-03 14:41:37 +02:00
Sebastian Golebiewski 1e110c9ff5
Changing file structure of POT tool section (#20208) 2023-10-03 12:25:32 +02:00
Sebastian Golebiewski 893710d08f
Changing file structure of Post-Training Optimization Tool section (#20207) 2023-10-03 11:42:53 +02:00
Sebastian Golebiewski f1db726559
Changing file structure of Legacy Features section (#20182) 2023-10-02 13:46:39 +02:00
Nikita Malinin 064a18eb09
[POT] Change python version to 3.8+ (#20071)
* Change python version to 3.8+

* Fix tests
2023-09-27 18:01:34 +04:00
Maciej Smyk f790a3b4f2
[DOCS] Python 3.7 support removal from docs for master (#19670)
* Python update

* update

* fix

* m suffix removal
2023-09-21 15:54:10 +02:00
Przemyslaw Wysocki b1b3343ffc
[PyOV] Bump `scipy` to a secure version and bump OMZ (#19458)
* Bump omz and scipy

* Separate versions per python version

* Change scipy in pot
2023-09-14 13:41:27 +02:00
Maciej Smyk 3677dda457
[DOCS] 23.0 to 23.1 link update for master (#19584)
* 2023.1 link fix

* 2023.1 link fix

* 2023.1 link fix

* 2023.1 link fix

* 2023.1 link fix
2023-09-04 15:40:02 +02:00
Nikita Malinin a4b0fe51af
[POT] Update for CI (#19067)
* Update references
2023-09-01 18:12:24 +02:00
Liubov Talamanova b790458da6
[POT] Fix bug in classification sample (#19490)
* Fix bug in classification sample

* fix readme
2023-08-30 13:18:44 +02:00
Anastasiia Pnevskaia 59872ee072
Removed InputCutInfo, disabled input cut in OVC. (#18927)
* Fixed output_model logic.

* Removed InputCutInfo, disabled input cut in ovc.

* Disabled output cut, added tests for setting shapes or types for not all inputs.

* Returned support of numpy type.

* Separated MO and OVC python API tests.

* Small corrections.

* Added output dir test, exceptions test.

* Tests fixed.

* Corrected extension param description.

* Corrected input description, minor code corrections.
2023-08-10 23:47:27 +04:00
Stefania Hergane 24f8c4105e
[EISW-89824] [master] Rename VPUX to NPU (#19004)
* Change `VPUX`/`VPU` occurrences to `NPU`

* Switch `HARDWARE_AWARE_IGNORED_PATTERNS` VPU to NPU

* Rename `MYRIAD plugin`

* Rename vpu_patterns to npu_patterns in tools/pot

* Rename vpu.json to npu.json in tools/pot

* Rename restrict_for_vpu to restrict_for_npu in tools/pot

* Change keembayOptimalBatchNum to npuOptimalBatchNum

---------

Co-authored-by: Dan <mircea-aurelian.dan@intel.com>
2023-08-10 00:20:07 +04:00
Jan Iwaszkiewicz 583939b828
[PyOV] Aliases and namespace redesign (#18157)
* Remove inits, update main one

* Fix stacklevel

* Testing wrong solution

* Testing test test

* Fix test test test test

* mo modules mo problems

* Xfail test that check stdout/err?

* not so correct solution to circular imports

* Fix or not to fix

* CMake magic, co-authors: my best team

* Fix package imports

* Fix tools inits

* Fix ovc tf

* Fix Q000

* Fix F401

* Fix linters

* Add save_model

* Remove LayoutMap

* Move test_utils to 'internal modules'

* First testing

* Missing Type

* Expand main namespace

* Change some more tests

* Add OVAny to namespace

* Add Constant and Parameter to namespace

* More tests changes

* Fix inits

* Add layout_helpers to main namespace

* Revert CMake and linux.yml with ovc

* Update main inits

* Remove MO from tools inits

* changes to init files

* Fix tests

---------

Co-authored-by: Sergey Lyalin <sergey.lyalin@intel.com>
2023-07-28 11:52:21 +04:00
Maciej Smyk 0148076ed7
[DOCS] Code block update for master (#18437)
* code-block-1

* Update Convert_Model_From_Paddle.md

* code-block force

* fix

* fix-2

* Update troubleshooting-steps.md

* code-block-2

* Update README.md
2023-07-11 10:43:54 +02:00
Karol Blaszczak 258d476cbd
[DOCS] top bar fixes
fixes in top bar styling
FAQ for pot gets drop-downs
Homepage css improvement
2023-06-28 14:14:35 +02:00
Alina Kladieva c2afa2aefc
Restrict scipy module version for POT (#18237)
* Restrict scipy module version for POT

Latest release https://pypi.org/project/scipy/1.11.0 causes dependency conflicts

* Bump OMZ to include scipy restriction

---------

Co-authored-by: Roman Kazantsev <roman.kazantsev@intel.com>
2023-06-27 12:59:45 +02:00
Sebastian Golebiewski 4270dca591
[DOCS] Fixing formatting issues in articles (#17994)
* fixing-formatting
2023-06-13 07:59:27 +02:00
Sebastian Golebiewski ae73973c11
[DOCS] Fixing broken code blocks (#17959)
* code-blocks-fixes
2023-06-09 09:08:14 +02:00
Nikita Malinin 29f06692d6
ENABLE_MMAP property pos (#17896) 2023-06-06 12:19:53 +00:00
Tatiana Savina 94597d8391
[DOCS] Port release doc fixes to master (#17901)
* [DOCS] Change downloads directory link  (#17846)

* installation link

* fix path

* change notebooks links (#17857)

* fix apt and yum links (#17877)

* [DOCS] Fix list and links to POT (#17887)

* change link to POT

* change header label

* fix typo
2023-06-06 12:48:18 +02:00
Roman Zubarev 8e97010595
remove quantization config for vpu (#17507)
* remove quantization config for vpu

* remove VPU config testcases from test unify scales

---------

Co-authored-by: shokinal <alexander.shokin@intel.com>
Co-authored-by: Alexander Kozlov <alexander.kozlov@intel.com>
2023-06-05 13:14:48 +03:00
Sebastian Golebiewski 6c287986b7
[DOCS] `convert_model()` as a default conversion path (#17454) 2023-05-31 17:53:22 +02:00
Maciej Smyk dc36ec11b5
[DOCS] Link adjustment for dev docs + fix to build.md CPU link for master (#17744)
* link-update-1

* link update

* Update build.md

* dl workbench

* Update README.md
2023-05-31 13:27:20 +04:00
Sebastian Golebiewski e69bcdb7a5
[DOCS] Update Interactive Tutorials (#17598) 2023-05-22 14:45:54 +02:00
Maksim Proshin 2513db5a04
DOCS Update optimization docs with NNCF PTQ changes and deprecation of POT (#17398)
* Update model_optimization_guide.md

* Update model_optimization_guide.md

* Update model_optimization_guide.md

* Update model_optimization_guide.md

* Update model_optimization_guide.md

* Update model_optimization_guide.md

* Update model_optimization_guide.md

* Update home.rst

* Update ptq_introduction.md

* Update Introduction.md

* Update Introduction.md

* Update Introduction.md

* Update ptq_introduction.md

* Update ptq_introduction.md

* Update basic_quantization_flow.md

* Update basic_quantization_flow.md

* Update basic_quantization_flow.md

* Update quantization_w_accuracy_control.md

* Update quantization_w_accuracy_control.md

* Update quantization_w_accuracy_control.md

* Update quantization_w_accuracy_control.md

* Update quantization_w_accuracy_control.md

* Update quantization_w_accuracy_control.md

* Update quantization_w_accuracy_control.md

* Update quantization_w_accuracy_control.md

* Update quantization_w_accuracy_control.md

* Update basic_quantization_flow.md

* Update basic_quantization_flow.md

* Update quantization_w_accuracy_control.md

* Update basic_quantization_flow.md

* Update basic_quantization_flow.md

* Update model_optimization_guide.md

* Update ptq_introduction.md

* Update quantization_w_accuracy_control.md

* Update model_optimization_guide.md

* Update quantization_w_accuracy_control.md

* Update model_optimization_guide.md

* Update quantization_w_accuracy_control.md

* Update model_optimization_guide.md

* Update Introduction.md

* Update basic_quantization_flow.md

* Update basic_quantization_flow.md

* Update quantization_w_accuracy_control.md

* Update ptq_introduction.md

* Update Introduction.md

* Update model_optimization_guide.md

* Update basic_quantization_flow.md

* Update quantization_w_accuracy_control.md

* Update quantization_w_accuracy_control.md

* Update quantization_w_accuracy_control.md

* Update Introduction.md

* Update FrequentlyAskedQuestions.md

* Update model_optimization_guide.md

* Update Introduction.md

* Update model_optimization_guide.md

* Update model_optimization_guide.md

* Update model_optimization_guide.md

* Update model_optimization_guide.md

* Update model_optimization_guide.md

* Update ptq_introduction.md

* Update ptq_introduction.md

* added code snippet (#1)

* Update basic_quantization_flow.md

* Update basic_quantization_flow.md

* Update quantization_w_accuracy_control.md

* Update basic_quantization_flow.md

* Update basic_quantization_flow.md

* Update ptq_introduction.md

* Update model_optimization_guide.md

* Update basic_quantization_flow.md

* Update ptq_introduction.md

* Update quantization_w_accuracy_control.md

* Update basic_quantization_flow.md

* Update basic_quantization_flow.md

* Update basic_quantization_flow.md

* Update ptq_introduction.md

* Update ptq_introduction.md

* Delete ptq_introduction.md

* Update FrequentlyAskedQuestions.md

* Update Introduction.md

* Update quantization_w_accuracy_control.md

* Update introduction.md

* Update basic_quantization_flow.md code blocks

* Update quantization_w_accuracy_control.md code snippets

* Update docs/optimization_guide/nncf/ptq/code/ptq_torch.py

Co-authored-by: Alexander Suslov <alexander.suslov@intel.com>

* Update model_optimization_guide.md

* Optimization docs proofreading  (#2)

* images updated

* delete reminder

* review

* text review

* change images to original ones

* Update filter_pruning.md code blocks

* Update basic_quantization_flow.md

* Update quantization_w_accuracy_control.md

* Update images (#3)

* images updated

* delete reminder

* review

* text review

* change images to original ones

* Update filter_pruning.md code blocks

* update images

* resolve conflicts

* resolve conflicts

* change images to original ones

* resolve conflicts

* update images

* fix conflicts

* Update model_optimization_guide.md

* Update docs/optimization_guide/nncf/ptq/code/ptq_tensorflow.py

Co-authored-by: Alexander Suslov <alexander.suslov@intel.com>

* Update docs/optimization_guide/nncf/ptq/code/ptq_torch.py

Co-authored-by: Alexander Suslov <alexander.suslov@intel.com>

* Update docs/optimization_guide/nncf/ptq/code/ptq_onnx.py

Co-authored-by: Alexander Suslov <alexander.suslov@intel.com>

* Update docs/optimization_guide/nncf/ptq/code/ptq_aa_openvino.py

Co-authored-by: Alexander Suslov <alexander.suslov@intel.com>

* Update docs/optimization_guide/nncf/ptq/code/ptq_openvino.py

Co-authored-by: Alexander Suslov <alexander.suslov@intel.com>

* table format fix

* Update headers

* Update qat.md code blocks

---------

Co-authored-by: Alexander Suslov <alexander.suslov@intel.com>
Co-authored-by: Tatiana Savina <tatiana.savina@intel.com>
2023-05-19 14:36:22 +00:00
Maciej Smyk 568f0eb21b
[DOCS] Link adjustment for master (#17607) 2023-05-18 15:12:34 +00:00
Anastasia Kuporosova 75fa11c80f
[PyOV] Remove deprecated (#17512)
* [PyOV] Remove deprecated

* remove deprecated api

* remove tests

* update pot
2023-05-16 21:48:39 +02:00
Nikita Savelyev 100d56261a
Added missing import keyword (#17271) 2023-04-28 00:05:20 +04:00
Maciej Smyk 72533a7da1
DOCS shift to rst - Quantizing Models with Accuracy Control, Documentation, Get Started & Learn OpenVINO (#16997)
* Update AccuracyAwareQuantizationUsage.md

* Update AccuracyAwareQuantizationUsage.md

* Update AccuracyAwareQuantizationUsage.md

* Update AccuracyAwareQuantizationUsage.md

* Update AccuracyAwareQuantizationUsage.md

* Update AccuracyAwareQuantizationUsage.md

* Update AccuracyAwareQuantizationUsage.md

* Update AccuracyAwareQuantizationUsage.md

* Update AccuracyAwareQuantizationUsage.md

* Update AccuracyAwareQuantizationUsage.md

* Update AccuracyAwareQuantizationUsage.md

* rst

* fixes
2023-04-25 16:06:34 +02:00
Nikita Malinin e37288fbcc
[POT] Added inference shape for in-place statistics (#17114)
* Added inference shape for inplace statistics

* Update graph_builder
2023-04-25 11:14:34 +04:00
dependabot[bot] eac265722f
Update networkx requirement from <=2.8.8 to <=3.1 in /tools/pot (#16745)
Updates the requirements on [networkx](https://github.com/networkx/networkx) to permit the latest version.
- [Release notes](https://github.com/networkx/networkx/releases)
- [Commits](https://github.com/networkx/networkx/compare/networkx-0.23...networkx-3.1)

---
updated-dependencies:
- dependency-name: networkx
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-24 13:37:35 +04:00
Daniil Lyakhov 7997354359
POT is depricated (#16758) 2023-04-24 09:37:57 +04:00
Karol Blaszczak 1471a6e8de
[DOCS] benchmarks new page (#16620) 2023-04-17 16:43:57 +02:00
Liubov Talamanova 0c0aa5c997
[POT] Fix POT CI (#16955) 2023-04-14 17:21:01 +00:00
Anastasia Kuporosova dbe051aa79
[POT] use serialize methid (#16768) 2023-04-06 15:02:24 +04:00
Sebastian Golebiewski b2e4857a64
DOCS shift to rst - AccuracyAwareQuantization Parameters (#16663) 2023-04-03 08:29:40 +02:00
Sebastian Golebiewski 02b35d7984
DOCS shift to rst - POT CLI Example (#16649) 2023-04-03 08:29:10 +02:00
Sebastian Golebiewski 3a5b819685
DOCS shift to rst - POT API examples (#16627) 2023-04-03 08:28:47 +02:00
Sebastian Golebiewski 2f5be5e81c
DOCS shift to rst - Post-Training Optimization (#16621) 2023-04-03 08:28:24 +02:00
Sebastian Golebiewski 848c9e3b76
DOCS shift to rst (#16616) 2023-04-03 08:27:02 +02:00
Sebastian Golebiewski f9ff518d16
DOCS shift to rst - `Model Optimization Guide` articles (#16598) 2023-03-31 11:26:04 +02:00
Sebastian Golebiewski 8fad140a02
DOCS shift to rst - Quantization articles (#16596) 2023-03-31 09:06:52 +02:00
Sebastian Golebiewski 5fa95ff19d
DOCS shift to rst - Protecting Deep Learning Model (#16474) 2023-03-23 10:12:13 +01:00
Liubov Talamanova d402b6ed3e
[POT] Return Mul to ignored ops for transformers (except CPU_SPR) (#16407) 2023-03-21 14:53:01 +04:00
Sebastian Golebiewski 8b31e3aafe
DOCS shift to rst - Quantizing models article (#16260) 2023-03-20 13:13:05 +01:00
Maksim Proshin f04507f56c
Added "accuracy" value for "preset" parameter (#16016)
Added "accuracy" value for "preset" parameter
2023-03-09 14:59:29 +04:00
Liubov Talamanova e6ad0a5154
[POT] Removed Multiply from ignored ops for transformers (#15600)
* [POT] Removed Multiply from ignored ops for transformers

* Add VPU to change_configurations_by_model_type
2023-03-07 14:37:29 +00:00
Liubov Talamanova c09b2ff8b1
[POT] Fix POT version in setup.py (#16021) 2023-03-01 22:30:26 +00:00
Nikita Malinin 3e89e7fc86
Revert "[POT] GNA - prevent an overflow in eltwise layer (#12048)" (#15639)
This reverts commit 1901087677.
2023-02-13 17:20:03 +04:00
Liubov Talamanova 5fca707ebd
[POT] Update CPU_SPR transformer quantization (#15241)
* [POT] Update CPU_SPR transformer quantization

* Add comments
2023-01-24 15:56:22 +04:00