Commit Graph

3 Commits

Author SHA1 Message Date
Anastasia Kuporosova ba5c45a4ee
[PyOV] Fix hanging on infer request destruction (#24722)
### Details:
- Initial problem: `test_custom_op` hanged on destruction because it was
waiting for a thread which tried to acquire GIL.
- The second problem is that pybind11 doesn't allow to work with GIL
besides of current scope and it's impossible to release GIL for
destructors. https://github.com/pybind/pybind11/issues/1446
- Current solution allows to release GIL for InferRequest and all called
by chain destructors.

### Tickets:
 - CVS-141744
2024-06-07 11:56:36 +00:00
Anastasia Kuporosova 47415bcdf9
[PyOV] Hot-fix for hanging test (#24706)
### Details:
- During investigation I found out that it hangs in AUTO plugin but with
directly specified CPU plugin passes.

### Tickets:
 - CVS-141744
2024-05-27 15:03:42 +00:00
Anastasia Kuporosova 7f99b88420
[PyOV] python op implementation (#24487)
### Details:
 - based on: https://github.com/openvinotoolkit/openvino/pull/23612

### Tickets:
 - CVS-141051

---------

Co-authored-by: Michal Lukaszewski <michal.lukaszewski@intel.com>
2024-05-20 12:40:17 +00:00