-
Notifications
You must be signed in to change notification settings - Fork 345
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
Enhancement: Refactoring Windows ARM64 - CPU Detection Logic #270
Comments
The MIDR is stored in Have suggested we use that instead |
pytorchmergebot
pushed a commit
to pytorch/pytorch
that referenced
this issue
Mar 25, 2025
Updating `cpuinfo` module. Relevant: pytorch/cpuinfo#270 Pull Request resolved: #149305 Approved by: https://github.com/malfet
ozanMSFT
added a commit
to ozanMSFT/pytorch
that referenced
this issue
Mar 27, 2025
Updating `cpuinfo` module. Relevant: pytorch/cpuinfo#270 Pull Request resolved: pytorch#149305 Approved by: https://github.com/malfet (cherry picked from commit ce54c43)
ozanMSFT
added a commit
to ozanMSFT/pytorch
that referenced
this issue
Mar 27, 2025
Updating `cpuinfo` module. Relevant: pytorch/cpuinfo#270 Pull Request resolved: pytorch#149305 Approved by: https://github.com/malfet (cherry picked from commit ce54c43)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Current source code supports some pre-defined chips by hardcoded definitions:
https://github.com/pytorch/cpuinfo/blob/main/src/arm/windows/init.c
Currently information is stored in:
It would be better to add capability to detect new chips without breaking existing implementation.
Otherwise, this will generate "Unknown CPU" warning/error message for the all undefined ARM64 chips.
Example error/warning messages:
The text was updated successfully, but these errors were encountered: