Hi,
torch.zeros() consumes some cpu because it has to zero out the memory.
The difference that you see between size of 100000 and 200000 is because for big tensors, pytorch automatically uses multi-process computations to speed up the computation. You can use the torch.set_num_threads() function to control how many cores will be used for big tensors.