Skip to content

Conversation

@snnn
Copy link
Contributor

@snnn snnn commented Jan 14, 2025

Description

Update xnnpack to remove the dependency on psimd and fp16 libraries. However, coremltool still depends on them, which will be addressed later.

Also, update CPUINFO because the latest xnnpack requires CPUINFO's avx10 support.

Motivation and Context

The fewer dependencies the better.

@snnn snnn requested a review from a team as a code owner January 14, 2025 18:43
@snnn snnn requested a review from jywu-msft January 14, 2025 18:44
@snnn snnn changed the title Update xnnpack Update xnnpack, cpuinfo and pthreadpool Jan 14, 2025
@jywu-msft
Copy link
Member

I recently came to realize that https://github.com/microsoft/onnxruntime/blob/73f5b0c5976fec04ebbdfe0761ee23055e0fcf8b/onnxruntime/core/common/cpuid_uarch.cc is basically a copy of https://github.com/pytorch/cpuinfo/blob/main/src/arm/uarch.c
when we update our reference of pytorch/cpuinfo , we don't seem to update cpuid_uarch.cc ?

@snnn
Copy link
Contributor Author

snnn commented Jan 15, 2025

I did not know that, will address it in another PR and ask the MLAS team to help review.

@snnn snnn merged commit 6a7ea5c into microsoft:main Jan 15, 2025
94 checks passed
carzh pushed a commit that referenced this pull request Jan 16, 2025
### Description
Update xnnpack to remove the dependency on psimd and fp16 libraries.
However, coremltool still depends on them, which will be addressed
later.

Also, update CPUINFO because the latest xnnpack requires CPUINFO's avx10
support.

### Motivation and Context
The fewer dependencies the better.
guschmue pushed a commit that referenced this pull request Mar 6, 2025
### Description
Update xnnpack to remove the dependency on psimd and fp16 libraries.
However, coremltool still depends on them, which will be addressed
later.

Also, update CPUINFO because the latest xnnpack requires CPUINFO's avx10
support.

### Motivation and Context
The fewer dependencies the better.
ashrit-ms pushed a commit that referenced this pull request Mar 17, 2025
### Description
Update xnnpack to remove the dependency on psimd and fp16 libraries.
However, coremltool still depends on them, which will be addressed
later.

Also, update CPUINFO because the latest xnnpack requires CPUINFO's avx10
support.

### Motivation and Context
The fewer dependencies the better.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants