Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for correctly generating dependency graph with reshape/expand/collapse shape ops in the code #698

Merged
merged 9 commits into from
Aug 8, 2024

Conversation

akkothar
Copy link
Contributor

@akkothar akkothar commented Aug 5, 2024

Ops such as reshape, expand and collapse shape do not execute, and these ops affect the dependence graph. This pull request attempts to handle these ops correctly and make sure the dependence graph is generated correctly when these ops are lingering around in the code.

@akkothar akkothar marked this pull request as draft August 5, 2024 20:33
@akkothar akkothar marked this pull request as ready for review August 7, 2024 22:35
@akkothar akkothar changed the title Add support for correctly handling reshape/expand/collapse shape ops Add support for correctly generating dependency graph with reshape/expand/collapse shape ops in the code Aug 7, 2024
@erwei-xilinx erwei-xilinx merged commit 385eaa6 into Xilinx:main Aug 8, 2024
11 checks passed
hunhoffe pushed a commit that referenced this pull request Aug 12, 2024
…pand/collapse shape ops in the code (#698)

* Add support for handling reshape/expand/collapse shape ops

* Correctly generate dependency graphs in presence of shape altering ops

* Ensure that the dependencies are correctly established with shape-altering codes

* Remove debug prints

* Fix format

* Fix format

* fix format and remove debug prints

* Add test to ensure dependency tokens are generated correctly when reshape/expand/collapse ops exist

* Remove commented code
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants