Skip to content

feat: [NPP02-5848] sync with Google XNNPACK upstream#1

Merged
ThibaultCastells merged 7 commits into
masterfrom
feat/NPP02-5848-sync-google-upstream
Jun 15, 2026
Merged

feat: [NPP02-5848] sync with Google XNNPACK upstream#1
ThibaultCastells merged 7 commits into
masterfrom
feat/NPP02-5848-sync-google-upstream

Conversation

@ThibaultCastells

Copy link
Copy Markdown
Member

Summary

  • Sync nota-github/XNNPACK with current google/XNNPACK master.
  • Bring the Nota fork to f0b3a2996d6fff82cd3f004c0b29f5ccb0ab947d so downstream ExecuTorch can point at a fork that includes the upstream inline-LHS IGEMM tile scheduling fix directly.

Background

The first ExecuTorch PR moved the XNNPACK submodule to the Nota fork, but pinned a manual backport commit on the old XNNPACK base. This PR makes the fork match Option 2: use the Nota fork, synchronized with latest Google upstream.

The upstream fix needed for NPP02-5848 is already included in Google XNNPACK as e0e024ee8a6d9ab6abcac7a876f5d96b32a72074 / PR google#9079.

Test plan

  • No local XNNPACK tests run for this fork-sync PR.
  • Follow-up ExecuTorch PR should update the submodule pointer to this synced commit and rerun RegNet SME2 validation.

gcarranza-1 and others added 7 commits June 12, 2026 11:57
PiperOrigin-RevId: 931261281
This generalizes the LUT operation to more types, and allows multiple dimensions in the "LUT" (now the input).

This should perform well in both the gather dimension 0 case (provided we have an appropriate LUT kernel), and for other dimensions, because `slinky::copy` should boil down to a memcpy of large chunks in most cases.

PiperOrigin-RevId: 931267865
- Fix batching for QD8 case
- Fix QD8 parameters differing from F32
- Most of the intermediate tensor sizes are wrong. (This doesn't matter because XNNPACK overwrites these with inferred shapes.)

PiperOrigin-RevId: 931269422
PiperOrigin-RevId: 931286477
Also switches off AVX-512 assembly kernels for now on this platform.
Takes care of another cluster of Chromium failures related to Windows.
https://chromium-review.googlesource.com/c/chromium/src/+/7615883

PiperOrigin-RevId: 931424107
@ThibaultCastells ThibaultCastells self-assigned this Jun 15, 2026
@ThibaultCastells ThibaultCastells merged commit f0b3a29 into master Jun 15, 2026
3 of 21 checks passed
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.

5 participants