-
Notifications
You must be signed in to change notification settings - Fork 185
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
Fix the impl for to
for int4 weight only use case
#522
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/ao/522
Note: Links to docs will display an error until the docs builds have been completed. ✅ No FailuresAs of commit 3ed1a46 with merge base 6dd82d8 (): This comment was automatically generated by Dr. CI and updates every 15 minutes. |
test/quantization/test_quant_api.py
Outdated
@@ -637,6 +637,22 @@ def test_quantized_model_to_device(self): | |||
cuda_res = m(*example_inputs_cuda) | |||
self.assertEqual(cuda_res.cpu(), ref) | |||
|
|||
# TODO: enable this test |
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.
why disable test?
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.
cpu -> cuda does not work yet, I changed it to cuda to cuda for now
2019b80
to
948b7ed
Compare
Summary: Note that we can do the following right now: * initialize and quantize the model with int4_weight_only quant in cpu * move the model to cuda we'll enable this in a separate PR Test Plan: CI Reviewers: Subscribers: Tasks: Tags:
Summary: Note that we can do the following right now: * initialize and quantize the model with int4_weight_only quant in cpu * move the model to cuda we'll enable this in a separate PR Test Plan: CI Reviewers: Subscribers: Tasks: Tags:
Summary:
Note that we can do the following right now:
we'll enable this in a separate PR
Test Plan:
python test/quantization/test_quant_api.py -k test_int4wo_quantized_model_to_device
Reviewers:
Subscribers:
Tasks:
Tags: