-
Notifications
You must be signed in to change notification settings - Fork 228
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
Conversation
🔗 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 PendingAs of commit 6f3d127 with merge base b6db962 ( This comment was automatically generated by Dr. CI and updates every 15 minutes. |
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
torchao/prototype/smoothquant/api.py
Outdated
device=observed_linear.weight.device, | ||
dtype=observed_linear.weight.dtype, | ||
) | ||
# linear.weight = torch.nn.Parameter( |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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
Summary:
Migrates smoothquant to direct configs
Test Plan:
Reviewers:
Subscribers:
Tasks:
Tags: