Summer 2026
Amazon Alexa
Software Development Engineer Intern
ML Infrastructure · Edge AI
My team at Alexa was working on running LLMs directly on devices, and my part was figuring out where inference time was being spent. If a request was slow, we needed to know whether the model was spending that time on the AI hardware or inside the surrounding C++ runtime. I built low-level timing instrumentation across five stages of the C++ inference pipeline to track every step of a request. A big part of the engineering challenge was making sure the timing logic itself had almost zero overhead—because these stages run on every single token the model generates, normal logging during a request would slow down the system and ruin the measurements. Instead, I recorded lightweight timestamps directly in memory while the model ran and only wrote the data out after the request finished, keeping runtime overhead under 2%. This lets us cleanly separate raw AI compute from C++ bottlenecks and speed up end-to-end inference.