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

Enable a test for loading state_dict with tensor subclasses #389

Merged
merged 1 commit into from
Jun 17, 2024

Conversation

jerryzh168
Copy link
Contributor

Summary:
Enabling the use case ofsaving a quantized state dict from our new quantization API and then load that to a non-quantized model, see test for more details

Test Plan:
python test/quantization/test_quant_api.py -k test_quantized_tensor_subclass_save_load

Reviewers:

Subscribers:

Tasks:

Tags:

Summary:
Enabling the use case ofsaving a quantized state dict from our new quantization API and then load that to a non-quantized model, see test for more details

Test Plan:
python test/quantization/test_quant_api.py -k test_quantized_tensor_subclass_save_load

Reviewers:

Subscribers:

Tasks:

Tags:
Copy link

pytorch-bot bot commented Jun 17, 2024

🔗 Helpful Links

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

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

❗ 1 Active SEVs

There are 1 currently active SEVs. If your PR is affected, please view them below:

✅ No Failures

As of commit 47bb9ca with merge base eb1511e (image):
💚 Looks good so far! There are no failures yet. 💚

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

@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 Jun 17, 2024
@msaroufim msaroufim requested review from andrewor14 and jcaip and removed request for cpuhrsch and msaroufim June 17, 2024 22:26
@jerryzh168 jerryzh168 merged commit aeee551 into pytorch:main Jun 17, 2024
13 checks passed
@jerryzh168 jerryzh168 deleted the serialization branch June 17, 2024 23:14
dbyoung18 pushed a commit to dbyoung18/ao that referenced this pull request Jul 31, 2024
)

Summary:
Enabling the use case ofsaving a quantized state dict from our new quantization API and then load that to a non-quantized model, see test for more details

Test Plan:
python test/quantization/test_quant_api.py -k test_quantized_tensor_subclass_save_load

Reviewers:

Subscribers:

Tasks:

Tags:
yanbing-j pushed a commit to yanbing-j/ao that referenced this pull request Dec 9, 2024
Co-authored-by: Soumith Chintala <[email protected]>
yanbing-j pushed a commit to yanbing-j/ao that referenced this pull request Dec 9, 2024
As per Soumith's original statement, pytorch#389
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.

4 participants