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

Fix MLIR types #650

Merged
merged 3 commits into from
Apr 9, 2024
Merged

Fix MLIR types #650

merged 3 commits into from
Apr 9, 2024

Conversation

erick-xanadu
Copy link
Contributor

Context: There were some errors on CI/CD when testing conversion of numpy types to MLIR types. This is very likely because the context of the expected MLIR types are different from the context of the observed MLIR types.

Description of the Change: Recompute MLIR types each time a conversion from numpy is requested. Do not store them in a dictionary MLIR types in a dictionary.

@erick-xanadu erick-xanadu added reviewer:require-wheels Pull Requests will need wheel building job successful before being merged author:build-wheels Run the wheel building workflows on this Pull Request labels Apr 9, 2024
Copy link

codecov bot commented Apr 9, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 99.41%. Comparing base (387af82) to head (bca1867).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #650   +/-   ##
=======================================
  Coverage   99.41%   99.41%           
=======================================
  Files          55       55           
  Lines        9109     9121   +12     
  Branches      694      701    +7     
=======================================
+ Hits         9056     9068   +12     
  Misses         28       28           
  Partials       25       25           

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

@erick-xanadu erick-xanadu marked this pull request as ready for review April 9, 2024 15:29
@erick-xanadu erick-xanadu requested a review from dime10 April 9, 2024 15:29
@erick-xanadu erick-xanadu merged commit 2b1fde5 into main Apr 9, 2024
60 of 69 checks passed
@erick-xanadu erick-xanadu deleted the eochoa/2024-04-09/fix-mlir-types branch April 9, 2024 17:01
@dime10
Copy link
Collaborator

dime10 commented Apr 9, 2024

@erick-xanadu Is it expected that the wheel build fails on this PR?

@erick-xanadu
Copy link
Contributor Author

@dime10 this only fixes one error, which is the MLIR types error, not the macOS dylib error. So, I do expect this to fail the macOS dylib error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
author:build-wheels Run the wheel building workflows on this Pull Request reviewer:require-wheels Pull Requests will need wheel building job successful before being merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants