forked from jax-ml/jax
-
Notifications
You must be signed in to change notification settings - Fork 5
CI: 06/20/25 upstream sync #477
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
Open
rocm-repo-management-api-2
wants to merge
2,162
commits into
main
Choose a base branch
from
ci-upstream-sync-220_1
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
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
…ace-time overhead from Exception creation PiperOrigin-RevId: 768022818
…ref`. The new function `_transformed_smem_ref_type` will be used in a follow up change. PiperOrigin-RevId: 768045658
We port: * the class itself * `__init__` * `__hash__` * `__eq__` which is enough to get a small speedup. We also do not change the representation of the data as two Python tuples for the moment. PiperOrigin-RevId: 768069350
PiperOrigin-RevId: 768107991
…_to_smem. PiperOrigin-RevId: 768128819
* Don't spend time on annotation formatting if there are no annotations. * Remove an assertion that the children of a ConcatDoc are Docs. * Fuse _align_annotations with the code that produces strings, which saves allocating a NamedTuple per line. * Don't call .format() to test whether the LHS of a jaxpr equation prints as empty. PiperOrigin-RevId: 768144149
`jax.extend.backend` allows the user to register a callback that will be called when JAX backends are cleared. The primary purpose is to let the user clear any caches that hold a reference to JAX backends transitively (via JAX `Sharding`/`Mesh`/`Device`) so that it can help destroy cleared backends. PiperOrigin-RevId: 768173340
…one when we are discharging the ref. The reason PRNGKeyArray doesn't have a `format` field is we don't know how to create a logical format.dll for it. PiperOrigin-RevId: 768186349
PiperOrigin-RevId: 768187911
PiperOrigin-RevId: 768189968
* Cache the dtype to short name conversion. * Use pp.concat when concatenating more than 2 things. This builds a slightly flatter tree of pretty-printer documents. PiperOrigin-RevId: 768195993
…n a mutable array is closed over PiperOrigin-RevId: 768220283
…ul kernel. PiperOrigin-RevId: 768275894
See the PR message on jax-ml#29311 for more.
PiperOrigin-RevId: 768288710
http://github.com/openxla/xla/commit/f71547227e74ce57cbb387018247462fbfacb4cc. PiperOrigin-RevId: 768400613
PiperOrigin-RevId: 768485986
http://github.com/openxla/xla/commit/d556913b23808bb93b13b576eb4b74e901fd52a5. PiperOrigin-RevId: 768699442
This yields a significant speedup (3x) when printing large jaxprs. PiperOrigin-RevId: 768803336
PiperOrigin-RevId: 768815050
PiperOrigin-RevId: 768932310
Previously we disabled the jax2tf_test for older versions of TF. Re-enable for 2.19.1 and higher.
…nal_doc PiperOrigin-RevId: 769139444
…ve_scan_reverse_argument_order PiperOrigin-RevId: 769139664
Creating smaller build rules enforces better organized dependency graphs in the JAX project, helps pytype propagate annotations correctly, and leads to improved build and iteration times. This required a few local imports and refactors. PiperOrigin-RevId: 769184594
This also bundles-in `ad_checkpoint.py` and `state/*.py` because these have circular dependencies on lax source files. Creating smaller build rules enforces better organized dependency graphs in the JAX project, helps pytype propagate annotations correctly, prevents use of internal APIs, and leads to improved build and iteration times. PiperOrigin-RevId: 773030035
PiperOrigin-RevId: 773040818
PiperOrigin-RevId: 773051700
The issue was that CompilerParams is ambiguous when generating docs from type annotations; we can fix this by specifying which CompilerParams is intended.
PiperOrigin-RevId: 773066776
PiperOrigin-RevId: 773075651
PiperOrigin-RevId: 773094489
PiperOrigin-RevId: 773103876
PiperOrigin-RevId: 773127811
PiperOrigin-RevId: 773127984
Remove `use_shardy_partitioner` in `get_compile_options`. It can be from the jax.config directly. PiperOrigin-RevId: 773150657
PiperOrigin-RevId: 773232950
Also do a couple of clean ups. PiperOrigin-RevId: 773238722
PiperOrigin-RevId: 773240293
PiperOrigin-RevId: 773272786
…t_cast`s. This uncovers a propagation bug, whereby opportunities to propagate replicated layouts that were not already explicitly annotated as attributes downwards would be missed, because layout propagation started with a backwards pass. We now changed the implementation to start with a forward pass. Some additional edits: 1. I changed the layout in `test_optimization_barrier_op_propagates_user_layouts`. Generally, propagating replicated layouts upwards is not a safe thing to do, and we should have properly caught that. The upcoming infrastructure will recognize such issues, so we don't bother attempting to fix the underlying problem here; 2. I got rid of `test_infer_layout_propagates_func_layouts_to_ops` since we no longer care about `FuncOp`s. This simplification will allow the new infrastructure to not concern itself with `FuncOp`s, on which we were putting inconsistent expectations, and which would add quite a bit of complexity. PiperOrigin-RevId: 773277630
… `gpu_layout_inference_test.py`. This makes checking for layouts more synthetic :) PiperOrigin-RevId: 773288423
…d replace it with `Format`, `.format`, `.input_formats` and `.output_formats` in JAX Co-authored-by: Roy Frostig <[email protected]> PiperOrigin-RevId: 773337503
…05.mma`. PiperOrigin-RevId: 773378246
PiperOrigin-RevId: 773378655
PiperOrigin-RevId: 773410641
PiperOrigin-RevId: 773466405
PiperOrigin-RevId: 773466751
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Daily sync with upstream