Skip to content

Add Intel client and hybrid x86 microarchitectures - #443

Open
fbarchard wants to merge 2 commits into
pytorch:mainfrom
fbarchard:intel-hybrid-uarch
Open

fbarchard wants to merge 2 commits into
pytorch:mainfrom
fbarchard:intel-hybrid-uarch

Conversation

@fbarchard

@fbarchard fbarchard commented Oct 14, 2026 •

Copy link
Copy Markdown
Contributor

Decode Intel hybrid P-core (0x40) and E-core (0x20) microarchitectures using CPUID Leaf 1 (family/model) and Leaf 0x1A (EAX[31:24] core type).

@meta-cla meta-cla Bot added the cla signed label Oct 14, 2026
@rrwinterton

Copy link
Copy Markdown
Contributor

This patch add the right information for lion cove used in lunar lake CPU the issue is that this doesn't fix the hybrid issue we submitted in previous PR that addressed threading and hybrid issue. For example LNL shows which should be 4 Lion Cove and 4 Skymonts.

c:\Users\rrwin\Downloads\dev\pytorch\cpuinfo\build-clang>cpu-info.exe
Packages:
0: Intel Core Ultra 7 268V 2.20GHz
Microarchitectures:
8x Lion Cove
Cores:
0: 1 processor (0), Intel Lion Cove
1: 1 processor (1), Intel Lion Cove
2: 1 processor (2), Intel Lion Cove
3: 1 processor (3), Intel Lion Cove
4: 1 processor (4), Intel Lion Cove
5: 1 processor (5), Intel Lion Cove
6: 1 processor (6), Intel Lion Cove
7: 1 processor (7), Intel Lion Cove
Clusters:
0: 8 processors (0-7), 0: 8 cores (0-7), Intel Lion Cove
Logical processors:
0: APIC ID 0x00000000
1: APIC ID 0x00000002
2: APIC ID 0x00000004
3: APIC ID 0x00000006
4: APIC ID 0x00000008
5: APIC ID 0x0000000a
6: APIC ID 0x0000000c
7: APIC ID 0x0000000e

@fbarchard

Copy link
Copy Markdown
Contributor Author

Thanks for testing. I've uploaded a new version. The goal is to make this strictly cpuid and not compiler/os/thread sensitive. I think what you are seeing is the initial cpuid is sensitive to which core the OS ran it on?

It would be nice of sde could mimic hybrid.

I've uploaded a new version

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.

2 participants