Hacker News new | ask | show | jobs
by bertr4nd 1651 days ago
I’m extremely sympathetic to this viewpoint. I spent the last couple years building a JIT compiler for PyTorch, and a constant battle was that people want to write “normal” idiomatic Python, but those idioms work to defeat optimizations, unless you go to really crazy lengths. Some of the recent work in this space (torch.fx in particular) has made things easier by allowing the user to “clean up” their model, but it was definitely an eye-opening experience.
1 comments

This sounds very interesting! Did you ever write something up about the issues encountered?
I have not, but I will certainly consider doing so!
That would be awesome!