Thanks for the information. As self.inplane is not defined I’ve used an arange from 1 to 256 using this code snippet on a 1060:
import torch
import torch.nn as nn

print(torch.cuda.get_device_name())
print(torch.__version__)
print(torch.version.cuda)
print(torch.backends.cudnn.version())

for i in range(1, 257):
    conv = nn.Conv2d(3, i, kernel_size=7, stride=2, padding=3, bias=False).cuda()
    x = torch.randn(1, 3, 224, 224).cuda()

    out = conv(x)
    print(out.shape)

Output:
GeForce GTX 1060 6GB
1.7.1
11.0
8005
torch.Size([1, 1, 112, 112])
torch.Size([1, 2, 112, 112])
torch.Size([1, 3, 112, 112])
torch.Size([1, 4, 112, 112])
torch.Size([1, 5, 112, 112])
...
torch.Size([1, 256, 112, 112])

so I’m unfortunately not able to reproduce this issue.
I assume you’ve tested your code and it’s indeed failing using this particular convolution?