Skip to content

Conversation

@HuanyuZhang
Copy link
Contributor

Summary: Bug on removing attributes associated with GC.

Differential Revision: D74019695

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label May 1, 2025
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D74019695

HuanyuZhang added a commit to HuanyuZhang/opacus that referenced this pull request May 1, 2025
Summary:

Bug on removing attributes associated with GC.

Differential Revision: D74019695
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D74019695

HuanyuZhang added a commit to HuanyuZhang/opacus that referenced this pull request May 6, 2025
Summary:

Issue [meta-pytorch#749](meta-pytorch#749)

Under FGC, we use ``del p.grad_sample`` to release used per-sample gradients. However, when running ``to_standard_module``, w/o new changes, it will lead to attribute not found errors.

Reviewed By: iden-kalemaj

Differential Revision: D74019695
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D74019695

HuanyuZhang added a commit to HuanyuZhang/opacus that referenced this pull request May 6, 2025
Summary:

Issue [meta-pytorch#749](meta-pytorch#749)

Under FGC, we use ``del p.grad_sample`` to release used per-sample gradients. However, when running ``to_standard_module``, w/o new changes, it will lead to attribute not found errors.

Reviewed By: iden-kalemaj

Differential Revision: D74019695
Summary:
Pull Request resolved: meta-pytorch#754

Issue [meta-pytorch#749](meta-pytorch#749)

Under FGC, we use ``del p.grad_sample`` to release used per-sample gradients. However, when running ``to_standard_module``, w/o new changes, it will lead to attribute not found errors.

Reviewed By: iden-kalemaj

Differential Revision: D74019695
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D74019695

@facebook-github-bot
Copy link
Contributor

This pull request has been merged in 4acea9f.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported Merged

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants