Skip to content

Commit b173063

Browse files
[FIX] Add mkl version, limit tensordict to 0.6.2 (#161)
Adds a constraint on the `mkl` and `tensordict` versions to prevent installing incompatible versions of PyTorch, as well as incompatible versions of `tensordict`. We were previously installing the cpu-only version of PyTorch in nighly tests and tensordict 0.7.2, which appears to be incompatible with *some* versions of PyTorch 2.6 (version 0.6.2 works without issue).
1 parent 981fe84 commit b173063

File tree

5 files changed

+8
-6
lines changed

5 files changed

+8
-6
lines changed

dependencies.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ files:
7878
- depends_on_pytorch
7979
- py_version
8080
- test_python_common
81+
- depends_on_mkl
8182
- depends_on_pylibwholegraph
8283
- depends_on_cugraph_dgl
8384
test_cugraph_pyg:
@@ -90,6 +91,7 @@ files:
9091
- depends_on_pytorch
9192
- py_version
9293
- test_python_common
94+
- depends_on_mkl
9395
- depends_on_pylibwholegraph
9496
- depends_on_cugraph_pyg
9597
test_pylibwholegraph:
@@ -436,7 +438,7 @@ dependencies:
436438
- output_types: [conda]
437439
packages:
438440
- dgl>=2.4.0.cu*
439-
- &tensordict tensordict>=0.1.2
441+
- &tensordict tensordict>=0.1.2,<=0.6.2
440442
cugraph_pyg_dev:
441443
common:
442444
- output_types: [conda]
@@ -452,7 +454,7 @@ dependencies:
452454
- output_types: [requirements, pyproject]
453455
packages:
454456
- torch>=2.3
455-
- tensordict
457+
- tensordict>=0.1.2,<=0.6.2
456458
specific:
457459
- output_types: [requirements]
458460
matrices:

python/cugraph-dgl/conda/cugraph_dgl_dev_cuda-118.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,6 @@ dependencies:
1717
- pytest-cov
1818
- pytest-xdist
1919
- pytorch>=2.3,<=2.5.1
20-
- tensordict>=0.1.2
20+
- tensordict>=0.1.2,<=0.6.2
2121
- torchdata
2222
name: cugraph_dgl_dev_cuda-118

python/cugraph-dgl/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ test = [
3636
"pytest-benchmark",
3737
"pytest-cov",
3838
"pytest-xdist",
39-
"tensordict",
39+
"tensordict>=0.1.2,<=0.6.2",
4040
"torch>=2.3",
4141
] # This list was generated by `rapids-dependency-file-generator`. To make changes, edit ../../dependencies.yaml and run `rapids-dependency-file-generator`.
4242

python/cugraph-pyg/conda/cugraph_pyg_dev_cuda-118.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,6 @@ dependencies:
1616
- pytest-xdist
1717
- pytorch>=2.3,<=2.5.1
1818
- pytorch_geometric>=2.5,<2.7
19-
- tensordict>=0.1.2
19+
- tensordict>=0.1.2,<=0.6.2
2020
- torchdata
2121
name: cugraph_pyg_dev_cuda-118

python/cugraph-pyg/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ test = [
4949
"pytest-benchmark",
5050
"pytest-cov",
5151
"pytest-xdist",
52-
"tensordict",
52+
"tensordict>=0.1.2,<=0.6.2",
5353
"torch-geometric>=2.5,<2.7",
5454
"torch>=2.3",
5555
] # This list was generated by `rapids-dependency-file-generator`. To make changes, edit ../../dependencies.yaml and run `rapids-dependency-file-generator`.

0 commit comments

Comments
 (0)