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

[frontend] Fix parameter annotation #1078

Merged
merged 2 commits into from
Aug 29, 2024
Merged

Conversation

erick-xanadu
Copy link
Contributor

Context: It is not entirely clear why, but some functions return strings in their function annotations. This is not enough to perform AOT compilation, so we should not do AOT compilation in these cases.

Description of the Change: Limit AOT compilation to instances of type and jax.core.ShapedArray.

Benefits: expm (and similar functions) can be called as qjit(expm)

Possible Drawbacks: None

Related GitHub Issues: #1077

@erick-xanadu erick-xanadu marked this pull request as ready for review August 29, 2024 16:55
@erick-xanadu erick-xanadu force-pushed the eochoa/2024-08-29/pjit-functions branch from 6e05b0e to f326122 Compare August 29, 2024 17:52
Copy link
Contributor

Hello. You may have forgotten to update the changelog!
Please edit [doc/releases/changelog-dev.md](/PennyLaneAI/catalyst/blob/master/doc/releases/changelog-dev.md on your branch with:

  • A one-to-two sentence description of the change. You may include a small working example for new features.
  • A link back to this PR.
  • Your name (or GitHub username) in the contributors section.

Copy link
Contributor

@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.

Thanks, looks good to me :)

@dime10 dime10 added bug Something isn't working frontend Pull requests that update the frontend labels Aug 29, 2024
@dime10 dime10 added this to the v0.8.0 milestone Aug 29, 2024
@dime10 dime10 merged commit 5ac1fa0 into v0.8.0-rc Aug 29, 2024
61 of 76 checks passed
@dime10 dime10 deleted the eochoa/2024-08-29/pjit-functions branch August 29, 2024 18:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working frontend Pull requests that update the frontend
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants