Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

config migration: smoothquant #1851

Merged
merged 4 commits into from
Mar 8, 2025
Merged

config migration: smoothquant #1851

merged 4 commits into from
Mar 8, 2025

Conversation

vkuzo
Copy link
Contributor

@vkuzo vkuzo commented Mar 7, 2025

Summary:

Migrates smoothquant to direct configs

Test Plan:

pytest test/prototype/test_smoothquant.py -s -x

Reviewers:

Subscribers:

Tasks:

Tags:

[ghstack-poisoned]
Copy link

pytorch-bot bot commented Mar 7, 2025

🔗 Helpful Links

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

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

⏳ No Failures, 1 Pending

As of commit 6f3d127 with merge base b6db962 (image):
💚 Looks good so far! There are no failures yet. 💚

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

vkuzo added a commit that referenced this pull request Mar 7, 2025
Summary:

Migrates smoothquant to direct configs

Test Plan:

```
pytest test/prototype/test_smoothquant.py -s -x
```

Reviewers:

Subscribers:

Tasks:

Tags:

ghstack-source-id: 2d881f3403e8a45123bbb9de931f129c32bf89ee
ghstack-comment-id: 2706636586
Pull Request resolved: #1851
@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 Mar 7, 2025
@vkuzo vkuzo added the topic: not user facing Use this tag if you don't want this PR to show up in release notes label Mar 7, 2025
vkuzo added 2 commits March 7, 2025 11:39
[ghstack-poisoned]
[ghstack-poisoned]
device=observed_linear.weight.device,
dtype=observed_linear.weight.dtype,
)
# linear.weight = torch.nn.Parameter(
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks like this file contains various lines of commented out code, can we just delete it?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sure, I'll delete it before landing

[ghstack-poisoned]
@vkuzo vkuzo merged commit bc509dc into main Mar 8, 2025
47 of 50 checks passed
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. topic: not user facing Use this tag if you don't want this PR to show up in release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants