Skip to content

Add ARM v8.7 FP8 ISA feature detection and reporting to cpuinfo (#412)#413

Open
fbarchard wants to merge 1 commit into
pytorch:mainfrom
fbarchard:fp8
Open

Add ARM v8.7 FP8 ISA feature detection and reporting to cpuinfo (#412)#413
fbarchard wants to merge 1 commit into
pytorch:mainfrom
fbarchard:fp8

Conversation

@fbarchard

Copy link
Copy Markdown
Contributor

Add ARM v8.7 / Armv9.6-A FP8 instructions across public API structs, Linux HWCAP2 / /proc/cpuinfo parsing, Apple sysctls, Windows processor feature checks, and isa_info:

  • Base FP8 (cpuinfo_has_arm_fp8 / FEAT_FP8 / HWCAP2_F8CVT)
  • FP8 4-way Dot Product (cpuinfo_has_arm_f8dot / FEAT_FP8DOT4 / HWCAP2_F8DP4)
  • FP8 8-way Matrix Multiply-Accumulate into FP32 (cpuinfo_has_arm_f8mm / FEAT_F8F32MM / HWCAP_F8MM8 / HWCAP2_F8FMA)

Fixes #412

@meta-cla meta-cla Bot added the cla signed label Jul 10, 2026
Expose ARM v8.7 / Armv9.6-A FP8 instructions across public API structs, Linux HWCAP2 / /proc/cpuinfo parsing, Apple sysctls, Windows processor feature checks, and isa_info:
- Base FP8 (cpuinfo_has_arm_fp8 / FEAT_FP8 / HWCAP2_F8CVT / F8E4M3 / F8E5M2)
- FP8 4-way Dot Product (cpuinfo_has_arm_f8dot / FEAT_FP8DOT4 / HWCAP2_F8DP4)
- FP8 8-way Matrix Multiply-Accumulate into FP32 (cpuinfo_has_arm_f8mm / FEAT_F8F32MM / HWCAP_F8MM8 / HWCAP2_F8FMA)

Fixes pytorch#412
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

add FP8 detect

1 participant