PyTorch int8 Tensor Comparison with Large Integer Results in Unexpected False

The following gets False for the second calculation. Is this expected behavior (pytorch 2.0.1)?

import torch
import numpy

print(numpy.array(1,dtype=numpy.int8) < 32767)
print(torch.tensor(1,dtype=torch.int8) < 32767)
print(torch.tensor(1,dtype=torch.int8) < torch.tensor(32767,dtype=torch.int16))
print(torch.tensor(1,dtype=torch.int8).item() < 32767)
True
tensor(False)
tensor(True)
True

Could you create an issue on GitHub including your example if you are still hitting this issue in the latest nightly, please?

Done: