-
Notifications
You must be signed in to change notification settings - Fork 192
Open
Description
I struggled to properly specify torch-scatter (and -cluster) as dependencies with the uv tool.
In particular, your package index uses a non-standard flat layout.
The solution I came up with for the pyproject.toml
file is:
dependencies = [
"torch-cluster",
"torch-scatter",
]
[[tool.uv.index]]
name = "pyg"
url = "https://data.pyg.org/whl/torch-2.7.0+cu126.html"
ignore-error-codes = [403]
format = "flat"
[tool.uv.sources]
torch-scatter = { index = "pyg" }
torch-cluster = { index = "pyg" }
May I suggest you check this and add it to the README to healp other people?
Metadata
Metadata
Assignees
Labels
No labels