Closed Ethan-Chen-plus closed 8 months ago
It's not an issue on v1.3.0+. It seems like opacus has not been installed properly.
Did the reinstallation work for you @Ethan-Chen-plus? If not, could you share a collab that reproduces this?
@Ethan-Chen-plus , apologies, but I am not sure what to make of the above screenshot. Could you provide a link to a colab that I can run and reproduce the error?
@Ethan-Chen-plus There has been a change in Opacus structure. The DPDDP thing has been moved out of opacus.layers
to opacus.distributed
.
Now, you can use:
from opacus.distributed import DifferentiallyPrivateDistributedDataParallel as DPDDP
I suppose you have solved the issue. Feel free to re-open it if you still need it.