
Sign up to save your podcasts
Or
Mike Ruberry has an RFC about stride-agnostic operator semantics (https://github.com/pytorch/pytorch/issues/78050), so let's talk about strides. What are they? How are they used to implement views and memory format? How do you handle them properly when writing kernels? In what sense are strides overspecified, and therefore, not worth slavishly reimplementing in a system like PrimTorch? What does Edward think we should do about them?
My blog post that covers strides along with other topics can be found at http://blog.ezyang.com/2019/05/pytorch-internals/
4.8
4747 ratings
Mike Ruberry has an RFC about stride-agnostic operator semantics (https://github.com/pytorch/pytorch/issues/78050), so let's talk about strides. What are they? How are they used to implement views and memory format? How do you handle them properly when writing kernels? In what sense are strides overspecified, and therefore, not worth slavishly reimplementing in a system like PrimTorch? What does Edward think we should do about them?
My blog post that covers strides along with other topics can be found at http://blog.ezyang.com/2019/05/pytorch-internals/
592 Listeners
213 Listeners
167 Listeners
750 Listeners
7,864 Listeners
2,096 Listeners