I’d love to see this in torch. What are the odds?
[0] e.g. https://jamesmccaffrey.wordpress.com/2021/09/02/example-of-a...
https://pytorch.org/tutorials/advanced/dispatcher.html
More complex but still not that hard.
Edit: as an example that I experienced first-hand, coremltools, which converts PyTorch to CoreML models, only gained FFT support very recently. It's also not really a PyTorch backend but a PyTorch code converter, though, so wouldn't benefit at all from PyTorch's FFT being backed by VkFFT. Still, good example that one shouldn't take FFTs for granted.