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

[MLIR] Lowering custom calls #367

Merged
merged 128 commits into from Dec 28, 2023
Merged

[MLIR] Lowering custom calls #367

merged 128 commits into from Dec 28, 2023

Conversation

rmoyard
Copy link
Contributor

@rmoyard rmoyard commented Nov 17, 2023

Context:
Some Jax function are lowered to custom calls to external libraries (e.g. Lapack)

Description of the Change:

Benefits:

  • We can use any function from Lapack.
  • Unlock polyfit from Jax.

[sc-46449]

@rmoyard
Copy link
Contributor Author

rmoyard commented Dec 22, 2023

Copy link
Collaborator

@dime10 dime10 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great job getting this to work 💯

I don't think there are any major blockers.

frontend/catalyst/compiler.py Outdated Show resolved Hide resolved
frontend/catalyst/compiler.py Outdated Show resolved Hide resolved
frontend/catalyst/compiler.py Outdated Show resolved Hide resolved
frontend/catalyst/compiler.py Outdated Show resolved Hide resolved
mlir/lib/Catalyst/Transforms/BufferizationPatterns.cpp Outdated Show resolved Hide resolved
mlir/lib/Catalyst/Transforms/catalyst_to_llvm.cpp Outdated Show resolved Hide resolved
rmoyard and others added 6 commits December 27, 2023 23:26
Co-authored-by: David Ittah <dime10@users.noreply.github.com>
Co-authored-by: Ali Asadi <ali@xanadu.ai>
Copy link
Collaborator

@dime10 dime10 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice work 🎉

@rmoyard rmoyard merged commit f19e152 into main Dec 28, 2023
39 of 40 checks passed
@rmoyard rmoyard deleted the support_polyfit branch December 28, 2023 16:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
compiler Pull requests that update the compiler
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants