You could change the dilation by simply assigning a new value to the module:
resnet101.layer4[2].conv1.dilation = (2, 2)

However, since the outputs might be used on a residual connection etc. you would have to make sure to provide the desired spatial size of the new output.