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 ml-dtypes==0.2.0 requirement #434

Merged
merged 3 commits into from
Oct 30, 2023
Merged

Add ml-dtypes==0.2.0 requirement #434

merged 3 commits into from
Oct 30, 2023

Conversation

speller26
Copy link
Member

@speller26 speller26 commented Oct 30, 2023

PennyLane notebooks fail with the error

AttributeError: module 'ml_dtypes' has no attribute 'float8_e4m3b11'

from JAX. JAX is incompatible with the new ml_dtypes, so the latter has to be downgraded to 0.2.0.

Also had to constrain ipython<8.17 due to an issue with the latest IPython release.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@speller26 speller26 requested a review from AbeCoull October 30, 2023 20:07
@speller26 speller26 requested a review from a team as a code owner October 30, 2023 20:07
@speller26 speller26 merged commit 70a91a5 into main Oct 30, 2023
@speller26 speller26 deleted the ml_dytpes branch October 30, 2023 22:51
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