Skip to content

Conversation

justinchuby
Copy link
Member

@justinchuby justinchuby commented May 30, 2025

Revert changes to LiftConstantsToInitializersPass because I realized even without variable shadowing, two subgraphs can still define initializers that have the same names in their respective naming scopes. A conflict resolution logic is still needed to ensure initializers coming from different subgraphs to not collide. So I reverted my changes.

@justinchuby justinchuby requested review from titaiwangms and a team as code owners May 30, 2025 23:55
Signed-off-by: Justin Chu <justinchuby@users.noreply.github.com>
Signed-off-by: Justin Chu <justinchuby@users.noreply.github.com>
@justinchuby justinchuby force-pushed the justinchu/revert-lift-pass branch from 355fbd0 to 7bd7104 Compare May 30, 2025 23:56
Copy link

codecov bot commented May 30, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 81.72%. Comparing base (2f2c368) to head (97cc143).
Report is 2 commits behind head on main.

✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #41      +/-   ##
==========================================
- Coverage   81.80%   81.72%   -0.08%     
==========================================
  Files          57       57              
  Lines        6968     6955      -13     
  Branches      953      947       -6     
==========================================
- Hits         5700     5684      -16     
- Misses        902      905       +3     
  Partials      366      366              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@justinchuby justinchuby merged commit 7c97ec4 into main Jun 1, 2025
24 checks passed
@justinchuby justinchuby deleted the justinchu/revert-lift-pass branch June 1, 2025 03:57
titaiwangms pushed a commit to titaiwangms/ir-py that referenced this pull request Jun 2, 2025
Revert changes to LiftConstantsToInitializersPass because I realized
even without variable shadowing, two subgraphs can still define
initializers that have the same names in their respective naming scopes.
A conflict resolution logic is still needed to ensure initializers
coming from different subgraphs do not collide. So I reverted my
changes.

---------

Signed-off-by: Justin Chu <justinchuby@users.noreply.github.com>
Signed-off-by: Ti-Tai Wang <titaiwang@microsoft.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants