[PT FE] Support inplace operations on aliases of tensors#17856
Merged
mvafin merged 20 commits intoopenvinotoolkit:masterfrom Jun 13, 2023
Merged
[PT FE] Support inplace operations on aliases of tensors#17856mvafin merged 20 commits intoopenvinotoolkit:masterfrom
mvafin merged 20 commits intoopenvinotoolkit:masterfrom
Conversation
rkazants
reviewed
Jun 5, 2023
itikhono
reviewed
Jun 7, 2023
src/frontends/pytorch/src/transforms/index_loop_getitem_replacer.cpp
Outdated
Show resolved
Hide resolved
itikhono
reviewed
Jun 7, 2023
itikhono
reviewed
Jun 7, 2023
itikhono
reviewed
Jun 7, 2023
src/frontends/pytorch/src/transforms/index_loop_getitem_replacer.cpp
Outdated
Show resolved
Hide resolved
itikhono
reviewed
Jun 7, 2023
src/frontends/pytorch/src/transforms/index_loop_getitem_replacer.cpp
Outdated
Show resolved
Hide resolved
rkazants
reviewed
Jun 8, 2023
rkazants
reviewed
Jun 8, 2023
rkazants
reviewed
Jun 10, 2023
| attrs["PtSchema"] = "None"; | ||
| } else { | ||
| attrs["PtTypeName"] = m_decoder->get_op_type(); | ||
| attrs["PtSchema"] = m_decoder->get_schema(); |
Collaborator
There was a problem hiding this comment.
may be better to add a comment what is the schema?
rkazants
approved these changes
Jun 10, 2023
eaidova
approved these changes
Jun 13, 2023
t-jankowski
pushed a commit
to t-jankowski/openvino
that referenced
this pull request
Jun 13, 2023
…lkit#17856) * Support operations on aliases of tensors * Add tests * Fix issue with convnd * Fix code style * Fix issue with tensor index of mutated tensor * Fix if types alignment * Fix issues in keypoint detectron2 * Fix issue with masks in detectron2 * Fix acuracy issue in mobilevitv2 models * Remove unused includes * Return upsample case in lictconstruct replacer * Fix types, apply review feedback * Apply feedback * Revert change of not using shared_from_this for getitem * Fix issue in prim::device transformation * Fix layer tests * Apply review feedback * Fix issue with not existing alias to tensor
alvoron
pushed a commit
to alvoron/openvino
that referenced
this pull request
Jun 21, 2023
…lkit#17856) * Support operations on aliases of tensors * Add tests * Fix issue with convnd * Fix code style * Fix issue with tensor index of mutated tensor * Fix if types alignment * Fix issues in keypoint detectron2 * Fix issue with masks in detectron2 * Fix acuracy issue in mobilevitv2 models * Remove unused includes * Return upsample case in lictconstruct replacer * Fix types, apply review feedback * Apply feedback * Revert change of not using shared_from_this for getitem * Fix issue in prim::device transformation * Fix layer tests * Apply review feedback * Fix issue with not existing alias to tensor
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Details:
aten::copy_,aten::zero_andaten::exp_and testsaten::chunkas input toprim::Loopwithaten::__getitem__inside which can be found in detectron2 mask modelsaten::divoperationTickets: