Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 5 additions & 9 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,21 +23,19 @@ ingress_torch_mlir = [
]
# Additional "targets" which pull in optional dependencies -- use `uv sync --extra TARGET`
ingress_torch_cpu = [
"torch==v2.9.1+cpu",
"torch==v2.12.1+cpu",
"lighthouse[ingress_torch_mlir]"
]
ingress_torch_nvidia = [
"torch==2.9.1", # Nvidia-enabled version of torch
"torch==2.12.1+cu130", # Nvidia-enabled version of torch
"lighthouse[ingress_torch_mlir]"
]
ingress_torch_rocm = [
"torch==2.9.1+rocm6.4", # AMD-enabled version of torch
"pytorch_triton_rocm", # Transitive dependency listed explicitly so that we can state which package repository it is supposed to come from
"torch==2.12.1+rocm7.2", # AMD-enabled version of torch
"lighthouse[ingress_torch_mlir]"
]
ingress_torch_xpu = [
"torch==2.9.1+xpu", # Intel-enabled version of torch
"pytorch_triton_xpu", # Transitive dependency listed explicitly so that we can state which package repository it is supposed to come from
"torch==2.12.1+xpu", # Intel-enabled version of torch
"lighthouse[ingress_torch_mlir]"
]
runtime_mpich = [
Expand All @@ -50,6 +48,7 @@ runtime_impi = [
]

[tool.uv]
index-strategy = "unsafe-best-match"
# Declare that the following "targets" are mutually exclusive of one another
conflicts = [
[
Expand All @@ -64,8 +63,6 @@ conflicts = [
# Bind packages to particular package repositories
mlir_python_bindings = { index = "eudsl" }
torch = { index = "pytorch" }
pytorch_triton_xpu = { index = "pytorch" }
pytorch_triton_rocm = { index = "pytorch" }
torch_mlir = { index = "torch_mlir" }

# The following are the different non-Pypi package repositories we depend on
Expand All @@ -78,7 +75,6 @@ format = "flat"
[[tool.uv.index]]
name = "pytorch"
url = "https://download.pytorch.org/whl"
explicit = true

[[tool.uv.index]]
name = "torch_mlir"
Expand Down
Loading