-
Notifications
You must be signed in to change notification settings - Fork 593
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 jax jit with broadcasted probs #4742
Conversation
Hello. You may have forgotten to update the changelog!
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## v0.33.0-rc0 #4742 +/- ##
==============================================
Coverage ? 99.64%
==============================================
Files ? 380
Lines ? 33995
Branches ? 0
==============================================
Hits ? 33873
Misses ? 122
Partials ? 0 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This problem exists for sample().shape
and state().shape
as well. I think it's worthwhile updating them in this PR as well.
jax-jit does not work with
|
Sorry, I meant for cases when devices without wires are used. |
For devices without wires we are going to need to make a breaking change to the call signature of |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
Fixes Issue #4738
The
ProbabilityMP.shape
did not take into account probabilities that broadcasted across all available wires.[sc-48626]