Replace calls to `third_party_http_archive` with calls to `tf_http_archive` alias. Disable 'mirror.tensorflow.org' check. A number of users don't seem to follow the requirements, which were not checked correctly before. This wasn't discovered by presubmits because the check is in the repo rule, which only triggers if the repo is actually used. PiperOrigin-RevId: 359355039 Change-Id: Ieddab6fd91b96e6e22afccdad21c8fa30b795ff4
16 lines
631 B
Python
16 lines
631 B
Python
"""Loads the FP16 library, used by TF Lite."""
|
|
|
|
load("//third_party:repo.bzl", "tf_http_archive")
|
|
|
|
def repo():
|
|
tf_http_archive(
|
|
name = "FP16",
|
|
strip_prefix = "FP16-4dfe081cf6bcd15db339cf2680b9281b8451eeb3",
|
|
sha256 = "d973501a40c55126b31accc2d9f08d931ec3cc190c0430309a5e341d3c0ce32a",
|
|
urls = [
|
|
"https://mirror.tensorflow.org/github.com/Maratyszcza/FP16/archive/4dfe081cf6bcd15db339cf2680b9281b8451eeb3.zip",
|
|
"https://github.com/Maratyszcza/FP16/archive/4dfe081cf6bcd15db339cf2680b9281b8451eeb3.zip",
|
|
],
|
|
build_file = "//third_party/FP16:BUILD.bazel",
|
|
)
|