Hey for once I feel qualified to reply on a HN thread (I'm one of the developers of DFTK, a similar package). Very nice result. I'm not particularly surprised, as QE is not particularly GPU optimized. I've heard that the QE developers interested in GPU are doing it in Sirius, but I don't know much about it. More generally there's a tension between new features / optimizations and maintainability. I'm not sure how to deal with this medium term. Perhaps having two code bases, one for humans and the other for AI, is not the worst solution.