Commit Graph

1185 Commits

Author SHA1 Message Date
Ilya Lavrenov eb025fad1e
Supported Ubuntu 24.04 (#23905)
### Details:
 - Supported Ubuntu 24.04
2024-04-16 14:26:41 +00:00
Pawel Raasz 53a4b731f7
[tests] Fix build of extensions test for FEs if FEs disabled (#24029)
### Details:
- Fix build of extensions tests for frontends when build of fronded is
disabled.
 - Remove the warnings as error for unused functions.

### Tickets:
 - N/A
2024-04-16 06:07:18 +00:00
Mikhail Ryzhov 94a3aa5789
[GHA] Freeze h5py version (#23962)
### Details:
- tensorflow package depends on h5py and starting from 3.11 version this
package could not be installed on linux arm64 systems due to absent
libraries (libhdf5-dev), see
https://github.com/openvinotoolkit/openvino/actions/runs/8631731088/job/23660776687?pr=23909
 - 
### Tickets:
 - *ticket-id*
2024-04-15 09:51:33 +00:00
Luca Tam e3fbb5733b
[PT FE] Support aten::aminmax for pytorch models (#23879)
### Details:
 - Implemented `aten::aminmax` operation
 - Implemented test for aminmax op
 - registered inside `op_table.cpp`

### Tickets:
 - #23327

---------

Co-authored-by: Maxim Vafin <maxim.vafin@intel.com>
2024-04-15 09:46:05 +00:00
Katarzyna Mitrus 19d208ef2c
[Opset] Initialization of OV Opset15 (#23960)
### Details:
 -  Initialization of OV Opset15 
  (Discussed internally and agreed to introduce new opset in 2024.2)
  
To provide more agile approach, this PR has been updated with an idea
(proposed by @mmikolajcz) to include only new operators within the new
Opset, and fill it up at the end of the development period (not
necessarily per release).
This should lead to infrequent introduction of further opsets.
 
\* Currently common opsets tests rely on Parameter/ShapeOf/Convert in
every opset, so they were added.
But this approach for opset testing should be revised. 
 
### Tickets:
 - 138268, 131683
2024-04-15 08:45:25 +00:00
Hongbo Wei 0287267a8d
[TF FE]: Support MatrixInverse operation for TensorFlow (#23881)
This pull request adds support for the TensorFlow "**MatrixInverse**"
operation to OpenVINO's TensorFlow Frontend (TF FE). It implements a new
loader function translate_matrix_inverse_op that translates the
TensorFlow operation into the equivalent OpenVINO Inverse operation
(from opset-14) for both real-valued and complex-valued inputs.

Addresses issue:
#[22957](https://github.com/openvinotoolkit/openvino/issues/22957)

Hi Roman @rkazants, could you please review my work, thank you!

---------

Co-authored-by: Roman Kazantsev <roman.kazantsev@intel.com>
2024-04-13 17:26:56 +00:00
Roman Kazantsev 7a10b94cc0
[TF FE] Support StringHashBucketFast operation (#23946)
**Details:** Support StringHashBucketFast operation. Needed for several
models from TF Hub. Merge after
https://github.com/openvinotoolkit/openvino_tokenizers/pull/115

**Ticket:**

---------

Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
2024-04-10 04:17:55 +00:00
Maxim Vafin 3caf888636
[PT FE] Resolve issue with If test (#23898)
### Details:
 - *Resolve issue with `If` test*

### Tickets:
 - *CVS-123727*
2024-04-08 15:04:12 +00:00
Maxim Vafin 621b025bef
[PT FE] Fix coverity issues (#23834)
### Details:
 - *Fix coverity issues*
 - *Removed unfinished list support POC*

### Tickets:
 - *CVS-136547*
2024-04-05 10:46:17 +00:00
Roman Kazantsev ba42be1bf4
[TF FE] Recommend openvino-tokenizers for some operations in case failed conversion (#23878)
**Details:** Recommend openvino-tokenizers for some operations in case
failed conversion

**Ticket:** TBD

---------

Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
2024-04-05 09:10:06 +00:00
Siddhant Chauhan 10c0d5b87c
[ONNX] Extend ONNX Frontend with `com.microsoft.Pad` (#22000)
### Details:
 - created implementation for `com.microsoft.Pad`
 - creating test

### Tickets:
 - Closes #17576

---------

Co-authored-by: Georgy Krivoruchko <georgy.krivoruchko@intel.com>
Co-authored-by: Katarzyna Mitrus <katarzyna.mitrus@intel.com>
2024-04-05 09:01:00 +00:00
Roman Kazantsev 740be35b8f
[TF FE] Add layer test for RaggedTensorToSparse (#23850)
**Details:** Add layer test for RaggedTensorToSparse. Needs to be merged
after https://github.com/openvinotoolkit/openvino_tokenizers/pull/103

**Ticket:** TBD

Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
2024-04-04 16:04:28 +00:00
Surya Siddharth Pemmaraju a5cf8b30d5
Quantization support for torch.compile (#23779)
### Details:
 - Added support for Quantization in torch.compile
 - Removed Torchscript backend
 - Removed Environment variables for setting options

### Tickets:
 - https://jira.devtools.intel.com/browse/CVS-107243
 - https://jira.devtools.intel.com/browse/CVS-131521

---------

Co-authored-by: ynimmaga <yamini.nimmagadda@intel.com>
2024-04-03 12:36:56 +00:00
Siddhant Chauhan 1e941dcde0
[ONNX ] Update `Trilu` to accept single value tensor (#22286)
### Details:
 - update `trilu.cpp`

### Tickets:
 - Closes #21172

---------

Co-authored-by: Georgy Krivoruchko <georgy.krivoruchko@intel.com>
2024-04-03 11:53:53 +00:00
Roman Kazantsev dc0d532f01
[TF FE] Implement transformation to resolve uninitialized variables (#23794)
**Details:** Implement transformation to resolve uninitialized
variables.
It must help to support the following models from TF Hub:
- mil-nce
- openimages-v4-ssd-mobilenet-v2

**Ticket:** TBD

---------

Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
2024-04-03 09:17:10 +00:00
Xiuchuan Zhai 1c82c171bf
comment out unstable proposal v2_6 testcase (#23742)
### Details:
 - *comment out the PDPD proposal v2_6 testcase*
 
### Tickets:
 - *130605*
2024-04-03 07:07:24 +00:00
Rinne 8a81500458
[PT TE] Support aten::index_copy_ operation (#23349)
### Details:
 - *Add support for aten::index_copy_ operation*
 - *Add related unit test of it*

### Tickets:
 - *No ticket*

### Related issues
- Closes #21970

---------

Co-authored-by: Maxim Vafin <maxim.vafin@intel.com>
2024-04-03 05:56:57 +00:00
Maxim Vafin ee2962a50c
[OVC] Allow models obtained from torch.export (#23815)
### Details:
 - *Allow models obtained from `torch.export`*

### Tickets:
 - *ticket-id*
2024-04-03 05:56:46 +00:00
Liu 668cc411d2
[ONNX] Aligned behavior of ReduceMin operator (#23619)
### Details:
Align the behaviour of the ReduceMin operator in the ONNX frontend.

### Tickets:
Closes https://github.com/openvinotoolkit/openvino/issues/20557

Credit: Smooth implementation thanks to
https://github.com/openvinotoolkit/openvino/pull/23475.

---------

Co-authored-by: Georgy Krivoruchko <georgy.krivoruchko@intel.com>
2024-04-02 08:26:29 +00:00
Maxim Vafin a0a80e0103
[PT FE] Support any float type for batch norm (#23750)
### Details:
 - *Support any float type for batch norm*
- *Tests for fp16 sporadically fail by accuracy and fp64 is not
supported by torch, will not update tests this time.*

### Tickets:
 - *#23538*
2024-04-02 08:04:56 +00:00
co63oc 4948d5a2a1
Fix some typos (#22903)
### Details:
 - *item1*
 - *...*
Fix some typos

### Tickets:
 - *ticket-id*

Co-authored-by: Roman Kazantsev <roman.kazantsev@intel.com>
2024-03-31 17:42:32 +00:00
Pranshu Shukla 2bfa1ee01d
[TF FE] Support complex tensors for Cumsum operation (#23500)
### Details:
- Extends support for CumSum operation to complex types
 - Addresses issue #22949

---------

Co-authored-by: Michal Lukaszewski <michal.lukaszewski@intel.com>
Co-authored-by: Roman Kazantsev <roman.kazantsev@intel.com>
2024-03-30 22:37:48 +00:00
Pranshu Shukla 8482121fc4
[TF FE] Support complex tensors for BiasAdd operation (#23218)
Extending support for BiasAdd operation to complex tensors.
Resolves Issue: #22945

---------

Co-authored-by: Roman Kazantsev <roman.kazantsev@intel.com>
Co-authored-by: Michal Lukaszewski <michal.lukaszewski@intel.com>
2024-03-30 14:19:52 +00:00
Paco 34ebb77334
[ONNX] Extended BatchNorm to support opsets 1-6-7-9-14-15 (#23337)
### Details:
 - *Addition of Batchnorm opset 1 6 7 9 14 & 15*
- *Creation of the tests CPP for the respective opset, and their
prototxt models.*

### Tickets:
- 20554 :
[20554](https://github.com/openvinotoolkit/openvino/issues/20554)
- 18485 :
[18485](https://github.com/openvinotoolkit/openvino/issues/18485)

---------

Co-authored-by: Ubuntu <ubuntu@ip-172-31-81-245.ec2.internal>
2024-03-29 17:32:44 +00:00
MeeCreeps dbf87c1787
[ONNX] Added support and test cases for Shape-15 (#23492)
related issue : #20194
2024-03-29 07:40:03 +00:00
Luca Tam 5fac80fc78
[TF FE] Supported Complex tensor for AddN op (#23614)
### Details:
- extended addN.cpp file to support complex tensor
- extended test_tf_addN.py with test for complex input

### Tickets:
 - #22944

---------

Co-authored-by: Roman Kazantsev <roman.kazantsev@intel.com>
2024-03-28 18:23:35 +00:00
Maxim Vafin fba93854cb
[PT FE] Fix issue with aten.copy in FX graph (#23711)
### Details:
 - *Fix translation for `aten.copy.default`*
 - *Add support for `aten.rand.default`*
 - *Support `vit-mae` model*
 - *Update hf model list with newly added models since list creation*

### Tickets:
 - *CVS-133732*
2024-03-28 13:01:06 +00:00
M e4b82a5274
[ONNX] Add ReduceLogSum-11,13,18 (#23508)
### Details:
 - Extended ReduceLogSum by opsets 11,13,18


### Tickets:
 - Closes #20561

---------

Co-authored-by: Katarzyna Mitrus <katarzyna.mitrus@intel.com>
Co-authored-by: Georgy Krivoruchko <georgy.krivoruchko@intel.com>
2024-03-28 06:08:01 +00:00
Rinne 6270a59aa3
[PT FE] Support aten::_unique2 op. (#23506)
### Details:
 - *Add support for aten::_unique2 op*
 - *Add unit test for it*

### Tickets:
 - *No ticket id*

### Related issues

closes: #21972
2024-03-27 16:33:36 +00:00
Maxim Vafin 99715bf875
[PT FE] Add more operators for FX graph (#23698)
### Details:
 - *item1*
 - *...*

### Tickets:
 - *ticket-id*
2024-03-27 07:46:53 +00:00
Maxim Vafin b10877f6e8
[PT FE] Resolve i64 usage in frontend (#23518)
### Details:
 - *Support lightglue*
 - *Support int64 as scalar in PyTorch Frontend*

### Tickets:
 - *CVS-127326, CVS-134328*
2024-03-26 15:57:00 +00:00
Ivan Tikhonov 1049c03b2d
Align friendly names uniqueization (#22729)
### Details:
Removed code that makes friendly names unique from Serialization and a
name uniqueness check from Deserializator.
Enabled the mode of ResolveNameCollisions transformation to uniqueize
all friendly names, not only autogenerated in Frontends

### Tickets:
 - *CVS-131567*

---------

Co-authored-by: Evgenya Nugmanova <evgeniia.nugmanova@intel.com>
Co-authored-by: Andrei Kochin <andrei.kochin@intel.com>
2024-03-25 15:52:09 +00:00
Georgy Krivoruchko 8c82e7c340
[ONNX] Reduced memory consumption while running tests (#23628)
### Details:
 - Significantly reduced amount of using RAM while testing
- May introduce test regression in multi-worker scenario (-n auto), but
it isn't detected while validation

### Tickets:
 - 129958
2024-03-25 11:39:33 +00:00
awayzjj b8b2bd9be5
Support aten::bucketize for pytorch models #23328 (#23527)
### Closes [#23328
](https://github.com/openvinotoolkit/openvino/issues/23328)
### Details:
 - Support aten::bucketize for pytorch models
2024-03-25 10:03:33 +00:00
Aryan Pandey ed5c543a0a
Fix the aten::mv for pytorch models #22073 (#22677)
### Details:
 - *item1*
 - *...*
Add aten::mv operator
close https://github.com/openvinotoolkit/openvino/issues/22073
### Tickets:
 - *ticket-id*

---------

Co-authored-by: Ekaterina Aidova <ekaterina.aidova@intel.com>
Co-authored-by: Michal Lukaszewski <michal.lukaszewski@intel.com>
2024-03-25 05:55:12 +00:00
rghvsh dbef32e292
[TF FE] Support Angle operation for TensorFlow models (#23028)
### Details:
 - *Support Angle operation for TensorFlow models*
 
### Tickets:
 - Closes #22083

---------

Co-authored-by: Roman Kazantsev <roman.kazantsev@intel.com>
2024-03-24 19:48:22 +00:00
Monal Singh d5a664a296
[TF FE] Support complex tensors for OnesLike operation (#23445)
### Details:
 - *Adding support for OnesLike operation on complex type tensor*
- Closes #22953

---------

Co-authored-by: Michal Lukaszewski <michal.lukaszewski@intel.com>
Co-authored-by: Roman Kazantsev <roman.kazantsev@intel.com>
2024-03-21 14:17:53 +00:00
Mustafa Cavus 09a388f8e9
Torch Compile - New Op Support (#23310)
New op support for:
 - torch.export updates
 - benchmarking model support
 - chatglm2 support

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: ynimmaga <yamini.nimmagadda@intel.com>
Co-authored-by: Maxim Vafin <maxim.vafin@intel.com>
Co-authored-by: suryasidd <surya.siddharth.pemmaraju@intel.com>
2024-03-21 11:13:09 +00:00
Georgy Krivoruchko 9072ea7478
[ONNX] Extended ReduceMax by opsets 13,18,20 (#23475)
### Details:
 - Extended ReduceMax by opsets 13,18,20
 - Updated a using opset for ONNX to 20
 - Added tests for additional supported types
 - Enabled backend tests

### Tickets:
  - Closes #20555
2024-03-21 07:14:35 +00:00
Maxim Vafin edcb1b1edc
[PT FE] Add ModuleExtension (#23536)
### Details:
 - *Continuation of #22867*

### Tickets:
 - *CVS-133733*

---------

Co-authored-by: Sergey Lyalin <sergey.lyalin@intel.com>
2024-03-20 12:57:53 +00:00
Rinne 9c80612894
[PT FE] Fix typo and improve the error info. (#23507)
### Details:
 - *Fix the typo of the code (then -> than)*
- *Improve the error info here, to let developer know the size of output
if the assertion fails.*

### Tickets:
 - *No ticket id*
2024-03-19 17:08:43 +00:00
Monal Singh 9f08e406a2
[TF FE] Support complex tensors for Reciprocal operations (#23355)
### Details:
- *Extended loader Reciprocal by propagating ComplexTypeMark from input
to output and to represent output complex type tensor as a
floating-point type tensor with an auxiliary dimension that concatenates
real and imaginary parts of complex tensor.*
- *Performed reciprocal for complex numbers.*
- *Wrapped the complex result with ComplexTypeMark and returned the
result*

### Tickets:
 - #23234

---------

Co-authored-by: Roman Kazantsev <roman.kazantsev@intel.com>
2024-03-19 16:22:37 +00:00
mei, yang 8587bf94aa
Enable Paddle FastSpeech2 model (#23311)
### Details:
 - *Enable Paddle FastSpeech2 model*
     - *fix issue in 'set_value'*
     - *add 'round' op*

### Tickets:
 - *CVS-134638*
2024-03-19 07:25:45 +00:00
Monal Singh 59c6314764
[TF FE] Support ApproximateEqual operation for TensorFlow (#23351)
### Details:
 - *Adding operation support for ApproximateEqual operation*
 - *Addresses issue #22082 *

---------

Co-authored-by: Roman Kazantsev <roman.kazantsev@intel.com>
2024-03-18 07:04:48 +00:00
Yongsheng Xu c208a881cb
[TF FE] Support Bincount operation (#23418)
### Details:
 - implemented Bincount op
 - simple test cases

### Tickets:
https://github.com/openvinotoolkit/openvino/issues/22071

---------

Co-authored-by: Roman Kazantsev <roman.kazantsev@intel.com>
2024-03-15 19:20:45 +00:00
awayzjj 2725fb4e4d
[TF FE]: Support complex tensors for PadV2 operations (#22955) (#23388)
Closes https://github.com/openvinotoolkit/openvino/issues/22955
### Details:
- separate input into real and imaginary parts and handle them
separately by padding real or imag parts of padding value to them and
concatenate them finally.

---------

Co-authored-by: Roman Kazantsev <roman.kazantsev@intel.com>
2024-03-15 13:59:13 +00:00
Roman Kazantsev bb4e1f5524
[TF FE] Support TF Keras TextVectorization and initialize HashTable (#23433)
**Details:** Support TF Keras TextVectorization and initialize HashTable

**Tickets:** 132668, 132692

---------

Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
2024-03-15 08:37:40 +00:00
Mateusz Mikolajczyk 86c4474773
[PT FE][Opset14] Replace PT FE AlignTypes with opset14 ConvertPromoteTypes (#22770)
### Details:
- *Replace PT FE internal AlignTypes op with opset14
ConvertPromoteTypes*

### Tickets:
 - *129204*

---------

Co-authored-by: Pawel Raasz <pawel.raasz@intel.com>
Co-authored-by: Michal Lukaszewski <michal.lukaszewski@intel.com>
2024-03-15 08:12:50 +00:00
Maxim Vafin 9d2d8e2cdc
[PT FE] Support dtype in full-like ops for FX (#23419)
### Details:
- *Support `aten.full_like.default`, `aten.new_full.default`,
`aten.new_ones.default`, `aten.new_zeros.default`, `aten.ones.default`,
`aten.ones_like.default`, `aten.zeros.default`,
`aten.zeros_like.default` in FX graph*

### Tickets:
 - *ticket-id*
2024-03-14 15:17:18 +00:00
Georgy Krivoruchko b3258d7c9a
[ONNX] Added telemetry for reporting unsupported ops (#23374)
### Details:
 - Added telemetry to ONNX Frontend
 - Improved reporting for nodes count
- Fixed issue when unsupported nodes could be in subgraphs of IF or LOOP
and doesn't fail conversion

### Tickets:
 - 127942, 134331
2024-03-14 11:42:17 +00:00