---
title: "Pallas"
description: "1 posts about Pallas, summarised, each linking to the original."
---

# Pallas
> 1 posts about Pallas, summarised, each linking to the original.

## Articles

### [Unlocking Stable On-Policy RL on TPU with Bitwise-Zero Train](https://yomu.fyi/post/unlocking-stable-on-policy-rl-on-tpu-with-bitwise-zero-train.md)
- Company: [Google](https://yomu.fyi/company/google.md)
- Author: Yuxuan Zhang, Lin Chai, Lance Wang, Tianshu Bao, Weiren Yu
- Published: Nov 16, 2026
- Type: Explainer

Reinforcement learning for large language models suffers from numerical instability when the sampler and trainer assign different logprobs to the same action, creating a hidden off-policy gap. This mismatch arises because floating-point addition is non-associative, and differing execution paths use different reduction orders and intermediate precision, especially in bfloat16. The authors’ Zero-TIM implementation closes this gap by locking within-shard kernel accumulation, ordering cross-shard reductions, standardising the logprob scoring tail, and wrapping serving kernels with custom differentiation rules. Verified across 64 TPU v5p chips, the approach records zero mean absolute sampler–trainer logprob difference at every logged step in a 200-step test. The implementation is open-source in Google’s Tunix library and provides a modular blueprint for bit-exact on-policy RL on TPU.
