jax
97caa00e - [jax-buildcop] Relax TPU 7x bfloat16 ULP bounds for logistic and tanh_grad highest-accuracy tests on libtpu < 0.0.52

Commit
17 days ago
[jax-buildcop] Relax TPU 7x bfloat16 ULP bounds for logistic and tanh_grad highest-accuracy tests on libtpu < 0.0.52 On older `libtpu` versions (< 0.0.52), `bfloat16` division in highest-accuracy `logistic`, `grad(logistic)`, and `grad(tanh)` on TPU 7x has a max real ULP error of 62.5757 (quantized bound 63.0), whereas `libtpu >= 0.0.52` achieves 0.5 ULP. Gate the `0.5` ULP bound on `jtu.is_libtpu_at_least("0.0.52")` and fall back to `63.0` on older `libtpu`. PiperOrigin-RevId: 1014618963
Parents
Loading