diff --git a/pyproject.toml b/pyproject.toml index 8f44785..434d779 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -52,9 +52,9 @@ dependencies = [ "setuptools", "SMACT", "sympy>=1.11.1", -"torch==2.4.1", -"torchvision==0.19.1", -"torchaudio==2.4.1", +"torch==2.2.1+cu118", +"torchvision==0.17.1+cu118", +"torchaudio==2.2.1+cu118", "torch_cluster", "torch_geometric>=2.5", "torch_scatter", @@ -67,7 +67,15 @@ dependencies = [ include = ["mattergen*"] [tool.uv.sources] -pyg-lib = { url = "https://data.pyg.org/whl/torch-2.4.0%2Bcpu/pyg_lib-0.4.0%2Bpt24-cp310-cp310-macosx_14_0_universal2.whl" } -torch_cluster = { url = "https://data.pyg.org/whl/torch-2.4.0%2Bcpu/torch_cluster-1.6.3-cp310-cp310-macosx_10_9_universal2.whl" } -torch_sparse = { url = "https://data.pyg.org/whl/torch-2.4.0%2Bcpu/torch_sparse-0.6.18-cp310-cp310-macosx_11_0_universal2.whl" } -torch_scatter = { url = "https://data.pyg.org/whl/torch-2.4.0%2Bcpu/torch_scatter-2.1.2-cp310-cp310-macosx_10_9_universal2.whl" } \ No newline at end of file +torch = { index = "pytorch" } +torchvision = { index = "pytorch" } +torchaudio = { index = "pytorch" } +pyg-lib = { url = "https://data.pyg.org/whl/torch-2.2.0%2Bcu118/pyg_lib-0.4.0%2Bpt22cu118-cp310-cp310-linux_x86_64.whl" } +torch_cluster = { url = "https://data.pyg.org/whl/torch-2.2.0%2Bcu118/torch_cluster-1.6.3%2Bpt22cu118-cp310-cp310-linux_x86_64.whl" } +torch_scatter = { url = "https://data.pyg.org/whl/torch-2.2.0%2Bcu118/torch_scatter-2.1.2%2Bpt22cu118-cp310-cp310-linux_x86_64.whl" } +torch_sparse = { url = "https://data.pyg.org/whl/torch-2.2.0%2Bcu118/torch_sparse-0.6.18%2Bpt22cu118-cp310-cp310-linux_x86_64.whl" } + +[[tool.uv.index]] +name = "pytorch" +url = "https://download.pytorch.org/whl/cu118" +explicit = true