Skip to content

[pull] master from tensorflow:master#629

Merged
pull[bot] merged 14 commits intoFage2016:masterfrom
tensorflow:master
Sep 23, 2025
Merged

[pull] master from tensorflow:master#629
pull[bot] merged 14 commits intoFage2016:masterfrom
tensorflow:master

Conversation

@pull
Copy link
Copy Markdown

@pull pull bot commented Sep 23, 2025

See Commits and Changes for more details.


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

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

ezhulenev and others added 14 commits September 23, 2025 10:13
PiperOrigin-RevId: 810517031
PiperOrigin-RevId: 810517192
PiperOrigin-RevId: 810519625
PiperOrigin-RevId: 810523749
Recall that when a task in a multi-controller JAX (mcjax) job starts, it is
given a randomly generated incarnation id. If the task fails and restarts, it
gets a new id. These incarnation ids help us distinguish two different
instances of the same task.

When a group of tasks wants to perform a collective (e.g., AllReduce), every
participate needs to agree on the set of participants. If task 0 thinks the
collective is with tasks {0, 1, 2} while task 1 thinks the collective is with
tasks {0, 1, 3}, the program will not execute smoothly.

The participants also need to agree on everyone's incarnations. For example, if
task 0 thinks task 2 has incarnation 42 while task 1 thinks task 2 has
incarnation 100, they will disagree on whether task 2 has failed or not.

Tasks get the set of participants and their incarnations from calls to
`live_devices`. `live_devices` runs a barrier across tasks and returns the set
of currently alive processes along with their incarnations. This CL pipes this
information through the C API, so that open source clients can use the
information. Concretely, the incarnations of every task are passed to an
executable when it is run.

PiperOrigin-RevId: 810549686
This dependency is not needed but in the way for ROCm builds because it requires CUDA headers.

PiperOrigin-RevId: 810561869
We extend the autotuner to the scaled-dot case.
The autotuner has a very restrictive set of config for the scaled dot due to the issues of the scaled-dot -> regular dot AccelerateMatmul rewriter of Triton.

The numerics is correct for the config that actually works but requires a transpose for the rhs scales. For some reason the scales should have mk and nk shapes.

PiperOrigin-RevId: 810568117
The error:

```
ERROR: .../tensorflow/python/BUILD:1528:15: Mandatory attribute 'actual' resolved to 'None' after evaluating 'select' expression
```

Reverts e1ca152

PiperOrigin-RevId: 810568791
Migrate away from older types.

PiperOrigin-RevId: 810574017
@pull pull bot locked and limited conversation to collaborators Sep 23, 2025
@pull pull bot added the ⤵️ pull label Sep 23, 2025
@pull pull bot merged commit e709682 into Fage2016:master Sep 23, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

10 participants