optimum-intel
optimum-intel copied to clipboard
[OV] Sets symbols on inputs and variables
What does this PR do?
OpenVINO exporter sets symbols for model inputs. It helps symbolic propagation and optimizations in OpenVINO.
OpenVINO provides symbolic shape inference and optimizations. By default, they deduce dimension relations from the model structure. However, in some cases it is impossible to deduce dimension relations, therefore user-defined symbols allow for smoother symbol propagation.
Note: this change would only be working starting from 2024.3 OpenVINO release as it relies on new features of OpenVINO PyTorch FrontEnd
Before submitting
- [N/A] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case). // No
- [N/A] Did you make sure to update the documentation with your changes? // No impact on documentation
- [N/A] Did you write any new necessary tests? // No, the task is complete