Skip to content

[pull] master from tensorflow:master - #8838

Merged
pull[bot] merged 13 commits into
Cache-Cloud:masterfrom
tensorflow:master
Sep 19, 2026
Merged

pull[bot] merged 13 commits into
Cache-Cloud:masterfrom
tensorflow:master

Conversation

@pull

@pull pull Bot commented Sep 19, 2026 •

Copy link
Copy Markdown

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 : )

naummo and others added 13 commits September 18, 2026 11:31
…edIndices

When scattering with an empty index vector (`index_vector_length == 0`) and
sorted/distributed indices:
1. Constructing `thread_id_to_update_id_map` by projecting `indices_map`
   resulted in an empty `IndexingMap` (`IsKnownEmpty()`) because `indices_map`
   has a range variable of size `index_vector_length == 0`, causing the loop
   over updates to have 0 iterations.
2. `EmitInequalityCheck` on empty offset vectors always evaluates to `false`,
   leaving `offsets_changed == false` on the first iteration
   (`iter_slice_id == 0`). Because `is_inbounds_init` starts as `false`,
   `UpdateIsInbounds` never evaluated the bounds check and dropped all updates,
   and the accumulator would combine with 0 instead of being overwritten on the
   first slice.

Fix this by:
- Extracting `ComputeThreadIdToUpdateIdMap` and reusing it to construct
  `indices_map` in `ComputeIndexing`.
- Forcing `offsets_changed` to `true` on the first loop iteration
  (`iter_slice_id == 0`).
- Simplifying loop initialization and update logic:
  - Initialize `indices_init` with `0` instead of `-1` since the first
    iteration check is now explicit.
  - Remove the redundant `arith::SelectOp` loop updating `new_trimmed_offsets`.
  - Remove `is_not_first_iteration` from `write_to_output_required` since
    `iter_is_inbounds` is guaranteed `false` on the first iteration.

PiperOrigin-RevId: 983969974
…ottlenecks in TensorFlow CUDA CI.

PiperOrigin-RevId: 983993726
…eouts:

- Increase msan_build memory to 32g for lazy_sstable_reader_test.
- Add msan_build memory (20g) to exec_properties for saved_model_test.
- Add msan_build memory (30g) to exec_properties for remote_test.
- Increase shard_count to 16 for linear_operator_block_diag_test to prevent MSan timeout.

PiperOrigin-RevId: 984065765
PiperOrigin-RevId: 984070526
This matches the behavior of some related tooling with which this needs to be compatible.

PiperOrigin-RevId: 984075260
The FC -> BMM was looking at T+FC to change that to BMM hoping that if a const + T is already folded by the time it sees it. However, resource + T is not immediately folded by design. So, it was leading to FC -> BMM -> FC -> BMM -> ...

This explicitly ensures a FC -> BMM doesn't kick in if rhs is from an eventually foldable chain.

PiperOrigin-RevId: 984076078
…computation layout.

PiperOrigin-RevId: 984141229
CopyInsertion takes an optional view color. A view colored value is an
address stand in that owns no storage and aliases its operand 0's buffer.
Copy removal then counts the transitive readers of a value's view colored
users as uses of that value, so no producer is merged into the viewed
buffer between a view and its readers. Backends without views are
unchanged.

PiperOrigin-RevId: 984143462
@pull pull Bot locked and limited conversation to collaborators Sep 19, 2026
@pull pull Bot added the ⤵️ pull label Sep 19, 2026
@pull
pull Bot merged commit 62ffa09 into Cache-Cloud:master Sep 19, 2026
1 check passed
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