May I ask which version of Opacus you are using? Also, if you can provide a minimal reproducing code it would be easier for us to help you.
I just tried the dcgan example (opacus/dcgan.py at main · pytorch/opacus · GitHub 4) on my end and it seems to work well with Opacus 1.0