What multi-datacenter AI training needs from long-haul fiber
Frontier AI is outgrowing single datacenters. I asked what the fiber between sites actually has to deliver when the traffic is model updates, and found it doesn't need to be perfect. It needs to protect the right bits.
Simulated DiLoCo-style training of Pythia language models over a realistic long-haul optical link model (loss, noise, bit errors).
Most bits in an update can arrive noisy without hurting training; a few critical bits cannot. Exposing every bit to a one-in-a-million error rate made every run diverge.
In small-scale tests, sending 5 bits per value instead of 16 let the same fiber carry about 3x the updates at 1000 km.
Framed the result as a "link budget for learning", bridging optical network design and distributed ML.
Skills: PyTorch · distributed training (DiLoCo) · optical link modeling · Slurm/HPC · experiment design · technical writing
An open source learning tool for co-packaged optics, built for engineers, researchers, and students. It gathers slides, datasheets, and draft standards into one 3D explorer, from rack to microring, and checks each link against the math with every number traced to its source.
The same worst case rack path is −1.0 dB or +2.0 dB depending on which side of a detachable fiber connector the budget is measured.
Independent model built from public information. Not affiliated with any company whose work is cited.
Watch the walkthrough 1:31A silent tour with on screen captions. It moves from a reference rack to a switch tray, a BiDi optical engine and its photonic chip, a single microring modulator in cross section, and a photonic tensor core processor.
03CourseworkECE 136CSpring 2025
Quantum Photonics Labs
Studied quantum optics through lab experiments and Python circuit programming. Learned how measurement noise and the order of circuit operations affect the results.
With Nate Barnaby, Gavin Kesler, and Bryan Fernandez (Group 7).
Simulated Alice & Bob cat qubits at Duke's quantum computing hackathon. Prepared and stabilized cats, measured bit and phase flip rates, read the memory mode through the buffer, and designed a better readout pulse.
In simulation, a 2 µs cosine readout pulse tuned to the 3.14 MHz buffer ring cut estimated readout error from 1.12% to 0.65% versus a square pulse, assuming ideal detection.
Team Von Neumann's Ghost with Xuanyu Zhu, Halo Kwok, and Harshit Aggarwal. 3rd place overall, plus the Backboard.io and Tiger Data sponsor awards.
Simulated Wigner function as a cat qubit forms from vacuum over 3 µs.
Built a loop to check and time Triton kernels against eager PyTorch. Proposals currently come from a fixed mock.
In one Tesla T4 run, a verified fused kernel took 0.053 ms versus 0.120 ms for the best framework path (2.26×), measured in the same process. Other runs varied.
The mock proposer does not learn from feedback. These timings apply to the tested workload and GPU.