Radix/tools/hf/BUILD.bazel
Tarry Singh fe56f03f5d third_party/xla: de-modularize xla
This PR intends to remove XLA as a bzlmod and transfer it as a non
bzlmod dep.

This is because this module will never be upstreamed as is, so keep it
private.

Also, we fetch llvm-raw and stablehlo from it, which is fine.

While there, dummify the various local_config XLA symbols to please the
imports, as we don't use those parts in ZML itself.

Closes
2025-06-23 09:13:43 +00:00

17 lines
430 B
Python

load("@rules_python//python/entry_points:py_console_script_binary.bzl", "py_console_script_binary")
load("@rules_python//python/uv:lock.bzl", uv_lock = "lock")
py_console_script_binary(
name = "hf",
pkg = "@huggingface_hub//huggingface_hub",
tags = ["manual"],
)
uv_lock(
name = "requirements",
srcs = ["pyproject.toml"],
out = "requirements.lock.txt",
args = ["--upgrade"],
tags = ["manual"],
)