Skip to content

Opacus 1.5.4 breaks inplace activation support #408

@henrikfo

Description

@henrikfo

Issue

Problem Description

Latest version of opacus, 1.5.4, breaks the dpsgd examples.
This is because of a change in handling inplace activation internally in opacus.

Expected Behavior

As in version 1.5.3, we should be able to run predefined imported models, just like they do in their own examples.

What Needs to be Done

Support inplace activation replacement.

How Can It Be Tested or Reproduced

Run opacus with models that have inplace activations and without.
Check their own resnet18 torch importing example.

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingpriority - 2High priority. Can break core features of LeakPro. Needs to be fixed as soon as possible.

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions