-
Notifications
You must be signed in to change notification settings - Fork 260
Revert "pin nightlies to deal with std::badalloc" #1283
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
Conversation
This reverts commit 0e854ec.
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/ao/1283
Note: Links to docs will display an error until the docs builds have been completed. ❗ 1 Active SEVsThere are 1 currently active SEVs. If your PR is affected, please view them below: ✅ No FailuresAs of commit d722cf2 with merge base 26648c2 ( This comment was automatically generated by Dr. CI and updates every 15 minutes. |
b40c08c
to
66e11fc
Compare
test/prototype/test_awq.py
Outdated
@@ -70,7 +71,7 @@ def test_awq_loading(device, qdtype): | |||
|
|||
model_save_path = "awq_model.pth" | |||
torch.save(m, model_save_path) | |||
loaded_model = torch.load(model_save_path) | |||
loaded_model = torch.load(model_save_path, assign=True) |
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.
assign=True is an arg for model.load_state_dict(...)
I think, see https://pytorch.org/ao/stable/serialization.html
@jcaip do you know what caused it and what fixed it? |
* Revert "pin nightlies to deal with std::badalloc (pytorch#1256)" This reverts commit 0e854ec. * Update regression_test.yml * Update regression_test.yml * skip tests * update * work * fix * fix lint * Update test_awq.py * Update test_awq.py * Update regression_test.yml * Update regression_test.yml * Update regression_test.yml * Update regression_test.yml * Update regression_test.yml * Update test_awq.py * Update test_awq.py * Update test_awq.py * Update test_awq.py * Update test_awq.py * Update test_awq.py * Update test_awq.py * Update test_awq.py
Reverts #1256