Bump the ruy repository reference, getting in particular:
- Use of the cpuinfo thirdparty library to perform CPU feature detection, including detection of dot-product instructions on iOS and detection of cache sizes. Combined with the ARM64 build change below, this means that iPhone11/SE devices now use dot-product instructions. We measured 250 Gop/s on 1 Lightning core in iPhone 11 Pro. - ARM32: @lissyx's fix in google/ruy#69 - ARM64: build the kNeonDotprod path unconditionally (used to be linux-only). - x86-64: enabling AVX512 instructions in the general opensource build. PiperOrigin-RevId: 315467315 Change-Id: I0788ddc68da8d0aa2eee71f820fb5d8c188d35b2
This commit is contained in:
parent
f76e9c2915
commit
c254833717
|
@ -56,8 +56,8 @@ SIFIVE_FE310_LIB_MD5 := "06ee24c4956f8e21670ab3395861fe64"
|
||||||
KISSFFT_URL="https://github.com/mborgerding/kissfft/archive/v130.zip"
|
KISSFFT_URL="https://github.com/mborgerding/kissfft/archive/v130.zip"
|
||||||
KISSFFT_MD5="438ba1fef5783cc5f5f201395cc477ca"
|
KISSFFT_MD5="438ba1fef5783cc5f5f201395cc477ca"
|
||||||
|
|
||||||
RUY_URL="https://github.com/google/ruy/archive/1b313682ef8b8fc8ed08719c610d1c3503b016bf.zip"
|
RUY_URL="https://github.com/google/ruy/archive/c347b02c23cfc459678db6d7c230d76fac00f76d.zip"
|
||||||
RUY_MD5="2d54f058f8f7120dfc1ecee79dbf259e"
|
RUY_MD5="1a0d9c5e5217d6776ea6d9af494da527"
|
||||||
|
|
||||||
CIFAR10_DATASET_URL="https://www.cs.toronto.edu/~kriz/cifar-10-binary.tar.gz"
|
CIFAR10_DATASET_URL="https://www.cs.toronto.edu/~kriz/cifar-10-binary.tar.gz"
|
||||||
CIFAR10_DATASET_MD5="c32a1d4ab5d03f1284b67883e8d87530"
|
CIFAR10_DATASET_MD5="c32a1d4ab5d03f1284b67883e8d87530"
|
||||||
|
|
|
@ -37,8 +37,8 @@ EIGEN_URL="$(grep -o 'https.*gitlab.com/libeigen/eigen/-/archive/.*tar\.gz' "${B
|
||||||
EIGEN_SHA="$(eval echo $(grep '# SHARED_EIGEN_SHA' "${BZL_FILE_PATH}" | grep -o '\".*\"'))"
|
EIGEN_SHA="$(eval echo $(grep '# SHARED_EIGEN_SHA' "${BZL_FILE_PATH}" | grep -o '\".*\"'))"
|
||||||
GEMMLOWP_URL="$(grep -o 'https://storage.googleapis.com/mirror.tensorflow.org/github.com/google/gemmlowp/.*zip' "${BZL_FILE_PATH}" | head -n1)"
|
GEMMLOWP_URL="$(grep -o 'https://storage.googleapis.com/mirror.tensorflow.org/github.com/google/gemmlowp/.*zip' "${BZL_FILE_PATH}" | head -n1)"
|
||||||
GEMMLOWP_SHA="$(eval echo $(grep '# SHARED_GEMMLOWP_SHA' "${BZL_FILE_PATH}" | grep -o '\".*\"'))"
|
GEMMLOWP_SHA="$(eval echo $(grep '# SHARED_GEMMLOWP_SHA' "${BZL_FILE_PATH}" | grep -o '\".*\"'))"
|
||||||
RUY_URL="https://github.com/google/ruy/archive/1b313682ef8b8fc8ed08719c610d1c3503b016bf.zip"
|
RUY_URL="https://github.com/google/ruy/archive/c347b02c23cfc459678db6d7c230d76fac00f76d.zip"
|
||||||
RUY_SHA="b21524de00c63b3d5683b42557f78452e791cf77fddb2e63f9bcba1f7bd99093"
|
RUY_SHA="243a3d0d4283c1f8e774814a4096961288a00a2662e84b3cd564afbf500bb0ad"
|
||||||
GOOGLETEST_URL="https://github.com/google/googletest/archive/release-1.8.0.tar.gz"
|
GOOGLETEST_URL="https://github.com/google/googletest/archive/release-1.8.0.tar.gz"
|
||||||
GOOGLETEST_SHA="58a6f4277ca2bc8565222b3bbd58a177609e9c488e8a72649359ba51450db7d8"
|
GOOGLETEST_SHA="58a6f4277ca2bc8565222b3bbd58a177609e9c488e8a72649359ba51450db7d8"
|
||||||
ABSL_URL="$(grep -o 'https://github.com/abseil/abseil-cpp/.*tar.gz' "${BZL_FILE_PATH}" | head -n1)"
|
ABSL_URL="$(grep -o 'https://github.com/abseil/abseil-cpp/.*tar.gz' "${BZL_FILE_PATH}" | head -n1)"
|
||||||
|
|
|
@ -214,6 +214,8 @@ filegroup(
|
||||||
"@sobol_data//:LICENSE",
|
"@sobol_data//:LICENSE",
|
||||||
"@termcolor_archive//:COPYING.txt",
|
"@termcolor_archive//:COPYING.txt",
|
||||||
"@zlib//:zlib.h",
|
"@zlib//:zlib.h",
|
||||||
|
"@clog//:LICENSE",
|
||||||
|
"@cpuinfo//:LICENSE",
|
||||||
] + select({
|
] + select({
|
||||||
"//tensorflow:android": [],
|
"//tensorflow:android": [],
|
||||||
"//tensorflow:ios": [],
|
"//tensorflow:ios": [],
|
||||||
|
|
|
@ -5,11 +5,11 @@ load("//third_party:repo.bzl", "third_party_http_archive")
|
||||||
def repo():
|
def repo():
|
||||||
third_party_http_archive(
|
third_party_http_archive(
|
||||||
name = "ruy",
|
name = "ruy",
|
||||||
sha256 = "b21524de00c63b3d5683b42557f78452e791cf77fddb2e63f9bcba1f7bd99093",
|
sha256 = "243a3d0d4283c1f8e774814a4096961288a00a2662e84b3cd564afbf500bb0ad",
|
||||||
strip_prefix = "ruy-1b313682ef8b8fc8ed08719c610d1c3503b016bf",
|
strip_prefix = "ruy-c347b02c23cfc459678db6d7c230d76fac00f76d",
|
||||||
urls = [
|
urls = [
|
||||||
"https://storage.googleapis.com/mirror.tensorflow.org/github.com/google/ruy/archive/1b313682ef8b8fc8ed08719c610d1c3503b016bf.zip",
|
"https://storage.googleapis.com/mirror.tensorflow.org/github.com/google/ruy/archive/c347b02c23cfc459678db6d7c230d76fac00f76d.zip",
|
||||||
"https://github.com/google/ruy/archive/1b313682ef8b8fc8ed08719c610d1c3503b016bf.zip",
|
"https://github.com/google/ruy/archive/c347b02c23cfc459678db6d7c230d76fac00f76d.zip",
|
||||||
],
|
],
|
||||||
build_file = "//third_party/ruy:BUILD",
|
build_file = "//third_party/ruy:BUILD",
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue