Accelerating AI at the speed of light