Skip to content

Remove redundant weight_dtype validation in MXDynamicActivationMXWeightConfig - #4991

Open
bogoconic1 wants to merge 1 commit into
pytorch:mainfrom
bogoconic1:remove-redundant-weight-dtype-validation
Open

bogoconic1 wants to merge 1 commit into
pytorch:mainfrom
bogoconic1:remove-redundant-weight-dtype-validation

Conversation

@bogoconic1

Copy link
Copy Markdown

Given self.activation_dtype == self.weight_dtype, once we validate self.activation_dtype its not necessary to validate self.weight_dtype. Unless I am missing something that the maintainers know 🤔

image

@pytorch-bot

pytorch-bot Bot commented Oct 11, 2026

Copy link
Copy Markdown

🔗 Helpful Links

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

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

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

@meta-cla

meta-cla Bot commented Oct 11, 2026

Copy link
Copy Markdown

Hi @bogoconic1!

Thank you for your pull request and welcome to our community.

Action Required

In order to merge any pull request (code, docs, etc.), we require contributors to sign our Contributor License Agreement, and we don't seem to have one on file for you.

Process

In order for us to review and merge your suggested changes, please sign at https://code.facebook.com/cla. If you are contributing on behalf of someone else (eg your employer), the individual CLA may not be sufficient and your employer may need to sign the corporate CLA.

Once the CLA is signed, our tooling will perform checks and validations. Afterwards, the pull request will be tagged with CLA signed. The tagging process may take up to 1 hour after signing. Please give it that time before contacting us about it.

If you have received this in error or have any questions, please contact us at cla@meta.com. Thanks!

@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 Oct 11, 2026
@bogoconic1
bogoconic1 force-pushed the remove-redundant-weight-dtype-validation branch from 5671c5c to 86015bc Compare October 11, 2026 02:35
@bogoconic1

bogoconic1 commented Oct 11, 2026 •

Copy link
Copy Markdown
Author

In my org we really dislike dead code, these days with AI its much easier to add something back when needed so there's every reason to be aggressive to remove anything unnecessary. But AI itself hates deleting code unless I tell it to

This branch has not been deployed

No deployments
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.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant