Hi Francois!



 Francois:

[pip3] torch==1.10.0
[pip3] torchvision==0.11.1



I was also unable to reproduce your issue using a freshly-downloaded
stable version, 1.10.0 / 0.11.1, under conda on ubuntu:
args.bug = True
tensor([[0.0000, 0.7319, 1.0969, 0.6430, 0.8533],
        [1.0000, 1.2892, 0.2074, 0.4249, 0.0755],
        [2.0000, 1.9148, 2.2872, 0.1998, 0.9350],
        [3.0000, 0.5617, 0.9486, 1.7332, 0.7013],
        [4.0000, 0.1312, 3.0198, 1.7909, 0.4429]])
torch.Size([5, 64, 3, 3])
>>> print (torch.__version__)
1.10.0
>>> import torchvision
>>> print (torchvision.__version__)
0.11.1

(Again, I pasted my tweaked version of your code into a python
interpreter.)
Also, for what it’s worth, I could not reproduce your issue on a older
1.10.0 nightly version:
>>> print (torch.__version__)
1.10.0.dev20210830
>>> import torchvision
>>> print (torchvision.__version__)
0.11.0.dev20210830

Best.
K. Frank