pub fn rail_for_tensor(tensor_index: usize, n_rails: usize) -> usize
2026-09-25: The rail for tensor tensor_index: tensor_index % n_rails, with n_rails taken as at least 1. The client’s read loop calls it.
tensor_index
tensor_index % n_rails
n_rails