Skip to content

Conversation

@balakrishnanv
Copy link

Summary: Fix AttributeError when performing fake fusion on convolution layers without bias by creating a zero-filled bias parameter instead of attempting to access requires_grad on None.

Differential Revision: D87356763

@pytorch-bot
Copy link

pytorch-bot bot commented Nov 18, 2025

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/ao/3353

Note: Links to docs will display an error until the docs builds have been completed.

❌ 2 New Failures

As of commit 12f1d7f with merge base 4f5bc7a (image):

NEW FAILURES - The following jobs have failed:

This comment was automatically generated by Dr. CI and updates every 15 minutes.

@meta-cla meta-cla 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 Nov 18, 2025
@meta-codesync
Copy link

meta-codesync bot commented Nov 18, 2025

@balakrishnanv has exported this pull request. If you are a Meta employee, you can view the originating Diff in D87356763.

balakrishnanv pushed a commit to balakrishnanv/ao that referenced this pull request Nov 20, 2025
Summary:
Pull Request resolved: pytorch#3353

Fix `AttributeError` when performing fake fusion on convolution layers without bias by creating a zero-filled bias parameter instead of attempting to access requires_grad on None.

Differential Revision: D87356763
@balakrishnanv balakrishnanv force-pushed the export-D87356763 branch 2 times, most recently from d6cbf8a to 14e37fc Compare November 20, 2025 03:50
balakrishnanv pushed a commit to balakrishnanv/ao that referenced this pull request Nov 20, 2025
Summary:

Fix `AttributeError` when performing fake fusion on convolution layers without bias by creating a zero-filled bias parameter instead of attempting to access requires_grad on None.

Differential Revision: D87356763
Summary:

Fix `AttributeError` when performing fake fusion on convolution layers without bias by creating a zero-filled bias parameter instead of attempting to access requires_grad on None.

Differential Revision: D87356763
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 meta-exported

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants