There could have been a bug on uppercase Tensor ctor in 0.4.1 that is now fixed on master. Any case, you shouldn’t use the upper case ctors. Could you try torch.randn(1, device='cuda') instead and see if you still OOM?
It’s not related to zombie processes. Otherwise it will show up in nvidia-smi as occupied memory.