You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are PyTorch tensor ops that reallocate the Tensor and hence the Tensor becomes outside of the symmetric heap. We need to document these and possibly offer alternative APIs. For instance:
shmem=iris.iris()
tensor=shmem.zeros(4, 3) # On symmetric heapnon_contiguous=tensor[::2] # Non-contiguous slicereshaped=non_contiguous.reshape(-1) # Creates copy off heap!
Attach any links, screenshots, or additional evidence you think will be helpful.