Bump XLA version and import llvm, stablehlo, triton, and zig‑protobuf modules in workspace BUILD files.
This commit is contained in:
parent
cbe6e730bd
commit
7df89301dc
49
MODULE.bazel
49
MODULE.bazel
@ -5,12 +5,11 @@ module(
|
||||
new_git_repository = use_repo_rule("@bazel_tools//tools/build_defs/repo:git.bzl", "new_git_repository")
|
||||
|
||||
bazel_dep(name = "abseil-cpp", version = "20240722.0.bcr.2")
|
||||
bazel_dep(name = "aspect_bazel_lib", version = "2.11.0")
|
||||
bazel_dep(name = "aspect_bazel_lib", version = "2.14.0")
|
||||
bazel_dep(name = "aspect_rules_py", version = "1.3.1")
|
||||
bazel_dep(name = "bazel_skylib", version = "1.7.1")
|
||||
bazel_dep(name = "hermetic_cc_toolchain", version = "3.1.1")
|
||||
bazel_dep(name = "hermetic_cc_toolchain", version = "3.2.0")
|
||||
bazel_dep(name = "libxev", version = "20250313.0-5773f46")
|
||||
bazel_dep(name = "llvm-raw", version = "20250217.0-0e779ad")
|
||||
bazel_dep(name = "patchelf", version = "0.18.0")
|
||||
bazel_dep(name = "pcre2", version = "10.43")
|
||||
bazel_dep(name = "platforms", version = "0.0.11")
|
||||
@ -23,14 +22,13 @@ bazel_dep(name = "rules_rust", version = "0.57.1")
|
||||
bazel_dep(name = "rules_uv", version = "0.53.0")
|
||||
bazel_dep(name = "rules_zig", version = "20250314.0-b9739c6")
|
||||
bazel_dep(name = "sentencepiece", version = "20240618.0-d7ace0a")
|
||||
bazel_dep(name = "stablehlo", version = "20250217.0-4598975")
|
||||
bazel_dep(name = "toolchains_protoc", version = "0.3.7")
|
||||
bazel_dep(name = "with_cfg.bzl", version = "0.8.0")
|
||||
bazel_dep(name = "xla", version = "20250204.1-6789523")
|
||||
bazel_dep(name = "zig-protobuf", version = "20250213.0-5304067")
|
||||
bazel_dep(name = "with_cfg.bzl", version = "0.9.1")
|
||||
bazel_dep(name = "xla", version = "20250317.0-71c67e2")
|
||||
bazel_dep(name = "zig-protobuf", version = "20250318.0-930153e")
|
||||
bazel_dep(name = "zig-yaml", version = "20240903.0-83d5fdf")
|
||||
|
||||
bazel_dep(name = "buildifier_prebuilt", version = "7.3.1", dev_dependency = True)
|
||||
bazel_dep(name = "buildifier_prebuilt", version = "8.0.1", dev_dependency = True)
|
||||
|
||||
# Optional: choose a version of protoc rather than the latest.
|
||||
protoc = use_extension("@toolchains_protoc//protoc:extensions.bzl", "protoc")
|
||||
@ -93,13 +91,12 @@ cpu = use_extension("//runtimes/cpu:cpu.bzl", "cpu_pjrt_plugin")
|
||||
use_repo(cpu, "libpjrt_cpu_darwin_arm64", "libpjrt_cpu_darwin_amd64", "libpjrt_cpu_linux_amd64")
|
||||
|
||||
cuda = use_extension("//runtimes/cuda:cuda.bzl", "cuda_packages")
|
||||
use_repo(cuda, "libpjrt_cuda")
|
||||
inject_repo(cuda, "zlib1g")
|
||||
use_repo(cuda, "libpjrt_cuda")
|
||||
|
||||
rocm = use_extension("//runtimes/rocm:rocm.bzl", "rocm_packages")
|
||||
use_repo(rocm, "hipblaslt", "libpjrt_rocm", "rocblas")
|
||||
|
||||
inject_repo(rocm, "libdrm-amdgpu1", "libdrm2", "libelf1", "libnuma1", "libtinfo6", "libzstd1", "zlib1g")
|
||||
use_repo(rocm, "hipblaslt", "libpjrt_rocm", "rocblas")
|
||||
|
||||
tpu = use_extension("//runtimes/tpu:tpu.bzl", "tpu_packages")
|
||||
use_repo(tpu, "libpjrt_tpu")
|
||||
@ -112,18 +109,25 @@ use_repo(zls, "zls_aarch64-macos", "zls_x86_64-macos", "zls_x86_64-linux")
|
||||
|
||||
register_toolchains("//third_party/zls:all")
|
||||
|
||||
llvm = use_extension("@llvm-raw//utils/bazel:extension.bzl", "llvm")
|
||||
llvm.configure(
|
||||
targets = [
|
||||
"AArch64",
|
||||
"X86",
|
||||
"NVPTX",
|
||||
],
|
||||
)
|
||||
use_repo(llvm, "llvm-project")
|
||||
|
||||
tsl = use_extension("@xla//:tsl.bzl", "tsl")
|
||||
use_repo(tsl, "tsl")
|
||||
use_repo(tsl, "tsl", "python_version_repo")
|
||||
|
||||
xla = use_extension("@xla//:workspace.bzl", "xla_workspace")
|
||||
use_repo(xla, "llvm-raw")
|
||||
llvm_configure = use_repo_rule("@llvm-raw//utils/bazel:configure.bzl", "llvm_configure")
|
||||
llvm_configure(name = "llvm-project")
|
||||
inject_repo(xla, "llvm-project")
|
||||
use_repo(
|
||||
xla,
|
||||
"com_github_grpc_grpc",
|
||||
"local_config_cuda",
|
||||
"local_config_remote_execution",
|
||||
"local_config_rocm",
|
||||
"local_config_tensorrt",
|
||||
"pybind11_bazel",
|
||||
"stablehlo",
|
||||
"triton",
|
||||
)
|
||||
|
||||
apt = use_extension("@rules_distroless//apt:extensions.bzl", "apt")
|
||||
apt.install(
|
||||
@ -163,6 +167,7 @@ crate.from_cargo(
|
||||
use_repo(crate, "crates")
|
||||
|
||||
non_module_deps = use_extension("//:third_party/non_module_deps.bzl", "non_module_deps")
|
||||
inject_repo(non_module_deps, "python_version_repo", "xla", "tsl")
|
||||
use_repo(non_module_deps, "com_google_sentencepiece", "org_swig_swig")
|
||||
|
||||
apt.install(
|
||||
|
||||
@ -15,7 +15,7 @@
|
||||
"https://bazel-registry.zml.ai/modules/apple_support/1.15.1/MODULE.bazel": "not found",
|
||||
"https://bazel-registry.zml.ai/modules/apple_support/1.17.1/MODULE.bazel": "not found",
|
||||
"https://bazel-registry.zml.ai/modules/aspect_bazel_lib/2.10.0/MODULE.bazel": "not found",
|
||||
"https://bazel-registry.zml.ai/modules/aspect_bazel_lib/2.11.0/MODULE.bazel": "not found",
|
||||
"https://bazel-registry.zml.ai/modules/aspect_bazel_lib/2.14.0/MODULE.bazel": "not found",
|
||||
"https://bazel-registry.zml.ai/modules/aspect_bazel_lib/2.8.1/MODULE.bazel": "not found",
|
||||
"https://bazel-registry.zml.ai/modules/aspect_bazel_lib/2.9.4/MODULE.bazel": "not found",
|
||||
"https://bazel-registry.zml.ai/modules/aspect_rules_py/1.3.1/MODULE.bazel": "not found",
|
||||
@ -28,7 +28,7 @@
|
||||
"https://bazel-registry.zml.ai/modules/bazel_features/1.19.0/MODULE.bazel": "not found",
|
||||
"https://bazel-registry.zml.ai/modules/bazel_features/1.20.0/MODULE.bazel": "not found",
|
||||
"https://bazel-registry.zml.ai/modules/bazel_features/1.21.0/MODULE.bazel": "not found",
|
||||
"https://bazel-registry.zml.ai/modules/bazel_features/1.22.0/MODULE.bazel": "not found",
|
||||
"https://bazel-registry.zml.ai/modules/bazel_features/1.24.0/MODULE.bazel": "not found",
|
||||
"https://bazel-registry.zml.ai/modules/bazel_features/1.3.0/MODULE.bazel": "not found",
|
||||
"https://bazel-registry.zml.ai/modules/bazel_features/1.4.1/MODULE.bazel": "not found",
|
||||
"https://bazel-registry.zml.ai/modules/bazel_features/1.9.0/MODULE.bazel": "not found",
|
||||
@ -46,13 +46,14 @@
|
||||
"https://bazel-registry.zml.ai/modules/bazel_skylib/1.7.1/MODULE.bazel": "not found",
|
||||
"https://bazel-registry.zml.ai/modules/buildifier_prebuilt/6.1.2/MODULE.bazel": "not found",
|
||||
"https://bazel-registry.zml.ai/modules/buildifier_prebuilt/7.3.1/MODULE.bazel": "not found",
|
||||
"https://bazel-registry.zml.ai/modules/buildifier_prebuilt/8.0.1/MODULE.bazel": "not found",
|
||||
"https://bazel-registry.zml.ai/modules/buildozer/7.1.2/MODULE.bazel": "not found",
|
||||
"https://bazel-registry.zml.ai/modules/google_benchmark/1.8.2/MODULE.bazel": "not found",
|
||||
"https://bazel-registry.zml.ai/modules/googletest/1.11.0/MODULE.bazel": "not found",
|
||||
"https://bazel-registry.zml.ai/modules/googletest/1.14.0.bcr.1/MODULE.bazel": "not found",
|
||||
"https://bazel-registry.zml.ai/modules/googletest/1.14.0/MODULE.bazel": "not found",
|
||||
"https://bazel-registry.zml.ai/modules/googletest/1.15.2/MODULE.bazel": "not found",
|
||||
"https://bazel-registry.zml.ai/modules/hermetic_cc_toolchain/3.1.1/MODULE.bazel": "not found",
|
||||
"https://bazel-registry.zml.ai/modules/hermetic_cc_toolchain/3.2.0/MODULE.bazel": "not found",
|
||||
"https://bazel-registry.zml.ai/modules/jsoncpp/1.9.5/MODULE.bazel": "not found",
|
||||
"https://bazel-registry.zml.ai/modules/libpfm/4.11.0/MODULE.bazel": "not found",
|
||||
"https://bazel-registry.zml.ai/modules/nlohmann_json/3.6.1/MODULE.bazel": "not found",
|
||||
@ -161,12 +162,11 @@
|
||||
"https://bazel-registry.zml.ai/modules/toolchains_protoc/0.3.7/MODULE.bazel": "not found",
|
||||
"https://bazel-registry.zml.ai/modules/upb/0.0.0-20220923-a547704/MODULE.bazel": "not found",
|
||||
"https://bazel-registry.zml.ai/modules/upb/0.0.0-20230516-61a97ef/MODULE.bazel": "not found",
|
||||
"https://bazel-registry.zml.ai/modules/with_cfg.bzl/0.8.0/MODULE.bazel": "not found",
|
||||
"https://bazel-registry.zml.ai/modules/with_cfg.bzl/0.9.1/MODULE.bazel": "not found",
|
||||
"https://bazel-registry.zml.ai/modules/zlib/1.2.11/MODULE.bazel": "not found",
|
||||
"https://bazel-registry.zml.ai/modules/zlib/1.2.13/MODULE.bazel": "not found",
|
||||
"https://bazel-registry.zml.ai/modules/zlib/1.3.1.bcr.3/MODULE.bazel": "not found",
|
||||
"https://bazel-registry.zml.ai/modules/zlib/1.3.1/MODULE.bazel": "not found",
|
||||
"https://bazel-registry.zml.ai/modules/zstd/1.5.6/MODULE.bazel": "not found",
|
||||
"https://bcr.bazel.build/bazel_registry.json": "8a28e4aff06ee60aed2a8c281907fb8bcbf3b753c91fb5a5c57da3215d5b3497",
|
||||
"https://bcr.bazel.build/modules/abseil-cpp/20210324.2/MODULE.bazel": "7cd0312e064fde87c8d1cd79ba06c876bd23630c83466e9500321be55c96ace2",
|
||||
"https://bcr.bazel.build/modules/abseil-cpp/20211102.0/MODULE.bazel": "70390338f7a5106231d20620712f7cccb659cd0e9d073d1991c038eb9fc57589",
|
||||
@ -184,8 +184,8 @@
|
||||
"https://bcr.bazel.build/modules/apple_support/1.17.1/MODULE.bazel": "655c922ab1209978a94ef6ca7d9d43e940cd97d9c172fb55f94d91ac53f8610b",
|
||||
"https://bcr.bazel.build/modules/apple_support/1.17.1/source.json": "6b2b8c74d14e8d485528a938e44bdb72a5ba17632b9e14ef6e68a5ee96c8347f",
|
||||
"https://bcr.bazel.build/modules/aspect_bazel_lib/2.10.0/MODULE.bazel": "ae12288421b12faeb09bc4cfb3c05945ce66df5c55fca8a2f2f66ae9f21c7acb",
|
||||
"https://bcr.bazel.build/modules/aspect_bazel_lib/2.11.0/MODULE.bazel": "cb1ba9f9999ed0bc08600c221f532c1ddd8d217686b32ba7d45b0713b5131452",
|
||||
"https://bcr.bazel.build/modules/aspect_bazel_lib/2.11.0/source.json": "92494d5aa43b96665397dd13ee16023097470fa85e276b93674d62a244de47ee",
|
||||
"https://bcr.bazel.build/modules/aspect_bazel_lib/2.14.0/MODULE.bazel": "2b31ffcc9bdc8295b2167e07a757dbbc9ac8906e7028e5170a3708cecaac119f",
|
||||
"https://bcr.bazel.build/modules/aspect_bazel_lib/2.14.0/source.json": "0cf1826853b0bef8b5cd19c0610d717500f5521aa2b38b72b2ec302ac5e7526c",
|
||||
"https://bcr.bazel.build/modules/aspect_bazel_lib/2.8.1/MODULE.bazel": "812d2dd42f65dca362152101fbec418029cc8fd34cbad1a2fde905383d705838",
|
||||
"https://bcr.bazel.build/modules/aspect_bazel_lib/2.9.4/MODULE.bazel": "ccc41028429f894b02fde7ef67d416cba3ba5084ed9ddb9bb6107aa82d118776",
|
||||
"https://bcr.bazel.build/modules/aspect_rules_py/1.3.1/MODULE.bazel": "decc0b6ab6d6da06ab56efb56501d8936af0b658d02a38bf79b7a07fe0282cbe",
|
||||
@ -199,8 +199,8 @@
|
||||
"https://bcr.bazel.build/modules/bazel_features/1.19.0/MODULE.bazel": "59adcdf28230d220f0067b1f435b8537dd033bfff8db21335ef9217919c7fb58",
|
||||
"https://bcr.bazel.build/modules/bazel_features/1.20.0/MODULE.bazel": "8b85300b9c8594752e0721a37210e34879d23adc219ed9dc8f4104a4a1750920",
|
||||
"https://bcr.bazel.build/modules/bazel_features/1.21.0/MODULE.bazel": "675642261665d8eea09989aa3b8afb5c37627f1be178382c320d1b46afba5e3b",
|
||||
"https://bcr.bazel.build/modules/bazel_features/1.22.0/MODULE.bazel": "5a5571e4155373c0463f568edfbcc1fb81dde7ec9e7d980999f1f03bff8d93cc",
|
||||
"https://bcr.bazel.build/modules/bazel_features/1.22.0/source.json": "c5ff5b7ca29ad2838dadc497c793e327cd903c7d650afa215d0ef98169d04646",
|
||||
"https://bcr.bazel.build/modules/bazel_features/1.24.0/MODULE.bazel": "4796b4c25b47053e9bbffa792b3792d07e228ff66cd0405faef56a978708acd4",
|
||||
"https://bcr.bazel.build/modules/bazel_features/1.24.0/source.json": "aeb7dcafd9cfc342095d315def2f7bcfcd9da0b78572edeceff1d1c12db4e08c",
|
||||
"https://bcr.bazel.build/modules/bazel_features/1.3.0/MODULE.bazel": "cdcafe83ec318cda34e02948e81d790aab8df7a929cec6f6969f13a489ccecd9",
|
||||
"https://bcr.bazel.build/modules/bazel_features/1.4.1/MODULE.bazel": "e45b6bb2350aff3e442ae1111c555e27eac1d915e77775f6fdc4b351b758b5d7",
|
||||
"https://bcr.bazel.build/modules/bazel_features/1.9.0/MODULE.bazel": "885151d58d90d8d9c811eb75e3288c11f850e1d6b481a8c9f766adee4712358b",
|
||||
@ -219,7 +219,8 @@
|
||||
"https://bcr.bazel.build/modules/bazel_skylib/1.7.1/source.json": "f121b43eeefc7c29efbd51b83d08631e2347297c95aac9764a701f2a6a2bb953",
|
||||
"https://bcr.bazel.build/modules/buildifier_prebuilt/6.1.2/MODULE.bazel": "2ef4962c8b0b6d8d21928a89190755619254459bc67f870dc0ccb9ba9952d444",
|
||||
"https://bcr.bazel.build/modules/buildifier_prebuilt/7.3.1/MODULE.bazel": "537faf0ad9f5892910074b8e43b4c91c96f1d5d86b6ed04bdbe40cf68aa48b68",
|
||||
"https://bcr.bazel.build/modules/buildifier_prebuilt/7.3.1/source.json": "55153a5e6ca9c8a7e266c4b46b951e8a010d25ec6062bc35d5d4f89925796bad",
|
||||
"https://bcr.bazel.build/modules/buildifier_prebuilt/8.0.1/MODULE.bazel": "66ea722b98a7ce0b790d913e82163ebe04509073b269539403936d8f65bef027",
|
||||
"https://bcr.bazel.build/modules/buildifier_prebuilt/8.0.1/source.json": "1bebf90699bb94cb232b417a6e20ac8b21ad4ccfbcb506116635825c4c87b10b",
|
||||
"https://bcr.bazel.build/modules/buildozer/7.1.2/MODULE.bazel": "2e8dd40ede9c454042645fd8d8d0cd1527966aa5c919de86661e62953cd73d84",
|
||||
"https://bcr.bazel.build/modules/buildozer/7.1.2/source.json": "c9028a501d2db85793a6996205c8de120944f50a0d570438fcae0457a5f9d1f8",
|
||||
"https://bcr.bazel.build/modules/google_benchmark/1.8.2/MODULE.bazel": "a70cf1bba851000ba93b58ae2f6d76490a9feb74192e57ab8e8ff13c34ec50cb",
|
||||
@ -228,8 +229,8 @@
|
||||
"https://bcr.bazel.build/modules/googletest/1.14.0/MODULE.bazel": "cfbcbf3e6eac06ef9d85900f64424708cc08687d1b527f0ef65aa7517af8118f",
|
||||
"https://bcr.bazel.build/modules/googletest/1.15.2/MODULE.bazel": "6de1edc1d26cafb0ea1a6ab3f4d4192d91a312fd2d360b63adaa213cd00b2108",
|
||||
"https://bcr.bazel.build/modules/googletest/1.15.2/source.json": "dbdda654dcb3a0d7a8bc5d0ac5fc7e150b58c2a986025ae5bc634bb2cb61f470",
|
||||
"https://bcr.bazel.build/modules/hermetic_cc_toolchain/3.1.1/MODULE.bazel": "164331a6e73093376a19eaa1eae45a94aad3245e9e79d8f31237f4a8eb6c1c41",
|
||||
"https://bcr.bazel.build/modules/hermetic_cc_toolchain/3.1.1/source.json": "a2f67694b91ae575e2715fa2c5745c8c9879e7132852ef45c05b4e25a0d3b423",
|
||||
"https://bcr.bazel.build/modules/hermetic_cc_toolchain/3.2.0/MODULE.bazel": "8e7faec81c1f0fb65fe277ecfc75ea3636ce7bf848f88037fedd58e6eeacc28f",
|
||||
"https://bcr.bazel.build/modules/hermetic_cc_toolchain/3.2.0/source.json": "67c2b76edff27c3ec449a935fc9468996d1a730b52a9a6f97c40c8a06d381630",
|
||||
"https://bcr.bazel.build/modules/jsoncpp/1.9.5/MODULE.bazel": "31271aedc59e815656f5736f282bb7509a97c7ecb43e927ac1a37966e0578075",
|
||||
"https://bcr.bazel.build/modules/jsoncpp/1.9.5/source.json": "4108ee5085dd2885a341c7fab149429db457b3169b86eb081fa245eadf69169d",
|
||||
"https://bcr.bazel.build/modules/libpfm/4.11.0/MODULE.bazel": "45061ff025b301940f1e30d2c16bea596c25b176c8b6b3087e92615adbd52902",
|
||||
@ -366,15 +367,13 @@
|
||||
"https://bcr.bazel.build/modules/toolchains_protoc/0.3.7/source.json": "07e0eab9be4aded2a8074504a80c55c5a48e811a9824061642af639baaabf985",
|
||||
"https://bcr.bazel.build/modules/upb/0.0.0-20220923-a547704/MODULE.bazel": "7298990c00040a0e2f121f6c32544bab27d4452f80d9ce51349b1a28f3005c43",
|
||||
"https://bcr.bazel.build/modules/upb/0.0.0-20230516-61a97ef/MODULE.bazel": "c0df5e35ad55e264160417fd0875932ee3c9dda63d9fccace35ac62f45e1b6f9",
|
||||
"https://bcr.bazel.build/modules/with_cfg.bzl/0.8.0/MODULE.bazel": "d836870543677303f1cb6f9649e955c772e9f15311c2926a2468c9a10eb214d9",
|
||||
"https://bcr.bazel.build/modules/with_cfg.bzl/0.8.0/source.json": "702ec8d97078859dbe3a64b29581371e591c8865ed0a462a13639828a9ddec00",
|
||||
"https://bcr.bazel.build/modules/with_cfg.bzl/0.9.1/MODULE.bazel": "5b880a01ab5b3bdb30931075d6b8e58075f999400f7a544632dc7b4a575b3c1e",
|
||||
"https://bcr.bazel.build/modules/with_cfg.bzl/0.9.1/source.json": "c7a183da2500942aeabf32a576ede2c413aa08b6b3bb823a16a623333c061cf9",
|
||||
"https://bcr.bazel.build/modules/zlib/1.2.11/MODULE.bazel": "07b389abc85fdbca459b69e2ec656ae5622873af3f845e1c9d80fe179f3effa0",
|
||||
"https://bcr.bazel.build/modules/zlib/1.2.13/MODULE.bazel": "aa6deb1b83c18ffecd940c4119aff9567cd0a671d7bba756741cb2ef043a29d5",
|
||||
"https://bcr.bazel.build/modules/zlib/1.3.1.bcr.3/MODULE.bazel": "af322bc08976524477c79d1e45e241b6efbeb918c497e8840b8ab116802dda79",
|
||||
"https://bcr.bazel.build/modules/zlib/1.3.1.bcr.3/source.json": "2be409ac3c7601245958cd4fcdff4288be79ed23bd690b4b951f500d54ee6e7d",
|
||||
"https://bcr.bazel.build/modules/zlib/1.3.1/MODULE.bazel": "751c9940dcfe869f5f7274e1295422a34623555916eb98c174c1e945594bf198",
|
||||
"https://bcr.bazel.build/modules/zstd/1.5.6/MODULE.bazel": "471ebe7d3cdd8c6469390fcf623eb4779ff55fbee0a87f1dc57a1def468b96d4",
|
||||
"https://bcr.bazel.build/modules/zstd/1.5.6/source.json": "02010c3333fc89b44fe861db049968decb6e688411f7f9d4f6791d74f9adfb51"
|
||||
"https://bcr.bazel.build/modules/zlib/1.3.1/MODULE.bazel": "751c9940dcfe869f5f7274e1295422a34623555916eb98c174c1e945594bf198"
|
||||
},
|
||||
"selectedYankedVersions": {},
|
||||
"moduleExtensions": {
|
||||
@ -411,7 +410,7 @@
|
||||
},
|
||||
"@@aspect_rules_py+//py:extensions.bzl%py_tools": {
|
||||
"general": {
|
||||
"bzlTransitiveDigest": "FfaHDx4IXPcwedjO3qCHmX7bAs+aNiinDdlSIrQxlDI=",
|
||||
"bzlTransitiveDigest": "5tAPcVaT3x+C32011w3hFEAMhTY59foNaYK5M1XdU+0=",
|
||||
"usagesDigest": "xxbSm/RonJn05aHDQ0bcb4eJJf1C9C/RT0N1fukSxnE=",
|
||||
"recordedFileInputs": {},
|
||||
"recordedDirentsInputs": {},
|
||||
@ -515,8 +514,8 @@
|
||||
},
|
||||
"@@buildifier_prebuilt+//:defs.bzl%buildifier_prebuilt_deps_extension": {
|
||||
"general": {
|
||||
"bzlTransitiveDigest": "KZE4I/C8xG6s/UMpbc11AQBqGwhM3g15djtTmNRKxes=",
|
||||
"usagesDigest": "eWMDBEn8E8CrwAPXrlrjIap2pseSMhxDyDdrntHBOOE=",
|
||||
"bzlTransitiveDigest": "T6C5EH3Odf7R9Z8F8uhfgfRrp+/fEN77i2sHql7GZVQ=",
|
||||
"usagesDigest": "+DCF+pKaoblObvcYmMhzDybVwZu9JpS+TMSEnDEXxbo=",
|
||||
"recordedFileInputs": {},
|
||||
"recordedDirentsInputs": {},
|
||||
"envVariables": {},
|
||||
@ -525,116 +524,116 @@
|
||||
"repoRuleId": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_file",
|
||||
"attributes": {
|
||||
"urls": [
|
||||
"https://github.com/bazelbuild/buildtools/releases/download/v7.3.1/buildifier-darwin-amd64"
|
||||
"https://github.com/bazelbuild/buildtools/releases/download/v8.0.1/buildifier-darwin-amd64"
|
||||
],
|
||||
"downloaded_file_path": "buildifier",
|
||||
"executable": true,
|
||||
"sha256": "375f823103d01620aaec20a0c29c6cbca99f4fd0725ae30b93655c6704f44d71"
|
||||
"sha256": "802b013211dbcf91e3c0658ba33ecb3932ef5a6f6764a0b13efcec4e2df04c83"
|
||||
}
|
||||
},
|
||||
"buildifier_darwin_arm64": {
|
||||
"repoRuleId": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_file",
|
||||
"attributes": {
|
||||
"urls": [
|
||||
"https://github.com/bazelbuild/buildtools/releases/download/v7.3.1/buildifier-darwin-arm64"
|
||||
"https://github.com/bazelbuild/buildtools/releases/download/v8.0.1/buildifier-darwin-arm64"
|
||||
],
|
||||
"downloaded_file_path": "buildifier",
|
||||
"executable": true,
|
||||
"sha256": "5a6afc6ac7a09f5455ba0b89bd99d5ae23b4174dc5dc9d6c0ed5ce8caac3f813"
|
||||
"sha256": "833e2afc331b9ad8f6b038ad3d69ceeaf97651900bf2a3a45f54f42cafe0bfd3"
|
||||
}
|
||||
},
|
||||
"buildifier_linux_amd64": {
|
||||
"repoRuleId": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_file",
|
||||
"attributes": {
|
||||
"urls": [
|
||||
"https://github.com/bazelbuild/buildtools/releases/download/v7.3.1/buildifier-linux-amd64"
|
||||
"https://github.com/bazelbuild/buildtools/releases/download/v8.0.1/buildifier-linux-amd64"
|
||||
],
|
||||
"downloaded_file_path": "buildifier",
|
||||
"executable": true,
|
||||
"sha256": "5474cc5128a74e806783d54081f581662c4be8ae65022f557e9281ed5dc88009"
|
||||
"sha256": "1976053ed4decd6dd93170885b4387eddc76ec70dc2697b2e91a9af83269418a"
|
||||
}
|
||||
},
|
||||
"buildifier_linux_arm64": {
|
||||
"repoRuleId": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_file",
|
||||
"attributes": {
|
||||
"urls": [
|
||||
"https://github.com/bazelbuild/buildtools/releases/download/v7.3.1/buildifier-linux-arm64"
|
||||
"https://github.com/bazelbuild/buildtools/releases/download/v8.0.1/buildifier-linux-arm64"
|
||||
],
|
||||
"downloaded_file_path": "buildifier",
|
||||
"executable": true,
|
||||
"sha256": "0bf86c4bfffaf4f08eed77bde5b2082e4ae5039a11e2e8b03984c173c34a561c"
|
||||
"sha256": "93078c57763493bdc2914ed340544500b8f3497341a62e90f00e9e184c4d9c2c"
|
||||
}
|
||||
},
|
||||
"buildifier_windows_amd64": {
|
||||
"repoRuleId": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_file",
|
||||
"attributes": {
|
||||
"urls": [
|
||||
"https://github.com/bazelbuild/buildtools/releases/download/v7.3.1/buildifier-windows-amd64.exe"
|
||||
"https://github.com/bazelbuild/buildtools/releases/download/v8.0.1/buildifier-windows-amd64.exe"
|
||||
],
|
||||
"downloaded_file_path": "buildifier.exe",
|
||||
"executable": true,
|
||||
"sha256": "370cd576075ad29930a82f5de132f1a1de4084c784a82514bd4da80c85acf4a8"
|
||||
"sha256": "6edc9247e6d42d27fb67b9509bb795d159a12468faa89e9f290dcadc26571c31"
|
||||
}
|
||||
},
|
||||
"buildozer_darwin_amd64": {
|
||||
"repoRuleId": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_file",
|
||||
"attributes": {
|
||||
"urls": [
|
||||
"https://github.com/bazelbuild/buildtools/releases/download/v7.3.1/buildozer-darwin-amd64"
|
||||
"https://github.com/bazelbuild/buildtools/releases/download/v8.0.1/buildozer-darwin-amd64"
|
||||
],
|
||||
"downloaded_file_path": "buildozer",
|
||||
"executable": true,
|
||||
"sha256": "854c9583efc166602276802658cef3f224d60898cfaa60630b33d328db3b0de2"
|
||||
"sha256": "799be47db682fb06bfc677438d0c910032dda783606b1eec77669f2c1a17c65a"
|
||||
}
|
||||
},
|
||||
"buildozer_darwin_arm64": {
|
||||
"repoRuleId": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_file",
|
||||
"attributes": {
|
||||
"urls": [
|
||||
"https://github.com/bazelbuild/buildtools/releases/download/v7.3.1/buildozer-darwin-arm64"
|
||||
"https://github.com/bazelbuild/buildtools/releases/download/v8.0.1/buildozer-darwin-arm64"
|
||||
],
|
||||
"downloaded_file_path": "buildozer",
|
||||
"executable": true,
|
||||
"sha256": "31b1bfe20d7d5444be217af78f94c5c43799cdf847c6ce69794b7bf3319c5364"
|
||||
"sha256": "118f2ff581c49e03aeb77e34fddebab10923b93e381185e43e0c1835ba189cd9"
|
||||
}
|
||||
},
|
||||
"buildozer_linux_amd64": {
|
||||
"repoRuleId": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_file",
|
||||
"attributes": {
|
||||
"urls": [
|
||||
"https://github.com/bazelbuild/buildtools/releases/download/v7.3.1/buildozer-linux-amd64"
|
||||
"https://github.com/bazelbuild/buildtools/releases/download/v8.0.1/buildozer-linux-amd64"
|
||||
],
|
||||
"downloaded_file_path": "buildozer",
|
||||
"executable": true,
|
||||
"sha256": "3305e287b3fcc68b9a35fd8515ee617452cd4e018f9e6886b6c7cdbcba8710d4"
|
||||
"sha256": "4f5a91d4f7fb61ff4d39cdedb7dcf93bb17f3b7737b07175ad4456dc6bdafac1"
|
||||
}
|
||||
},
|
||||
"buildozer_linux_arm64": {
|
||||
"repoRuleId": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_file",
|
||||
"attributes": {
|
||||
"urls": [
|
||||
"https://github.com/bazelbuild/buildtools/releases/download/v7.3.1/buildozer-linux-arm64"
|
||||
"https://github.com/bazelbuild/buildtools/releases/download/v8.0.1/buildozer-linux-arm64"
|
||||
],
|
||||
"downloaded_file_path": "buildozer",
|
||||
"executable": true,
|
||||
"sha256": "0b5a2a717ac4fc911e1fec8d92af71dbb4fe95b10e5213da0cc3d56cea64a328"
|
||||
"sha256": "a7eec1ddcf5075ef3b869f1bf476fce174f0226a35f7e20734caa5a55b10ce26"
|
||||
}
|
||||
},
|
||||
"buildozer_windows_amd64": {
|
||||
"repoRuleId": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_file",
|
||||
"attributes": {
|
||||
"urls": [
|
||||
"https://github.com/bazelbuild/buildtools/releases/download/v7.3.1/buildozer-windows-amd64.exe"
|
||||
"https://github.com/bazelbuild/buildtools/releases/download/v8.0.1/buildozer-windows-amd64.exe"
|
||||
],
|
||||
"downloaded_file_path": "buildozer.exe",
|
||||
"executable": true,
|
||||
"sha256": "58d41ce53257c5594c9bc86d769f580909269f68de114297f46284fbb9023dcf"
|
||||
"sha256": "3b51ae3dd0221eb9d43614206f0886ea36d78e6bb4f8dea69f7bc4cc285d1f15"
|
||||
}
|
||||
},
|
||||
"buildifier_prebuilt_toolchains": {
|
||||
"repoRuleId": "@@buildifier_prebuilt+//:defs.bzl%_buildifier_toolchain_setup",
|
||||
"attributes": {
|
||||
"assets_json": "[{\"arch\":\"amd64\",\"name\":\"buildifier\",\"platform\":\"darwin\",\"sha256\":\"375f823103d01620aaec20a0c29c6cbca99f4fd0725ae30b93655c6704f44d71\",\"version\":\"v7.3.1\"},{\"arch\":\"arm64\",\"name\":\"buildifier\",\"platform\":\"darwin\",\"sha256\":\"5a6afc6ac7a09f5455ba0b89bd99d5ae23b4174dc5dc9d6c0ed5ce8caac3f813\",\"version\":\"v7.3.1\"},{\"arch\":\"amd64\",\"name\":\"buildifier\",\"platform\":\"linux\",\"sha256\":\"5474cc5128a74e806783d54081f581662c4be8ae65022f557e9281ed5dc88009\",\"version\":\"v7.3.1\"},{\"arch\":\"arm64\",\"name\":\"buildifier\",\"platform\":\"linux\",\"sha256\":\"0bf86c4bfffaf4f08eed77bde5b2082e4ae5039a11e2e8b03984c173c34a561c\",\"version\":\"v7.3.1\"},{\"arch\":\"amd64\",\"name\":\"buildifier\",\"platform\":\"windows\",\"sha256\":\"370cd576075ad29930a82f5de132f1a1de4084c784a82514bd4da80c85acf4a8\",\"version\":\"v7.3.1\"},{\"arch\":\"amd64\",\"name\":\"buildozer\",\"platform\":\"darwin\",\"sha256\":\"854c9583efc166602276802658cef3f224d60898cfaa60630b33d328db3b0de2\",\"version\":\"v7.3.1\"},{\"arch\":\"arm64\",\"name\":\"buildozer\",\"platform\":\"darwin\",\"sha256\":\"31b1bfe20d7d5444be217af78f94c5c43799cdf847c6ce69794b7bf3319c5364\",\"version\":\"v7.3.1\"},{\"arch\":\"amd64\",\"name\":\"buildozer\",\"platform\":\"linux\",\"sha256\":\"3305e287b3fcc68b9a35fd8515ee617452cd4e018f9e6886b6c7cdbcba8710d4\",\"version\":\"v7.3.1\"},{\"arch\":\"arm64\",\"name\":\"buildozer\",\"platform\":\"linux\",\"sha256\":\"0b5a2a717ac4fc911e1fec8d92af71dbb4fe95b10e5213da0cc3d56cea64a328\",\"version\":\"v7.3.1\"},{\"arch\":\"amd64\",\"name\":\"buildozer\",\"platform\":\"windows\",\"sha256\":\"58d41ce53257c5594c9bc86d769f580909269f68de114297f46284fbb9023dcf\",\"version\":\"v7.3.1\"}]"
|
||||
"assets_json": "[{\"arch\":\"amd64\",\"name\":\"buildifier\",\"platform\":\"darwin\",\"sha256\":\"802b013211dbcf91e3c0658ba33ecb3932ef5a6f6764a0b13efcec4e2df04c83\",\"version\":\"v8.0.1\"},{\"arch\":\"arm64\",\"name\":\"buildifier\",\"platform\":\"darwin\",\"sha256\":\"833e2afc331b9ad8f6b038ad3d69ceeaf97651900bf2a3a45f54f42cafe0bfd3\",\"version\":\"v8.0.1\"},{\"arch\":\"amd64\",\"name\":\"buildifier\",\"platform\":\"linux\",\"sha256\":\"1976053ed4decd6dd93170885b4387eddc76ec70dc2697b2e91a9af83269418a\",\"version\":\"v8.0.1\"},{\"arch\":\"arm64\",\"name\":\"buildifier\",\"platform\":\"linux\",\"sha256\":\"93078c57763493bdc2914ed340544500b8f3497341a62e90f00e9e184c4d9c2c\",\"version\":\"v8.0.1\"},{\"arch\":\"amd64\",\"name\":\"buildifier\",\"platform\":\"windows\",\"sha256\":\"6edc9247e6d42d27fb67b9509bb795d159a12468faa89e9f290dcadc26571c31\",\"version\":\"v8.0.1\"},{\"arch\":\"amd64\",\"name\":\"buildozer\",\"platform\":\"darwin\",\"sha256\":\"799be47db682fb06bfc677438d0c910032dda783606b1eec77669f2c1a17c65a\",\"version\":\"v8.0.1\"},{\"arch\":\"arm64\",\"name\":\"buildozer\",\"platform\":\"darwin\",\"sha256\":\"118f2ff581c49e03aeb77e34fddebab10923b93e381185e43e0c1835ba189cd9\",\"version\":\"v8.0.1\"},{\"arch\":\"amd64\",\"name\":\"buildozer\",\"platform\":\"linux\",\"sha256\":\"4f5a91d4f7fb61ff4d39cdedb7dcf93bb17f3b7737b07175ad4456dc6bdafac1\",\"version\":\"v8.0.1\"},{\"arch\":\"arm64\",\"name\":\"buildozer\",\"platform\":\"linux\",\"sha256\":\"a7eec1ddcf5075ef3b869f1bf476fce174f0226a35f7e20734caa5a55b10ce26\",\"version\":\"v8.0.1\"},{\"arch\":\"amd64\",\"name\":\"buildozer\",\"platform\":\"windows\",\"sha256\":\"3b51ae3dd0221eb9d43614206f0886ea36d78e6bb4f8dea69f7bc4cc285d1f15\",\"version\":\"v8.0.1\"}]"
|
||||
}
|
||||
}
|
||||
},
|
||||
@ -652,54 +651,6 @@
|
||||
]
|
||||
}
|
||||
},
|
||||
"@@hermetic_cc_toolchain+//toolchain:ext.bzl%toolchains": {
|
||||
"general": {
|
||||
"bzlTransitiveDigest": "glk5MUxP1BHhZfCA8hsolC390ceW5a1oaIWPu9WdY6g=",
|
||||
"usagesDigest": "8jd0f+zG7Z13DvDWj1187cUd51EKMQWx8bhr5JZwfM4=",
|
||||
"recordedFileInputs": {},
|
||||
"recordedDirentsInputs": {},
|
||||
"envVariables": {},
|
||||
"generatedRepoSpecs": {
|
||||
"zig_sdk": {
|
||||
"repoRuleId": "@@hermetic_cc_toolchain+//toolchain:defs.bzl%zig_repository",
|
||||
"attributes": {
|
||||
"version": "0.12.0",
|
||||
"url_formats": [
|
||||
"https://mirror.bazel.build/ziglang.org/download/{version}/zig-{host_platform}-{version}.{_ext}",
|
||||
"https://ziglang.org/download/{version}/zig-{host_platform}-{version}.{_ext}"
|
||||
],
|
||||
"host_platform_sha256": {
|
||||
"linux-aarch64": "754f1029484079b7e0ca3b913a0a2f2a6afd5a28990cb224fe8845e72f09de63",
|
||||
"linux-x86_64": "c7ae866b8a76a568e2d5cfd31fe89cdb629bdd161fdd5018b29a4a0a17045cad",
|
||||
"macos-aarch64": "294e224c14fd0822cfb15a35cf39aa14bd9967867999bf8bdfe3db7ddec2a27f",
|
||||
"macos-x86_64": "4d411bf413e7667821324da248e8589278180dbc197f4f282b7dbb599a689311",
|
||||
"windows-aarch64": "04c6b92689241ca7a8a59b5f12d2ca2820c09d5043c3c4808b7e93e41c7bf97b",
|
||||
"windows-x86_64": "2199eb4c2000ddb1fba85ba78f1fcf9c1fb8b3e57658f6a627a8e513131893f5"
|
||||
},
|
||||
"host_platform_ext": {
|
||||
"linux-aarch64": "tar.xz",
|
||||
"linux-x86_64": "tar.xz",
|
||||
"macos-aarch64": "tar.xz",
|
||||
"macos-x86_64": "tar.xz",
|
||||
"windows-x86_64": "zip"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"recordedRepoMappingEntries": [
|
||||
[
|
||||
"hermetic_cc_toolchain+",
|
||||
"bazel_tools",
|
||||
"bazel_tools"
|
||||
],
|
||||
[
|
||||
"hermetic_cc_toolchain+",
|
||||
"hermetic_cc_toolchain",
|
||||
"hermetic_cc_toolchain+"
|
||||
]
|
||||
]
|
||||
}
|
||||
},
|
||||
"@@rules_kotlin+//src/main/starlark/core/repositories:bzlmod_setup.bzl%rules_kotlin_extensions": {
|
||||
"general": {
|
||||
"bzlTransitiveDigest": "fmfKdvTpZCJJntCdqlB6bYFsD3ax+7qZpeR0cGMDe8A=",
|
||||
@ -826,7 +777,7 @@
|
||||
},
|
||||
"@@rules_rust+//crate_universe:extensions.bzl%crate": {
|
||||
"general": {
|
||||
"bzlTransitiveDigest": "yauXEeldGkvrcDghpR/+V5OqtFsV9sNlZyfylzCKer0=",
|
||||
"bzlTransitiveDigest": "44uznjgbAHlcMMWZ+dbcY2+c6APQe9Gy7EKe1Y0/l0U=",
|
||||
"usagesDigest": "mup6mgSFatk34Q0znMZPpIEOFZyk9v3xf6jRIXEFTxc=",
|
||||
"recordedFileInputs": {
|
||||
"@@//zml/tokenizer/hftokenizers/Cargo.toml": "b0b28872bb74e13aec7ef0ef8dfd5ec99a8573bc12085c0f36711f2a87912061"
|
||||
|
||||
@ -38,7 +38,6 @@ def zig_proto_library_aspect_impl(target, ctx):
|
||||
pb_zig_name = proto_src.basename[:-len(".proto")] + ".pb.zig"
|
||||
zig_src = ctx.actions.declare_file(pb_zig_name, sibling = proto_src)
|
||||
|
||||
ctx.actions.run
|
||||
proto_common.compile(
|
||||
ctx.actions,
|
||||
proto_info = proto_info,
|
||||
|
||||
37
third_party/modules/xla/20250317.0-71c67e2/MODULE.bazel
vendored
Normal file
37
third_party/modules/xla/20250317.0-71c67e2/MODULE.bazel
vendored
Normal file
@ -0,0 +1,37 @@
|
||||
module(
|
||||
name = "xla",
|
||||
version = "20250317.0-71c67e2",
|
||||
compatibility_level = 1,
|
||||
)
|
||||
|
||||
bazel_dep(name = "platforms", version = "0.0.8")
|
||||
bazel_dep(name = "bazel_skylib", version = "1.5.0")
|
||||
bazel_dep(name = "rules_cc", version = "0.0.17")
|
||||
bazel_dep(name = "rules_apple", version = "3.17.0", repo_name = "build_bazel_rules_apple")
|
||||
bazel_dep(name = "abseil-cpp", version = "20240116.0", repo_name = "com_google_absl")
|
||||
bazel_dep(name = "rules_python", version = "0.29.0")
|
||||
bazel_dep(name = "rules_proto", version = "6.0.0-rc1")
|
||||
bazel_dep(name = "rules_java", version = "7.3.2")
|
||||
bazel_dep(name = "rules_pkg", version = "0.9.1")
|
||||
bazel_dep(name = "zlib", version = "1.2.13")
|
||||
bazel_dep(name = "re2", version = "2024-07-02.bcr.1", repo_name = "com_googlesource_code_re2")
|
||||
bazel_dep(name = "rules_license", version = "0.0.8")
|
||||
|
||||
tsl = use_extension("//:tsl.bzl", "tsl")
|
||||
use_repo(tsl, "tsl", "python_version_repo")
|
||||
|
||||
xla_workspace = use_extension("//:workspace.bzl", "xla_workspace")
|
||||
use_repo(
|
||||
xla_workspace,
|
||||
"com_github_grpc_grpc",
|
||||
"com_google_protobuf",
|
||||
"local_config_cuda",
|
||||
"local_config_remote_execution",
|
||||
"local_config_rocm",
|
||||
"local_config_tensorrt",
|
||||
"llvm-raw",
|
||||
"stablehlo",
|
||||
)
|
||||
|
||||
llvm_configure = use_repo_rule("@llvm-raw//utils/bazel:configure.bzl", "llvm_configure")
|
||||
llvm_configure(name = "llvm-project")
|
||||
37
third_party/modules/xla/20250317.0-71c67e2/overlay/MODULE.bazel
vendored
Normal file
37
third_party/modules/xla/20250317.0-71c67e2/overlay/MODULE.bazel
vendored
Normal file
@ -0,0 +1,37 @@
|
||||
module(
|
||||
name = "xla",
|
||||
version = "20250317.0-71c67e2",
|
||||
compatibility_level = 1,
|
||||
)
|
||||
|
||||
bazel_dep(name = "platforms", version = "0.0.8")
|
||||
bazel_dep(name = "bazel_skylib", version = "1.5.0")
|
||||
bazel_dep(name = "rules_cc", version = "0.0.17")
|
||||
bazel_dep(name = "rules_apple", version = "3.17.0", repo_name = "build_bazel_rules_apple")
|
||||
bazel_dep(name = "abseil-cpp", version = "20240116.0", repo_name = "com_google_absl")
|
||||
bazel_dep(name = "rules_python", version = "0.29.0")
|
||||
bazel_dep(name = "rules_proto", version = "6.0.0-rc1")
|
||||
bazel_dep(name = "rules_java", version = "7.3.2")
|
||||
bazel_dep(name = "rules_pkg", version = "0.9.1")
|
||||
bazel_dep(name = "zlib", version = "1.2.13")
|
||||
bazel_dep(name = "re2", version = "2024-07-02.bcr.1", repo_name = "com_googlesource_code_re2")
|
||||
bazel_dep(name = "rules_license", version = "0.0.8")
|
||||
|
||||
tsl = use_extension("//:tsl.bzl", "tsl")
|
||||
use_repo(tsl, "tsl", "python_version_repo")
|
||||
|
||||
xla_workspace = use_extension("//:workspace.bzl", "xla_workspace")
|
||||
use_repo(
|
||||
xla_workspace,
|
||||
"com_github_grpc_grpc",
|
||||
"com_google_protobuf",
|
||||
"local_config_cuda",
|
||||
"local_config_remote_execution",
|
||||
"local_config_rocm",
|
||||
"local_config_tensorrt",
|
||||
"llvm-raw",
|
||||
"stablehlo",
|
||||
)
|
||||
|
||||
llvm_configure = use_repo_rule("@llvm-raw//utils/bazel:configure.bzl", "llvm_configure")
|
||||
llvm_configure(name = "llvm-project")
|
||||
19
third_party/modules/xla/20250317.0-71c67e2/overlay/tsl.bzl
vendored
Normal file
19
third_party/modules/xla/20250317.0-71c67e2/overlay/tsl.bzl
vendored
Normal file
@ -0,0 +1,19 @@
|
||||
load("//third_party:repo.bzl", "tf_vendored")
|
||||
load("//third_party/py:python_init_repositories.bzl", "python_init_repositories")
|
||||
|
||||
def _tsl_impl(mctx):
|
||||
python_init_repositories(
|
||||
requirements = {
|
||||
"3.11": "//:requirements_lock_3_11.txt",
|
||||
},
|
||||
)
|
||||
tf_vendored(name = "tsl", relpath = "third_party/tsl")
|
||||
return mctx.extension_metadata(
|
||||
reproducible = True,
|
||||
root_module_direct_deps = ["tsl"],
|
||||
root_module_direct_dev_deps = [],
|
||||
)
|
||||
|
||||
tsl = module_extension(
|
||||
implementation = _tsl_impl,
|
||||
)
|
||||
60
third_party/modules/xla/20250317.0-71c67e2/overlay/workspace.bzl
vendored
Normal file
60
third_party/modules/xla/20250317.0-71c67e2/overlay/workspace.bzl
vendored
Normal file
@ -0,0 +1,60 @@
|
||||
load("//third_party:repo.bzl", "tf_http_archive", "tf_mirror_urls")
|
||||
load("//third_party/gpus:cuda_configure.bzl", "cuda_configure")
|
||||
load("//third_party/gpus:rocm_configure.bzl", "rocm_configure")
|
||||
load("//third_party/llvm:workspace.bzl", llvm = "repo")
|
||||
load("//third_party/pybind11_bazel:workspace.bzl", pybind11_bazel = "repo")
|
||||
load("//third_party/stablehlo:workspace.bzl", stablehlo = "repo")
|
||||
load("//third_party/tensorrt:tensorrt_configure.bzl", "tensorrt_configure")
|
||||
load("//third_party/triton:workspace.bzl", triton = "repo")
|
||||
load("//tools/toolchains/remote:configure.bzl", "remote_execution_configure")
|
||||
|
||||
def _xla_workspace_impl(mctx):
|
||||
cuda_configure(name = "local_config_cuda")
|
||||
remote_execution_configure(name = "local_config_remote_execution")
|
||||
rocm_configure(name = "local_config_rocm")
|
||||
tensorrt_configure(name = "local_config_tensorrt")
|
||||
pybind11_bazel()
|
||||
triton()
|
||||
llvm("llvm-raw")
|
||||
stablehlo()
|
||||
tf_http_archive(
|
||||
name = "com_github_grpc_grpc",
|
||||
sha256 = "b956598d8cbe168b5ee717b5dafa56563eb5201a947856a6688bbeac9cac4e1f",
|
||||
strip_prefix = "grpc-b54a5b338637f92bfcf4b0bc05e0f57a5fd8fadd",
|
||||
system_build_file = "//third_party/systemlibs:grpc.BUILD",
|
||||
patch_file = [
|
||||
"//third_party/grpc:generate_cc_env_fix.patch",
|
||||
"//third_party/grpc:register_go_toolchain.patch",
|
||||
],
|
||||
system_link_files = {
|
||||
"//third_party/systemlibs:BUILD.bazel": "bazel/BUILD.bazel",
|
||||
"//third_party/systemlibs:grpc.BUILD": "src/compiler/BUILD",
|
||||
"//third_party/systemlibs:grpc.bazel.grpc_deps.bzl": "bazel/grpc_deps.bzl",
|
||||
"//third_party/systemlibs:grpc.bazel.grpc_extra_deps.bzl": "bazel/grpc_extra_deps.bzl",
|
||||
"//third_party/systemlibs:grpc.bazel.cc_grpc_library.bzl": "bazel/cc_grpc_library.bzl",
|
||||
"//third_party/systemlibs:grpc.bazel.generate_cc.bzl": "bazel/generate_cc.bzl",
|
||||
"//third_party/systemlibs:grpc.bazel.protobuf.bzl": "bazel/protobuf.bzl",
|
||||
},
|
||||
urls = tf_mirror_urls("https://github.com/grpc/grpc/archive/b54a5b338637f92bfcf4b0bc05e0f57a5fd8fadd.tar.gz"),
|
||||
)
|
||||
tf_http_archive(
|
||||
name = "com_google_protobuf",
|
||||
patch_file = ["//third_party/protobuf:protobuf.patch"],
|
||||
sha256 = "f66073dee0bc159157b0bd7f502d7d1ee0bc76b3c1eac9836927511bdc4b3fc1",
|
||||
strip_prefix = "protobuf-3.21.9",
|
||||
system_build_file = "//third_party/systemlibs:protobuf.BUILD",
|
||||
system_link_files = {
|
||||
"//third_party/systemlibs:protobuf.bzl": "protobuf.bzl",
|
||||
"//third_party/systemlibs:protobuf_deps.bzl": "protobuf_deps.bzl",
|
||||
},
|
||||
urls = tf_mirror_urls("https://github.com/protocolbuffers/protobuf/archive/v3.21.9.zip"),
|
||||
)
|
||||
return mctx.extension_metadata(
|
||||
reproducible = True,
|
||||
root_module_direct_deps = "all",
|
||||
root_module_direct_dev_deps = [],
|
||||
)
|
||||
|
||||
xla_workspace = module_extension(
|
||||
implementation = _xla_workspace_impl,
|
||||
)
|
||||
41
third_party/modules/xla/20250317.0-71c67e2/patches/0001-bazel-migration-to-bazel-8.1.1.patch
vendored
Normal file
41
third_party/modules/xla/20250317.0-71c67e2/patches/0001-bazel-migration-to-bazel-8.1.1.patch
vendored
Normal file
@ -0,0 +1,41 @@
|
||||
From 6cf475b500521c1b8be06f590fdbc1818f0dc44b Mon Sep 17 00:00:00 2001
|
||||
From: Jean-Baptiste Dalido <jb@zml.ai>
|
||||
Date: Mon, 6 Jan 2025 13:33:13 +0100
|
||||
Subject: [PATCH] bazel: migration to bazel 8.0.1
|
||||
|
||||
---
|
||||
.bazelversion | 2 +-
|
||||
third_party/tsl/third_party/gpus/cuda_configure.bzl | 4 ++--
|
||||
2 files changed, 3 insertions(+), 3 deletions(-)
|
||||
|
||||
diff --git a/.bazelversion b/.bazelversion
|
||||
index f22d756da3..fa5fce04b3 100644
|
||||
--- a/.bazelversion
|
||||
+++ b/.bazelversion
|
||||
@@ -1 +1 @@
|
||||
-7.4.1
|
||||
+8.1.1
|
||||
\ No newline at end of file
|
||||
diff --git a/third_party/gpus/cuda_configure.bzl b/third_party/gpus/cuda_configure.bzl
|
||||
index d62531152d..71d80a5a99 100644
|
||||
--- a/third_party/gpus/cuda_configure.bzl
|
||||
+++ b/third_party/gpus/cuda_configure.bzl
|
||||
@@ -33,14 +33,14 @@ NB: DEPRECATED! Use `hermetic/cuda_configure` rule instead.
|
||||
load(
|
||||
"@bazel_tools//tools/cpp:lib_cc_configure.bzl",
|
||||
"escape_string",
|
||||
- "get_env_var",
|
||||
)
|
||||
load(
|
||||
"@bazel_tools//tools/cpp:windows_cc_configure.bzl",
|
||||
- "find_msvc_tool",
|
||||
"find_vc_path",
|
||||
"setup_vc_env_vars",
|
||||
)
|
||||
+load("@rules_cc//cc/private/toolchain:windows_cc_configure.bzl", "find_msvc_tool")
|
||||
+load("@rules_cc//cc/private/toolchain:lib_cc_configure.bzl", "get_env_var")
|
||||
load("//third_party/clang_toolchain:download_clang.bzl", "download_clang")
|
||||
load(
|
||||
"//third_party/remote_config:common.bzl",
|
||||
--
|
||||
2.39.3 (Apple Git-146)
|
||||
14
third_party/modules/xla/20250317.0-71c67e2/source.json
vendored
Normal file
14
third_party/modules/xla/20250317.0-71c67e2/source.json
vendored
Normal file
@ -0,0 +1,14 @@
|
||||
{
|
||||
"strip_prefix": "xla-71c67e2a4f40267115a0d4ea7c36748bbe7e750e",
|
||||
"url": "https://github.com/openxla/xla/archive/71c67e2a4f40267115a0d4ea7c36748bbe7e750e.tar.gz",
|
||||
"integrity": "sha256-j6D1MC7+WsbZ+Ve3hPmDlCzZX1yV6RIP2BWDgQcbcYc=",
|
||||
"overlay": {
|
||||
"tsl.bzl": "",
|
||||
"workspace.bzl": "",
|
||||
"MODULE.bazel": ""
|
||||
},
|
||||
"patch_strip": 1,
|
||||
"patches": {
|
||||
"0001-bazel-migration-to-bazel-8.1.1.patch": ""
|
||||
}
|
||||
}
|
||||
1
third_party/modules/xla/metadata.json
vendored
1
third_party/modules/xla/metadata.json
vendored
@ -18,6 +18,7 @@
|
||||
"20250122.0-cc075be",
|
||||
"20250123.0-cc075be",
|
||||
"20250204-0-6789523",
|
||||
"20250317.0-71c67e2"
|
||||
],
|
||||
"yanked_versions": {}
|
||||
}
|
||||
|
||||
8
third_party/modules/zig-protobuf/20250318.0-930153e/MODULE.bazel
vendored
Normal file
8
third_party/modules/zig-protobuf/20250318.0-930153e/MODULE.bazel
vendored
Normal file
@ -0,0 +1,8 @@
|
||||
module(
|
||||
name = "zig-protobuf",
|
||||
version = "20250318.0-930153e",
|
||||
compatibility_level = 1,
|
||||
)
|
||||
|
||||
bazel_dep(name = "rules_zig", version = "20240904.0-010da15")
|
||||
bazel_dep(name = "rules_proto", version = "6.0.0-rc1")
|
||||
32
third_party/modules/zig-protobuf/20250318.0-930153e/overlay/BUILD.bazel
vendored
Normal file
32
third_party/modules/zig-protobuf/20250318.0-930153e/overlay/BUILD.bazel
vendored
Normal file
@ -0,0 +1,32 @@
|
||||
load("@rules_proto//proto:defs.bzl", "proto_lang_toolchain")
|
||||
load("@rules_zig//zig:defs.bzl", "BINARY_KIND", "zig_binary", "zig_library")
|
||||
|
||||
zig_library(
|
||||
name = "protobuf",
|
||||
import_name = "protobuf",
|
||||
main = "src/protobuf.zig",
|
||||
visibility = ["//visibility:public"],
|
||||
)
|
||||
|
||||
zig_binary(
|
||||
name = "generator",
|
||||
srcs = [
|
||||
"bootstrapped-generator/FullName.zig",
|
||||
"bootstrapped-generator/google/protobuf/compiler/plugin.pb.zig",
|
||||
"bootstrapped-generator/google/protobuf/descriptor.pb.zig",
|
||||
],
|
||||
kind = BINARY_KIND.exe,
|
||||
main = "bootstrapped-generator/main.zig",
|
||||
visibility = ["//visibility:public"],
|
||||
deps = [":protobuf"],
|
||||
)
|
||||
|
||||
proto_lang_toolchain(
|
||||
name = "zig_toolchain",
|
||||
command_line = "--zig_out=$(OUT)",
|
||||
output_files = "multiple",
|
||||
plugin = ":generator",
|
||||
plugin_format_flag = "--plugin=protoc-gen-zig=%s",
|
||||
runtime = ":protobuf",
|
||||
visibility = ["//visibility:public"],
|
||||
)
|
||||
8
third_party/modules/zig-protobuf/20250318.0-930153e/overlay/MODULE.bazel
vendored
Normal file
8
third_party/modules/zig-protobuf/20250318.0-930153e/overlay/MODULE.bazel
vendored
Normal file
@ -0,0 +1,8 @@
|
||||
module(
|
||||
name = "zig-protobuf",
|
||||
version = "20250318.0-930153e",
|
||||
compatibility_level = 1,
|
||||
)
|
||||
|
||||
bazel_dep(name = "rules_zig", version = "20240904.0-010da15")
|
||||
bazel_dep(name = "rules_proto", version = "6.0.0-rc1")
|
||||
9
third_party/modules/zig-protobuf/20250318.0-930153e/source.json
vendored
Normal file
9
third_party/modules/zig-protobuf/20250318.0-930153e/source.json
vendored
Normal file
@ -0,0 +1,9 @@
|
||||
{
|
||||
"strip_prefix": "zig-protobuf-930153ec955853ff9fcf8a55ba632b2b8051f731",
|
||||
"url": "https://github.com/zml/zig-protobuf/archive/930153ec955853ff9fcf8a55ba632b2b8051f731.tar.gz",
|
||||
"integrity": "sha256-ORRDxK/cLQ2E+c9l2lcj8FgIUHH+uEk/+qWVWuHZMEY=",
|
||||
"overlay": {
|
||||
"MODULE.bazel": "",
|
||||
"BUILD.bazel": ""
|
||||
}
|
||||
}
|
||||
@ -13,6 +13,7 @@
|
||||
"versions": [
|
||||
"20240722.0-c644d11",
|
||||
"20250213.0-5304067",
|
||||
"20250318.0-930153e"
|
||||
],
|
||||
"yanked_versions": {}
|
||||
}
|
||||
|
||||
@ -1,4 +1,5 @@
|
||||
load("@aspect_bazel_lib//lib:tar.bzl", "mtree_spec", "tar")
|
||||
load("@rules_cc//cc:defs.bzl", "cc_library")
|
||||
load("@rules_zig//zig:defs.bzl", "zig_library")
|
||||
load("//bazel:zig.bzl", "zig_cc_test")
|
||||
load("//bazel:zig_proto_library.bzl", "zig_proto_library")
|
||||
|
||||
Loading…
Reference in New Issue
Block a user