Skip to content

[pull] master from tensorflow:master#365

Merged
pull[bot] merged 15 commits intoFage2016:masterfrom
tensorflow:master
Apr 25, 2025
Merged

[pull] master from tensorflow:master#365
pull[bot] merged 15 commits intoFage2016:masterfrom
tensorflow:master

Conversation

@pull
Copy link
Copy Markdown

@pull pull bot commented Apr 25, 2025

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.1)

Can you help keep this open source service alive? 💖 Please sponsor : )

SandSnip3r and others added 15 commits April 25, 2025 09:15
…xla/python.

Remove uses of the ops module from JAX. JAX no longer uses the XlaBuilder APIs, instead using StableHLO.

In passing, move make_tpu_client into xla_bridge so it can more easily import the _profiler module.

Expose _jax.approx_top_k_reduction_output_size since we still need that function that we previously obtained via the _ops module.

PiperOrigin-RevId: 751470399
…nd_buffers and recv_buffers as absl::InlinedVector.

This makes the lifetime of the container a responsibility of the AllToAll implementation.

PiperOrigin-RevId: 751488781
Serialization should not modify the original object, so this CL enforces such a requirement at compile time by marking the serializable as const.

PiperOrigin-RevId: 751497675
…ly branches

Reducing FFI overheads for jax-ml/jax#26021

```
name                     old cpu/op   new cpu/op   delta
BM_AnyBufferArgX1        20.5ns ± 2%  20.4ns ± 1%     ~     (p=0.055 n=80+73)
BM_AnyBufferArgX4        21.8ns ± 2%  21.7ns ± 1%   -0.53%  (p=0.006 n=80+69)
BM_AsyncAnyBufferArgX1    703ns ± 2%   697ns ± 1%   -0.91%  (p=0.000 n=77+74)
BM_BufferArgX1           20.5ns ± 2%  20.4ns ± 0%   -0.68%  (p=0.000 n=80+73)
BM_BufferArgX4           24.2ns ± 2%  24.9ns ± 0%   +3.20%  (p=0.000 n=80+70)
BM_BufferArgX8           30.8ns ± 2%  30.3ns ± 1%   -1.61%  (p=0.000 n=79+75)
BM_TupleOfI32Attrs        117ns ± 3%   103ns ± 1%  -11.89%  (p=0.000 n=75+71)
BM_EnumAttrs             66.8ns ± 2%  35.5ns ± 1%  -46.82%  (p=0.000 n=79+73)
```

PiperOrigin-RevId: 751499937
… if next_colocated is not initialized.

PiperOrigin-RevId: 751510862
PiperOrigin-RevId: 751528479
… compile time function pointers

```
----------------------------------------------------------------------
Benchmark                            Time             CPU   Iterations
----------------------------------------------------------------------
BM_EnumAttrs                      31.1 ns         31.1 ns     22541907
BM_EnumAttrsFunction              37.4 ns         37.4 ns     1874469
BM_EnumAttrsFunctionWrapper       31.3 ns         31.3 ns     22312783
```

PiperOrigin-RevId: 751532370
XLA has migrated from `std::string_view` to `absl::string_view`, which supports construction from `nullptr`. The old comments are no longer relevant.

PiperOrigin-RevId: 751543245
@pull pull bot added the ⤵️ pull label Apr 25, 2025
@pull pull bot merged commit 6864106 into Fage2016:master Apr 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

9 participants