Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: meta-pytorch/opacus
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: a0fee30
Choose a base ref
...
head repository: meta-pytorch/opacus
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 9cc8dce
Choose a head ref
  • 1 commit
  • 2 files changed
  • 1 contributor

Commits on Jan 25, 2024

  1. Fixing the corner case when the optimizer has no trainable parameters

    Summary:
    We made the following changes:
    1. We has fixed the corner case when the optimizer has no trainable parameters. This might happen when there are more than one optimizers while some of them are frozen during the fine-tuning.
    2. We have changed the "closure" logic in the "step" function in "ddpoptimizer.py", to make it consistent with "optimizer.py".
    
    Differential Revision: D53055273
    HuanyuZhang authored and facebook-github-bot committed Jan 25, 2024
    Configuration menu
    Copy the full SHA
    9cc8dce View commit details
    Browse the repository at this point in the history
Loading