
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/
By Edward Yang, Team PyTorch4.8
4949 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/

586 Listeners

417 Listeners

5,171 Listeners

9,907 Listeners