r/Compilers • u/confused_perceptron • May 26 '26
Need Guidance Breaking into ML Compiler Engineering
Hello everyone,
Im currently a data engineer with one and half years of exp, im a post grad with research exp in theoretical ML and published one paper at TKDD. I want to move to ML compiler engineer/ ML compiler research engineer by end of the year. I tried to find some sort of learning path but they are very much overwhelming im bit confused on how to get started with. So far my current tech skills related to ML compile are Python(mid-adv), torch, cpp(beginner-mostly leetcode cpp), mathematical programming( Project euler around 50 Problems solved), Compilers(theory).
So i also i think i have to get good with whole multiprocessing and threading in cpp, hands on compiler dev, ML libraries internals. my current plan is to learn essentials in 2 months while working with minor projects then start working on contributing opensource projects. Currently im reading cpp concurrency in action and MLC-AI cource playlist.
i want to clarity on how far are my goals from reality. and also any suggestions? guidence on essential things to focus and learn first and what resources to follow(like course work, books, blogs, papers/conferences, opensource projects to follow). feel free to correct me and suggest me is i am missing any other areas.
Thanks in advance for your time, Reply and patience.
Peace✌️
4
u/Forward-Mechanic-685 May 26 '26
There’s this book: https://book.mlc.ai
2
u/LSPCH May 26 '26
After MLC-AI, you still may not be ready for full-time roles (not saying it's impossible), but internships are entirely possible if you have the time for it.
However, if you aren't considering an internship, Impactful open source (tvm, openxla, triton) and an actual deep-dive project into concurrent research is the way to go. Though doing actual impactful open source contribution in 2 months while doing projects is a slight stretch? I would recommend one or the other, but I stand corrected, as I am still very much a traditional coder and not sure if AI use can help.
For the project, you want to prove to the interviewer/employer that you can program compilers and can apply contemporary research, and one thing I can recommend (given your time constraint) is to build/extend on `torch.compile` backend like TVM. Even then, this can be very time-consuming, considering you don't have much compiler development experience. Maybe you can try extending something like Hidet, which is a relatively smaller library compared to TVM. A larger scope would be a DSL on top of ONNX/MLIR/LLVM, but it's a lot of effort considering your compiler experience level.
Unfortunately, reading more won't help you as much as you think (I was in the same boat). You want to get the hang of the dirty work in building an ML compiler, then you can innovate (i.e., you need a baseline).
1
u/nian2326076 May 26 '26
Hey, it sounds like you're on a good track. Since you already know Python and have some C++ skills, you should dive deeper into LLVM and MLIR. They're important for ML compiler work. Try building small projects or contributing to open-source projects related to those. This will give you practical experience and something to show in interviews. Also, brush up on advanced C++ since it's often used in compiler work. For algorithms and systems-level knowledge, "Engineering a Compiler" by Cooper and Torczon is a great book.
For interview prep, I've found PracHub helpful for targeted practice. Good luck!
1
u/Impossible-Line1070 May 30 '26
!remindme 1 day