Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
GaggiX
· 1y ago · 0 comments
Pytorch uses different kernels depending on the input size. There is a reason why it's so massive to download.
Comments
[–]
reliabilityguy
1y ago
Sure, some degree of customization is expected. However, I doubt that PyTorch implements
every
input size separately.
[–]
saagarjha
1y ago
Generally tiling to a handful of sizes gets you pretty close to "specialized to this size" performance.
[–]
reliabilityguy
1y ago
Sure, but the size can be anything.
[–]
saagarjha
1y ago
Yes, you pick the size that’s closest