The technical round hit hard with a question to implement multi-head self-attention from scratch in PyTorch.
I felt the pressure as I explained the time and memory complexity, but the real surprise came when I recalled a similar problem I had practiced on PracHub just days before.
Following that, I had a casual chat about the role and my experience, and then wrapped up with a behavioral interview.
Once everything was done, I received an offer, which I gladly accepted.
Overall, a challenging yet rewarding experience.
Implement multi-head self-attention from scratch in PyTorch and explain the time/memory complexity, then describe how FlashAttention reduces memory usage.
The following metrics were computed from 2 interview experiences for the xAI Machine Learning Engineer role.
xAI's interview process for their Machine Learning Engineer roles is fairly selective, failing a large portion of engineers who go through it.
Candidates reported having very good feelings for xAI's Machine Learning Engineer interview process.