It sounds like there is potentially a bug somewhere in the framework. Do you have a minimal reproducing example for this?
You can override the Conv2d.forward function pretty simply:
model = nn.Conv2d(...)
model.forward = <whatever you want>