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
17 lines
430 B
Python
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"],
|
|
)
|