-
Notifications
You must be signed in to change notification settings - Fork 234
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
Update ARM CPU experimental kernels from AO to leverage pip install #1458
base: main
Are you sure you want to change the base?
Conversation
metascroy
commented
Jan 15, 2025
- torchao experimental CPU kernels are now installed and loaded automatically by pip.
- Switch quantization to use new quantize_ API
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/torchchat/1458
Note: Links to docs will display an error until the docs builds have been completed. ❌ 10 New FailuresAs of commit 4ee1b96 with merge base 2766a95 ( NEW FAILURES - The following jobs have failed:
This comment was automatically generated by Dr. CI and updates every 15 minutes. |
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.
Thanks for making the pip install work with the subclass APIs!!
except Exception as e: | ||
print("Encountered error during quantization: {e}") | ||
print("Trying with PlainLayout") |
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.
Is there a specific case we are anticipating here?
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.
If using this on cuda machine of x86 machine
cc: @manuelcandales Can have please for MPS? 🥺🥺 (Separate PR) |
Awaiting pytorch/executorch#7759 |
@Jack-Khuu did you update the version AO uses in ET? |
Yup pytorch/executorch@9836b39 Points to pytorch/ao@11333ba |
Co-authored-by: Jack-Khuu <[email protected]>
Co-authored-by: Jack-Khuu <[email protected]>
Co-authored-by: Jack-Khuu <[email protected]>
8ebf63f
to
0abe175
Compare
Hello @metascroy @Jack-Khuu , what is the plan to get this in mainline? We would like to use KleidiAI kernels from aten via this quantizer path. Let us know if we need to raise a new PR ? |
Hi @nikhil-arm, we're still planning to land this Can you share the specific commit hashes y'all need? |