Searcharxiv⌕ Search

arXiv subjects

Victor Barros

Publications and source records attributed to Victor Barros.

2 recordsLinked to original sources

XLA from the Trenches: Correctness on TPU Workloads at Scale

Accelerating modern foundational models has pushed domain-specific compilers toward increasingly complex, multi-tiered optimization pipelines. However, this heavy optimization focus introduces delicate tradeoffs between peak execution performance and correctness. Subtle codegen defects can trigger numerical degradation and memory or buffer corruption, invalidating multi-million-dollar training runs and degrading live serving quality without raising obvious compiler errors. In this paper, we present a battle-tested methodology for verifying and triaging Google's XLA:TPU compiler at hyperscale. We leverage fuzzing techniques, combining synthetic program generation with real production traces, while orchestrating AI agent swarms to autonomously generate stress tests, reproduce failures, and draft fixes. To pinpoint root causes in full workloads, we pair this with a hierarchical differential pipeline that bisects large graphs down to individual failing operations inside fused kernels. Deployed in production, our framework has already driven the resolution of over 142 compiler bugs (with 103 additional findings under review), from which we distill pragmatic lessons learned.

cs.AI↗

A physical investigation on the phenomenon of the Dancing Coin

When a coin is placed on the neck of a cold bottle, the coin will move cyclically. This is caused by the expansion of the gas inside the bottle warming up, which will cause the coin to rise when the internal pressure is large enough to overcome the weight of the coin. This problem, widely used to qualitatively demonstrate several laws of thermodynamics, has no quantitative solution in the literature. For this we use the ideal gas model and Newton's law of cooling combined with computational numerical simulations and systematic experimental measures to confront our theoretical model, including equations for the evolution of temperature, pressure and behaviour of the coins in the system.

physics.ed-ph↗