Skip to content

[pull] master from tensorflow:master - #8790

Merged
pull[bot] merged 12 commits into
Cache-Cloud:masterfrom
tensorflow:master
Aug 29, 2026
Merged

[pull] master from tensorflow:master#8790
pull[bot] merged 12 commits into
Cache-Cloud:masterfrom
tensorflow:master

Conversation

@pull

@pull pull Bot commented Aug 29, 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 : )

hyeontaek and others added 12 commits August 28, 2026 17:34
The custom layouts used in array_impl/xla_array_impl were not fully canonicalized and was relying on the runtime's implicit layout canonicalization.

This change uses a tiled layout for the custom layout tests when running on TPU so that the runtime can apply strong validation for canonicalized layouts and does not have to perform implicit layout canonicalization.

PiperOrigin-RevId: 972856960
…le-time constant when compiling under XLA.

PiperOrigin-RevId: 972857042
PiperOrigin-RevId: 972867033
…tom call legalization

- Rename PropagateQsvPass to PropagateQParamsPass across passes definitions, headers, implementations, tests, and converter API registration.
- Add backward propagation through TransposeOp and ReshapeOp for per-axis quantization parameters.
- Add LegalizeVhloQuantCustomCallsPass to legalize vhlo quant custom calls (quant.dequantize, quant.quantize, quant.fake_quant) to stablehlo.custom_call.

PiperOrigin-RevId: 972872299
…'s type range to prevent Inf/NaN.

During backward constraint propagation, `kConvert` and `kBitcastConvert` operations were passing output constraints through identically to `kCopy` without checking whether the operand has a narrower domain. When downstream 16-bit operations constrained the output to `[-65504, 65504]`, an `f8e4m3fn` operand received this out-of-range interval. Because `f8e4m3fn` has a maximum finite range of `[-448, 448]` and lacks an infinity representation, values outside this range saturated to NaN during random literal generation.

This change separates `kConvert` and `kBitcastConvert` in `ConstraintPropagator` to intersect incoming constraints with the finite domain of the operand type, ensuring input parameters are always constrained within their type's representable bounds.

PiperOrigin-RevId: 972897290
PiperOrigin-RevId: 972907865
PiperOrigin-RevId: 972973724
PiperOrigin-RevId: 972978443
PiperOrigin-RevId: 972982809
@pull pull Bot locked and limited conversation to collaborators Aug 29, 2026
@pull pull Bot added the ⤵️ pull label Aug 29, 2026
@pull
pull Bot merged commit 1397bef into Cache-Cloud:master Aug 29, 2026
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.

8 participants