I see ok. So one way is to reduce the size of the tensors that in the object. I keep a tensor that is used to index another tensor in the object (e.g. A[b: ]). In this case, does b have to be of type LongTensor? Or can I reduce this to a smaller integer type?