Pavel Esir
20ad8b43a1
Enable dinov2-base ( #21626 )
...
with the newest transformers dinov-2-base started to pass
2023-12-13 13:52:52 +00:00
Maxim Vafin
34b2b66b69
[PT FE] Report unsupported operations with model list ( #21607 )
...
* [PT FE] Report unsupported operations with model list
* Continue on error
* Disable more models
* Check if file exists
* continue of error
* Fix on failure
* Fix file path
* Apply suggestions from code review
2023-12-12 21:25:27 +00:00
Ahmad Chalhoub
942bc8b1ba
support pytorch efrc op ( #21567 )
...
* support pytorch efrc op
* allow dynamic case & fix code format
* fix code style, use space 4
2023-12-12 21:54:29 +01:00
Maxim Vafin
182b44f6cc
[PT FE] Support dict on input ( #21450 )
...
* [PT FE] Support dict on input
* Check that keys are strings
* Revert changes in PtFrameworkNode
2023-12-12 18:58:04 +01:00
Maxim Vafin
e1b9d8c167
[PT FE] Fix constant type in aten::square ( #21580 )
...
* Fix constant type in aten::square
* Add test
* Simplify test
2023-12-11 19:29:02 +00:00
Maxim Vafin and Roboreptile
0f6b9abee8
Support aten::lstm, aten::gru and aten::rnn_{relu,tanh} operations ( #21579 )
...
* [PT FE] Initial LSTM impl
* Support aten::lstm operation
* Support aten::gru and aten::rnn_{relu,tanh}
* Apply suggestions from code review
* Fix build
* Simplify implementation
* More simplification
* Update src/frontends/pytorch/src/op/lstm.cpp
* Simplification
* Use default LSTM helpers
---------
Co-authored-by: Roboreptile <piotr.krzeminski@intel.com >
2023-12-11 19:06:51 +00:00
Pavel Esir and Maxim Vafin
948fc265b4
[tests] resolve skipped HF models: 2nd batch ( #21526 )
...
* resolve skipped HF models: 2nd batch
* commented out models with no info and less than 10 downloads
* Revert "commented out models with no info and less than 10 downloads"
This reverts commit a55861ed69 .
* replace with self.image
* resolve todo
* Update tests/model_hub_tests/torch_tests/test_hf_transformers.py
Co-authored-by: Maxim Vafin <maxim.vafin@intel.com >
* Update tests/model_hub_tests/torch_tests/test_hf_transformers.py
---------
Co-authored-by: Maxim Vafin <maxim.vafin@intel.com >
2023-12-11 15:12:12 +04:00
Andrey Kashchikhin
dfc91186a1
[CI] [GHA] Extract test jobs into reusable workflows ( #21395 )
...
* extract cpu func tests into a reusable workflow
* add needs
* check paths
* correct paths
* rm usage of setupvars
* extract samples
* use yaml string
* split mac workflow
* check variables
* try github workspace
* check full dir
* set variables
* try with sub directory
* Revert "try with sub directory"
This reverts commit d891ee3f28 .
* extract c++ tests from linux
* change
* use cxx workflow in mac workflows
* add noninteractive
* extract cpu func tests
* rm unused
* enable mac
* fix reusable workflow name
* correct path for sparse-checkout
* extract python UT
* remove unnecessary asterisk
* remove another unnecessary asterisk
* use reusable action for linux cc
* add check for setupvars existence
* check with manually installed opencl
* add components input to samples workflow; rm pr triggers for mac workflows
* add missing needs
* add missing option for deps install script
* use disables in test themselves instead of ifs in workflows
* use reusable workflow for cxx tests in linux arm
* use python reusable workflow in linux arm
* add missing endif
* use self-hosted for samples, add x86_64 constraint for jax
* check paths
* find gompby partial name
* skip failing tests on arm; correct gomp finding for ovc
* check tests
* add debian packages job; use job_ prefix for reusable workflows with jobs
* extract tf hub model tests
* extract tf model hub perf tests
* extract pytorch models tests
* do not use container on GHA runners
* extract onnx runtime
* add missing deps
* skip test for linux arm
* rm always()s
* fix quotes
* correct paths
* correct ifs, check dir for onnxruntime
* correct path for onnxruntime utils folder; install python3
* use self-hosted as input
* check for self-hosted runner via name, pass version
* skip cpu plugin unittest
* check cxx tests
* rm pr trigger
2023-12-07 23:44:45 +04:00
Ahmad Chalhoub and Roman Kazantsev
aa69f00e8d
support MulNoNan for TF ( #21459 )
...
* support MulNoNan for TF
* update test_tf_MulNoNan
* Update src/frontends/tensorflow_common/src/op/mul_no_nan.cpp
* update zeros const method
* Update src/frontends/tensorflow_common/src/op/mul_no_nan.cpp
* Update src/frontends/tensorflow_common/src/op/mul_no_nan.cpp
* Update src/frontends/tensorflow_common/src/op/mul_no_nan.cpp
* Update src/frontends/tensorflow_common/src/op/mul_no_nan.cpp
* Update src/frontends/tensorflow_common/src/op/mul_no_nan.cpp
* Update tests/layer_tests/tensorflow_tests/test_tf_MulNoNan.py
---------
Co-authored-by: Roman Kazantsev <roman.kazantsev@intel.com >
2023-12-07 16:31:41 +00:00
Maxim Vafin
056282b7ef
[PT FE] Unroll lists in a same way as tuples when on input ( #21505 )
...
* [PT FE] Unroll lists in a same way as tuples when on input
* Fix codestyle
2023-12-07 16:09:43 +01:00
Maxim Vafin
dd8f4f3661
Fix ClampFusion for case when min is greater then max ( #21509 )
2023-12-07 17:58:38 +04:00
Roman Kazantsev
ec40652cea
[TF FE] Switch on ConvLSTM2D layer tests in pre-commit ( #21520 )
...
* [TF FE] Switch on ConvLSTM2D layer tests in pre-commit
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com >
* Remove extra blank line
---------
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com >
2023-12-07 13:46:58 +00:00
Pavel Esir and Ilya Lavrenov
b71906c672
[PT FE] [ONNX FE] Partially upcast random_normal to f32 ( #21400 )
...
* upcast randn to fp32
* style fix
* corrected tests
* add layer tests with statistics
* style-fix
* move make_random_normal to cmmmon
* style-fix
* added randn layer tests; updated CMakeLists.txt
* moved to inline
* fix problem with _USE_MATH_DEFINES on Win
* pass NodeRegistry as reference; some other minor corrections
* adjust thresholds to avoid sporadicity
* move random_normal_helper and hide from public api
* fix install
* fix install: 2nd try
* Frontend common
* remove last frontend_common::static
* build fix
* try to fix mock1 build: 2nd attempt
* try to fix mock1 build: 3rd attempt
* Update src/core/tests/CMakeLists.txt
* Fixed build: attemp 2
* Update src/plugins/intel_cpu/tests/unit/CMakeLists.txt
* Update CMakeLists.txt
---------
Co-authored-by: Ilya Lavrenov <ilya.lavrenov@intel.com >
2023-12-07 15:23:03 +04:00
Evgeny Kotov
90087dbb48
Use time limits instead of number iterations limits in GHA performance tests ( #21407 )
...
* use perf_counter_ns to measure performance; meausure within time not count
* fixes
* remove nightly
* set 60 secs by default
* fix output html
* code review fixes
* fix runtime duration
* remove unneeded inference
* cleanup
2023-12-07 11:53:27 +04:00
rghvsh and Roman Kazantsev
55d7765704
[TF FE] Support Atan2 operation for TensorFlow models ( #21076 )
...
* Create atan2.cpp
* Update common_op_table.hpp
Adds atan2 operation to the list
* Update op_table.cpp
Adds atan2 to the list of BinaryOp.
* Create test_tf_Atan2.py
Adds test for Atan2.
* Update src/frontends/tensorflow_common/src/op/atan2.cpp
Co-authored-by: Roman Kazantsev <roman.kazantsev@intel.com >
* Update src/frontends/tensorflow/src/op_table.cpp
Co-authored-by: Roman Kazantsev <roman.kazantsev@intel.com >
* Update atan2.cpp
* Update src/frontends/tensorflow_common/src/op/atan2.cpp
Co-authored-by: Roman Kazantsev <roman.kazantsev@intel.com >
* Update atan2.cpp
declares x and y , explicitly mentions conditions
* Update atan2.cpp
* Update atan2.cpp
Adds versions.
* Update atan2.cpp
adds namespace
* Update src/frontends/tensorflow_common/src/op/atan2.cpp
* Update src/frontends/tensorflow_common/src/op/atan2.cpp
* Update src/frontends/tensorflow_common/src/op/atan2.cpp
* Update src/frontends/tensorflow_common/src/op/atan2.cpp
* Update src/frontends/tensorflow_common/src/op/atan2.cpp
* Update src/frontends/tensorflow_common/src/op/atan2.cpp
* Update src/frontends/tensorflow_common/src/op/atan2.cpp
* Update src/frontends/tensorflow_common/src/op/atan2.cpp
* Update atan2.cpp
Clang format
* Update atan2.cpp
* Update src/frontends/tensorflow_common/src/op/atan2.cpp
* Update src/frontends/tensorflow_common/src/op/atan2.cpp
* Update src/frontends/tensorflow_common/src/op/atan2.cpp
* Update src/frontends/tensorflow_common/src/op/atan2.cpp
* Update src/frontends/tensorflow_common/src/op/atan2.cpp
* Update src/frontends/tensorflow_common/src/op/atan2.cpp
* Update src/frontends/tensorflow_common/src/op/atan2.cpp
* Update src/frontends/tensorflow_common/src/op/atan2.cpp
* Update src/frontends/tensorflow_common/src/op/atan2.cpp
* Update test_tf_Atan2.py
fixes the datatype of y
* Update tests/layer_tests/tensorflow_tests/test_tf_Atan2.py
* Update test_tf_Atan2.py
shape to float
* Update tests/layer_tests/tensorflow_tests/test_tf_Atan2.py
* Update tests/layer_tests/tensorflow_tests/test_tf_Atan2.py
* Update tests/layer_tests/tensorflow_tests/test_tf_Atan2.py
* Update test_tf_Atan2.py
Makes the range of input inclusive for x<0 and y<0.
* Update src/frontends/tensorflow_common/src/op/atan2.cpp
---------
Co-authored-by: Roman Kazantsev <roman.kazantsev@intel.com >
2023-12-06 21:57:07 +01:00
Roman Kazantsev
cac6aadcc8
[TF FE] Support object removal and Pad for complex type ( #21498 )
...
* [TF FE] Support object removal and Pad for complex type
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com >
* Add test for Pad on complex type
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com >
---------
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com >
2023-12-06 20:03:43 +01:00
Vitaliy Urusovskij and Ilya Lavrenov
e4c38e3afd
Port tests/ to API2.0 ( #21476 )
...
* Port properties in time and stress tests to API2.0
* Port CC tests infer_tool.py to API2.0
* Update tests/conditional_compilation/tools/infer_tool.py
Co-authored-by: Ilya Lavrenov <ilya.lavrenov@intel.com >
---------
Co-authored-by: Ilya Lavrenov <ilya.lavrenov@intel.com >
2023-12-06 14:36:43 +04:00
Andrey Kashchikhin
62f5bd6570
[CI] [GHA] Introduce the Linux ARM64 workflow ( #20809 )
...
* add arm as a matrix for build job
* uncomment
* comment
* try inside pipeline
* check location
* another dirs
* try to privide correct action path
* use corrected action
* use newer commit
* use newer commit
* use newer commit
* use newer action commit
* add setting
* rm from pipeline, adapt action iteslf
* add missing deps
* enable samples and debian jobs
* correct yml
* correct image name
* correct syntax, use self-hosted option
* enable onnx runtime and c++, use newer action
* enable Python and CPU Func tests
* add missing deps for arm64
* increase timeout for python tests
* disable some tests, add more time
* skip failing tests
* skip speech sample test on arm
* dummy chang
* skip mxnet mo on arm, run all tests
* rm quotes
* separate linux x86 and arm64 workflows
* rm unused matrix refs, add timeouts
* add skips for c++ tests and some Python tests
* correct cache keys, extend timeout
* skip more python tests
* add more skips: for python and CPU func
* extend cpu func list with skips
* disable cpu func tests and python api 2.0 tests
* rm disable job
* styling, rm pr trigger, rm always(), rm unnecessary changes
* revert
* use ifs instead of comments, provide better wording for skips
2023-12-05 12:14:02 +04:00
Roman Kazantsev
f9d20d5aa0
[TF FE] Support different types: tf.i8, u8, i16, u16, i32, u32, i64, u64, f16, f32, bf16 ( #21439 )
...
* [TF FE] Support different types: u16, u64, u32, boolean
Support constants of different types and dtype attribute values
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com >
* Use map instead of unordered_map
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com >
* Add tests with different types
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com >
---------
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com >
2023-12-05 11:08:46 +04:00
8427493446
[PyOV] Limit protobuf version for conditional compilation tests ( #21130 )
...
* Initial commit
* Add protobuf version bound
* Revert "Initial commit"
This reverts commit 5fd6b521df .
* Cleanup of accidental commits
* Cleanup of accidental commits
---------
Co-authored-by: Anastasia Kuporosova <anastasia.kuporosova@intel.com >
Co-authored-by: Michal Lukaszewski <michal.lukaszewski@intel.com >
2023-12-01 16:13:12 +00:00
Ekaterina Aidova
bf760b663e
PT FE - aten::alias, aten::alias_copy, aten::cross, aten::linalg_cross ( #21265 )
...
* [PT FE]: support aten::alias, aten::alias_copy, aten::cross, aten::linalg_cross
* add type alignment
* fix code style
2023-12-01 14:59:03 +01:00
Ekaterina Aidova
d1f72e2d01
add gptq model test in pytorch hub tests ( #21399 )
...
* conflict
* refactor test
* fix for case if can not instantiate config
2023-12-01 10:56:05 +00:00
Maxim Vafin
db6aeb7a65
[PT FE] Add torchbenchmark models to GHA tests ( #21401 )
...
* [PT FE] Add torchbenchmark models to GHA tests
* Fix teardown
* Fix requirements
* Update tests/model_hub_tests/torch_tests/torchbench_models
* Update tests/model_hub_tests/torch_tests/torchbench_models
* Update tests/model_hub_tests/torch_tests/test_torchbench.py
2023-12-01 09:44:12 +01:00
Roman Kazantsev
c1cfb00f81
[TF Hub] Fix typo in test file name ( #21408 )
...
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com >
2023-11-30 23:49:01 +00:00
Maxim Vafin
fa7a4f44b5
[PT FE] Update torch to 2.1 in GHA tests ( #21391 )
...
* [PT FE] Update torch to 2.1 in GHA tests
* Adjust requirements for natten
* Add upper bound
* Use sys.executable
2023-11-30 17:48:40 +00:00
Pavel Esir and Maxim Vafin
d5d9fd11b3
[tests] resolve skipped HF tests: 1st batch ( #21305 )
...
* initial
* some corrections for the first batch
* corrected classes for generate, corrected xfail
* leave only models with correct example input
* remove an obsolete line
* Update tests/model_hub_tests/torch_tests/test_hf_transformers.py
Co-authored-by: Maxim Vafin <maxim.vafin@intel.com >
* update musicgen
* cleanup test_hf_transformers.py
* typo fix
* Update tests/model_hub_tests/torch_tests/test_hf_transformers.py
* Update tests/model_hub_tests/torch_tests/test_hf_transformers.py
* move to up: corrected xfail
* revert back accidentally deleted elif
* Update tests/model_hub_tests/torch_tests/test_hf_transformers.py
* Update tests/model_hub_tests/torch_tests/test_hf_transformers.py
---------
Co-authored-by: Maxim Vafin <maxim.vafin@intel.com >
2023-11-30 14:37:41 +00:00
Maxim Vafin
3cae6e7aea
[PT FE] Fix timm model list according to newest version ( #21376 )
...
* [PT FE] Fix timm model list according to newest version
* Remove xfail for hf model passed in latest nightly
* Fix code for loading vit_h model
* Restore torchvision
2023-11-30 08:17:21 +04:00
Maxim Vafin
007b6fd82c
[PT FE] Add support for GFPGAN model ( #21371 )
...
* [PT FE] Add support for GFPGAN model
* Remove logs
* Fix codestyle
* Add support for aten::normal
2023-11-29 23:05:46 +00:00
Roman Kazantsev
cb5377fb1d
[TF FE] Correct ArgMinMax translators and add tests ( #21364 )
...
* [TF FE] Correct ArgMinMax translators and add tests
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com >
* Update tests/layer_tests/tensorflow_tests/test_tf_ArgMinMax.py
---------
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com >
2023-11-30 00:00:43 +04:00
Maxim Vafin
b3a13af9ef
[PT FE] Support aten::softplus ( #21367 )
...
* [PT FE] Support aten::softplus
* Fix name
2023-11-29 14:38:31 +00:00
Ekaterina Aidova
2b14ea97fc
[PT FE]: support aten:resolve_neg, aten::resolve_conj ( #21362 )
...
* [PT FE]: support aten:resolve_neg, aten::resolve_conj
* Update src/frontends/pytorch/src/op_table.cpp
2023-11-29 10:34:46 +00:00
Maxim Vafin
258c72555c
[PT FE] Support bool in aten::prod ( #21351 )
2023-11-29 11:07:21 +01:00
Maxim Vafin
f3fe6b3f00
[PT FE] Add EDSR models to GHA tests ( #21350 )
...
* [PT FE] Add EDSR models to GHA tests
* Apply suggestions from code review
2023-11-28 21:05:33 +00:00
Roman Kazantsev
7c590bf180
[Hub Tests] Apply Python code formatting ( #21286 )
...
* Apply Python code formatting
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com >
* Apply Python code formatting
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com >
---------
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com >
2023-11-28 16:54:02 +04:00
Maxim Vafin
e52f922d35
[PT FE] Unify hub tests, add marks for timm models ( #21283 )
...
* Unify hub tests, add marks for timm models
* Fix hf tests
2023-11-27 12:22:13 +04:00
Ekaterina Aidova and Maxim Vafin
eaae00c2ca
[PT FE]: support aten::empty_like ( #21258 )
...
* [PT FE]: support aten::empty_like
* Update src/frontends/pytorch/src/op/full.cpp
Co-authored-by: Maxim Vafin <maxim.vafin@intel.com >
---------
Co-authored-by: Maxim Vafin <maxim.vafin@intel.com >
2023-11-27 07:15:19 +00:00
Ekaterina Aidova
a5d53aeaef
[PT FE]: fix for aten::index_put_ if values.r > indices.r ( #21255 )
...
* [PT FE]: fix for aten::index_put_ if values.r > indicies.r
* add more complex test case
2023-11-27 07:01:16 +00:00
Luo Cheng
91660b1c05
[CPU] Fix ScaledDotProductAttension accuracy problem ( #21217 )
2023-11-26 14:47:04 +04:00
965313ba0b
[TF Hub][Perf Tests]Implement performance tests in precommit to compare read_model and convert_model paths ( #21023 )
...
* begin
* fixes
* measure time and compare
* fix bug + update precommint models
* cleanup
* add wget to install requirements; add to linux.yml
* fixes + improvements
* output results to html
* remove unneeded code
* fix
* code review fixes
* store downloaded models in cache
* use 1000 runs
* use model paths from tf-hub tests
* use tf hub api to download instead of wget; measure some time stats
* small fixes
* remove unneeded files
* use own list of models
* remove uneeded if
* remove unstable models
* remove unstable models
* fix requirements
* code review fixes
* Update .github/workflows/linux.yml
Co-authored-by: Roman Kazantsev <roman.kazantsev@intel.com >
* fix round_num function
* remove unstable network
* Update tests/model_hub_tests/models_hub_common/test_performance_model.py
Co-authored-by: Roman Kazantsev <roman.kazantsev@intel.com >
* code review fixes
* build fix
* code review fixes
* code review fixes
* code review fixes
* Update tests/model_hub_tests/models_hub_common/test_performance_model.py
Co-authored-by: Roman Kazantsev <roman.kazantsev@intel.com >
* Update tests/model_hub_tests/performance_tests/test_tf_hub_perfomance_model.py
Co-authored-by: Roman Kazantsev <roman.kazantsev@intel.com >
* Update tests/model_hub_tests/performance_tests/test_tf_hub_perfomance_model.py
Co-authored-by: Roman Kazantsev <roman.kazantsev@intel.com >
* Update tests/model_hub_tests/models_hub_common/test_performance_model.py
Co-authored-by: Roman Kazantsev <roman.kazantsev@intel.com >
* code review fixes: use autoflake
* remove unneeded tensorflow_text
* Update .github/workflows/linux.yml
* Update linux.yml
Added TensorFlow_Hub_Performance_Models_Tests to final status check
---------
Co-authored-by: Roman Kazantsev <roman.kazantsev@intel.com >
Co-authored-by: Ilya Lavrenov <ilya.lavrenov@intel.com >
2023-11-24 18:13:44 +04:00
Maxim Vafin
0e08ba1edc
[PT FE] Support aten::prod and aten::fmod ( #21243 )
2023-11-23 11:26:08 +01:00
Anastasiia Pnevskaia
823d327476
Fixed verbose param. ( #21234 )
2023-11-22 17:32:20 +04:00
Maxim Vafin
1a288f0e9a
[PT FE] Recognize empty non-frozen lists ( #21224 )
...
* [PT FE] Recognize empty non-frozen lists
* Do not produce alias for aten::clone
2023-11-22 11:58:53 +01:00
Maxim Vafin and Roman Kazantsev
570817998d
Update reverse infer to allow changing shape if it already partially defined ( #21073 )
...
* Update reverse infer to allow changing shape if it already partially defined
* Update tests
* Remove changes in If
---------
Co-authored-by: Roman Kazantsev <roman.kazantsev@intel.com >
2023-11-20 21:57:43 +00:00
Roman Kazantsev
bb773137f1
[TF Hub] Move all nightly scope to Kaggle links ( #21169 )
...
7 models are skipped since they are not moved there. Now they are not available.
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com >
2023-11-20 13:33:21 +04:00
Przemyslaw Wysocki
bd5bd56d29
Remove failing mxnet test ( #21151 )
2023-11-20 10:17:22 +01:00
Maxim Vafin
276153d1ce
[PT FE] Support aten::_weight_norm and aten::full with scalar size ( #21160 )
...
* Support aten::_weight_norm and aten::full with scalar size
* Add op_table changes
* Add comments
2023-11-17 19:13:15 +00:00
Maxim Vafin
b2e14f9fad
[PT FE] Fix pad value dtype for pooling ( #21139 )
...
* [PT FE] Fix pad value dtype for pooling
* Apply suggestions from code review
* Apply suggestions from code review
2023-11-17 16:09:56 +01:00
Maxim Vafin
6bdc1597ed
[PT FE] Align types for aten::clamp_max and aten::clamp_min ( #21137 )
...
* Align types for aten::clamp_max and aten::clamp_min
* Add tests
2023-11-17 10:26:44 +01:00
Roman Kazantsev
2928b6bfed
[TF Hub] Move pre-commit to Kaggle model links ( #21113 )
...
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com >
2023-11-16 14:24:45 +04:00
Anastasiia Pnevskaia
d304be0bd7
[OVC] Fixed error in --output_model param. ( #20969 )
...
* Fixed error in get_model_name_from_args(), added tests.
* Corrected output_model description.
* Corrected test.
2023-11-15 17:42:14 +04:00