-
Notifications
You must be signed in to change notification settings - Fork 374
Refactor Hadamard matrices loading #3344
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
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/ao/3344
Note: Links to docs will display an error until the docs builds have been completed. ✅ No FailuresAs of commit 1af0bbd with merge base ba6f428 ( This comment was automatically generated by Dr. CI and updates every 15 minutes. |
|
The import time benefit is nice! I do have some questions about including an opaque |
good point! just push the change to generate .pkl in setup.py (from json). thanks for the feedback |
|
thank you for doing this! two follow-up questions:
|
|
|
thank you! CI is green, so looks good. |
* Refactor Hadamard matrices loading * lint * Generate Hadamard pickle during setup * lint
TLDR: Optimize import time
Summary
Testing
python - <<'PY' ... (imports old vs new module with a stubbed torch)
Before: 75.9 ms import time
After: 5.7 ms import time