-
Notifications
You must be signed in to change notification settings - Fork 714
Bump jax api hashability #8701
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
Merged
Merged
Bump jax api hashability #8701
Changes from all commits
Commits
Show all changes
95 commits
Select commit
Hold shift + click to select a range
5d32755
bump to 0.7.0
JerryChen97 a0afb1d
not the stable
JerryChen97 bfb1fc8
draft
JerryChen97 5732af2
more?
JerryChen97 6e2baed
Better cast_like and is_abstract
JerryChen97 816c6f6
After (JAX 0.7.0): vjp_func.args[0].args == ([],) for independent fun…
JerryChen97 5de0722
batches of assert value; rval to be hashable as wel
JerryChen97 53a9922
more
JerryChen97 fc3573b
more
JerryChen97 cb18461
enhance make_hashable
JerryChen97 3f2215f
Skip some weird fails for now
JerryChen97 b5150fc
skip tracer frist
JerryChen97 1c24e7e
more dynamic shape skips
JerryChen97 3c33252
patch jax
JerryChen97 d37c711
patch refactored in alignment with Catalyst
JerryChen97 1c556c1
don't import jax arbitrarily
JerryChen97 2c4d31b
more fix?
JerryChen97 4b2bed5
rm xfail
JerryChen97 6ad808d
rm xfail
JerryChen97 63ea71d
rm remains
JerryChen97 ff17844
fix all singles doubles
JerryChen97 2e4353d
Apply suggestions from code review
JerryChen97 7f47bbd
improve
JerryChen97 cb6e58f
deal with pylints
JerryChen97 9a1dfb3
disable protected-access
JerryChen97 555c8fb
Merge branch 'master' into bump-jax-to-0.7.0
JerryChen97 3d08400
update make hashable
JerryChen97 d5ca52a
more robust sorted call
JerryChen97 91ef7a7
Merge branch 'master' into bump-jax-to-0.7.0
JerryChen97 53b252d
refine the `_make_hashable` logic
JerryChen97 f328031
Merge branch 'master' into bump-jax-to-0.7.0
JerryChen97 d161795
Merge branch 'master' into bump-jax-to-0.7.0
JerryChen97 01c547c
fix output
JerryChen97 a2a3c7b
Merge branch 'master' into bump-jax-to-0.7.0
JerryChen97 6bd7904
Merge branch 'master' into bump-jax-to-0.7.0
JerryChen97 b8c7f24
temp fix
JerryChen97 821642b
Merge branch 'master' into bump-jax-to-0.7.0
JerryChen97 a2ab4ac
Merge branch 'master' into bump-jax-to-0.7.0
JerryChen97 da4d4aa
Apply suggestions from code review
JerryChen97 8d300c6
more slice improvement
JerryChen97 0995d9c
fix
JerryChen97 3107dcf
fix more
JerryChen97 46f2e55
remove restore list
JerryChen97 1ae39b7
get rid of _restore_dict (except for map_wires)
JerryChen97 f8c1da5
Merge branch 'master' into bump-jax-to-0.7.0
JerryChen97 dcfab13
remove _restore_dict
JerryChen97 714387a
xfail templates
JerryChen97 b6f1410
rm unnecessary local import
JerryChen97 a56f971
two more xfail (all within templates subfolder)
JerryChen97 8ab6e2e
Try not sorting
JerryChen97 9a74f0d
improtve the dev note
JerryChen97 b40954a
clean some remains forgotten to revert
JerryChen97 f3a8016
Update pennylane/capture/custom_primitives.py
JerryChen97 35a8905
remove historical comments that not make sense anymore
JerryChen97 368024a
Update pennylane/capture/custom_primitives.py
JerryChen97 f32f8f9
oooooooops
JerryChen97 f663bf6
move all the imports to the top level
JerryChen97 abdce2b
Update pennylane/capture/jax_patches.py
JerryChen97 b4d0a6b
doc req jax fix
JerryChen97 1dcd7ed
pylint
JerryChen97 7e8849f
jax~=0.6.0 -> ==0.7.0
JerryChen97 ea66ea1
== instead of ~=; jaxlib also update
JerryChen97 b706e7f
xfailed
JerryChen97 6699308
Merge branch 'master' into bump-jax-to-0.7.0
JerryChen97 de4c9a5
skip those impossible doctests
JerryChen97 3ddbf28
Merge branch 'master' into bump-jax-to-0.7.0
JerryChen97 b40c40d
Revert "skip those impossible doctests"
JerryChen97 c80f6b3
Merge branch 'master' into bump-jax-to-0.7.0
JerryChen97 02d2f38
Try: still use 0.6.2 for doctest
JerryChen97 57075da
everything but patches (dynamic shapes)
JerryChen97 2cc4b81
not include and xfail
JerryChen97 713714c
Merge branch 'master' into bump-jax-api-hashability
JerryChen97 1139e66
simplify `_make_hashable`
JerryChen97 b32dc30
improve tests_templates:
JerryChen97 b3c6759
Merge branch 'master' into bump-jax-api-hashability
JerryChen97 5f4fda4
remove too obvious commetns
JerryChen97 35e7091
rm a unrelated xfail mistakenly introduced
JerryChen97 86c934d
format
JerryChen97 1177d19
clean some unused suppressions
JerryChen97 23333c4
align with the jax pattern; keep the changes minimized compared with …
JerryChen97 15755c9
Merge branch 'master' into bump-jax-api-hashability
JerryChen97 705f963
removeusage of TracingEqn
JerryChen97 ea0773e
rm more
JerryChen97 158c6a3
Merge branch 'master' into bump-jax-api-hashability
JerryChen97 1cc9b22
1 more simplification: use make_eqn from pe
JerryChen97 644682d
Merge branch 'master' into bump-jax-api-hashability
JerryChen97 b934030
trigger
JerryChen97 522e8f2
try fix catalyst
JerryChen97 d51e9ab
revert https://github.com/PennyLaneAI/pennylane/pull/8701/commits/70…
JerryChen97 209e9ba
Trigger by Update .github/workflows/documentation-tests.yml
JerryChen97 d4683bb
no cover
JerryChen97 5d3300d
Merge remote-tracking branch 'refs/remotes/origin/bump-jax-api-hashab…
JerryChen97 9d7a237
no cover loop dynamic shape part
JerryChen97 73bc8ae
mf
JerryChen97 3dc74a5
no cover more
JerryChen97 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -24,6 +24,7 @@ timer.dat | |
| tmp/* | ||
| benchmark/revisions/ | ||
| venv | ||
| *venv*/ | ||
| config.toml | ||
| .envrc | ||
| qml_debug.log | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.