Update XNNPACK in XLA

- New windows support
- Workaround for Intel AMX in GCC

PiperOrigin-RevId: 824644581
This commit is contained in:
A. Unique TensorFlower 2025-10-27 13:05:23 -07:00 committed by TensorFlower Gardener
parent 6e8976e3cf
commit e79d4ebeec
5 changed files with 13 additions and 13 deletions

View File

@ -23,7 +23,7 @@ OverridableFetchContent_Declare(
xnnpack
GIT_REPOSITORY https://github.com/google/XNNPACK
# Sync with tensorflow/workspace2.bzl
GIT_TAG 2f108e3efda443ac9f233671cfacf2b3183b7e94
GIT_TAG 43c2b577ce92ddd4cda925c4d060867c12e70de0
GIT_PROGRESS TRUE
PREFIX "${CMAKE_BINARY_DIR}"
SOURCE_DIR "${CMAKE_BINARY_DIR}/xnnpack"

View File

@ -168,9 +168,9 @@ def _tf_repositories():
# LINT.IfChange(xnnpack)
tf_http_archive(
name = "XNNPACK",
sha256 = "e03c64b59e633944026356524f3862bb7a3809200a76cdd2bfb98758bd0378ee",
strip_prefix = "XNNPACK-2f108e3efda443ac9f233671cfacf2b3183b7e94",
urls = tf_mirror_urls("https://github.com/google/XNNPACK/archive/2f108e3efda443ac9f233671cfacf2b3183b7e94.zip"),
sha256 = "332dcb355b65bd290d275a06506b9eda41d0320e84793230681e1cc74c560685",
strip_prefix = "XNNPACK-43c2b577ce92ddd4cda925c4d060867c12e70de0",
urls = tf_mirror_urls("https://github.com/google/XNNPACK/archive/43c2b577ce92ddd4cda925c4d060867c12e70de0.zip"),
)
# LINT.ThenChange(//tensorflow/lite/tools/cmake/modules/xnnpack.cmake)

View File

@ -5,7 +5,7 @@ load("//third_party:repo.bzl", "tf_http_archive", "tf_mirror_urls")
def repo():
tf_http_archive(
name = "slinky",
sha256 = "e30625e2a3071ed674d48436bd671547f29825953ea7349c066c21322587ff6e",
strip_prefix = "slinky-e9c16e794b1a0a5f7bcc86565108a325f98c1422",
urls = tf_mirror_urls("https://github.com/dsharlet/slinky/archive/e9c16e794b1a0a5f7bcc86565108a325f98c1422.zip"),
sha256 = "e150493794cebe3407523bad5fb63e844d9c4f0313dd4dfb49ebcad29d6172de",
strip_prefix = "slinky-8b06c0f25578c34b163f430b92f7ce923ed96ff4",
urls = tf_mirror_urls("https://github.com/dsharlet/slinky/archive/8b06c0f25578c34b163f430b92f7ce923ed96ff4.zip"),
)

View File

@ -6,8 +6,8 @@ def repo():
# LINT.IfChange
tf_http_archive(
name = "XNNPACK",
sha256 = "e03c64b59e633944026356524f3862bb7a3809200a76cdd2bfb98758bd0378ee",
strip_prefix = "XNNPACK-2f108e3efda443ac9f233671cfacf2b3183b7e94",
urls = tf_mirror_urls("https://github.com/google/XNNPACK/archive/2f108e3efda443ac9f233671cfacf2b3183b7e94.zip"),
sha256 = "332dcb355b65bd290d275a06506b9eda41d0320e84793230681e1cc74c560685",
strip_prefix = "XNNPACK-43c2b577ce92ddd4cda925c4d060867c12e70de0",
urls = tf_mirror_urls("https://github.com/google/XNNPACK/archive/43c2b577ce92ddd4cda925c4d060867c12e70de0.zip"),
)
# LINT.ThenChange(//tensorflow/lite/tools/cmake/modules/xnnpack.cmake)

View File

@ -159,9 +159,9 @@ def _tf_repositories():
tf_http_archive(
name = "KleidiAI",
sha256 = "42155cfc084bf1f80e9ef486470f949502ea8d1b845b2f1bebd58978a1b540aa",
strip_prefix = "kleidiai-8ca226712975f24f13f71d04cda039a0ee9f9e2f",
urls = tf_mirror_urls("https://github.com/ARM-software/kleidiai/archive/8ca226712975f24f13f71d04cda039a0ee9f9e2f.zip"),
sha256 = "ecd433a4f7446f7f02a04e458989de8253f19187aa85e3b81b19e0b60f0bf859",
strip_prefix = "kleidiai-d7770c89632329a9914ef1a90289917597639cbe",
urls = tf_mirror_urls("https://github.com/ARM-software/kleidiai/archive/d7770c89632329a9914ef1a90289917597639cbe.zip"),
)
tf_http_archive(