Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Is my understanding correct that they assumed a fixed size of the input?

If so, why is it surprising that generic implementations in PyTorch are worse?



Pytorch uses different kernels depending on the input size. There is a reason why it's so massive to download.


Sure, some degree of customization is expected. However, I doubt that PyTorch implements every input size separately.


Generally tiling to a handful of sizes gets you pretty close to "specialized to this size" performance.


Sure, but the size can be anything.


Yes, you pick the size that’s closest




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: