-
Notifications
You must be signed in to change notification settings - Fork 304
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove NumPy <2 pin #4615
Remove NumPy <2 pin #4615
Changes from 5 commits
acafdae
df1f21d
7d6267e
287d629
d54b7d8
3384bc6
37d2ca0
21b689b
d898b84
1d66490
ba6cbab
6fa8d19
0e37bda
a7d9a6b
f74daa3
3fea26d
5e88901
2929e81
16b457d
cecafb4
efdff0a
7926695
a49f912
195c5df
7d7d042
d818cf0
1320573
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,7 +24,6 @@ files: | |
- depends_on_pylibcugraphops | ||
- depends_on_pylibwholegraph | ||
- depends_on_cupy | ||
- depends_on_pytorch | ||
- python_run_cugraph | ||
- python_run_nx_cugraph | ||
- python_run_cugraph_dgl | ||
|
@@ -66,7 +65,6 @@ files: | |
- cuda_version | ||
- depends_on_cudf | ||
- depends_on_pylibwholegraph | ||
- depends_on_pytorch | ||
- py_version | ||
- test_python_common | ||
- test_python_cugraph | ||
|
@@ -202,7 +200,6 @@ files: | |
includes: | ||
- test_python_common | ||
- depends_on_pylibwholegraph | ||
- depends_on_pytorch | ||
py_build_cugraph_pyg: | ||
output: pyproject | ||
pyproject_dir: python/cugraph-pyg | ||
|
@@ -229,7 +226,6 @@ files: | |
includes: | ||
- test_python_common | ||
- depends_on_pylibwholegraph | ||
- depends_on_pytorch | ||
py_build_cugraph_equivariant: | ||
output: pyproject | ||
pyproject_dir: python/cugraph-equivariant | ||
|
@@ -524,7 +520,7 @@ dependencies: | |
- &dask rapids-dask-dependency==24.10.*,>=0.0.0a0 | ||
- &dask_cuda dask-cuda==24.10.*,>=0.0.0a0 | ||
- &numba numba>=0.57 | ||
- &numpy numpy>=1.23,<2.0a0 | ||
- &numpy numpy>=1.23,<3.0a0 | ||
- output_types: conda | ||
packages: | ||
- aiohttp | ||
|
@@ -662,10 +658,12 @@ dependencies: | |
- output_types: [conda, pyproject] | ||
packages: | ||
- pandas | ||
- pydantic | ||
- pytest | ||
- pytest-benchmark | ||
- pytest-cov | ||
- pytest-xdist | ||
- torchdata | ||
- scipy | ||
test_python_cugraph: | ||
common: | ||
|
@@ -710,36 +708,6 @@ dependencies: | |
- *tensordict | ||
- pyg>=2.5,<2.6 | ||
|
||
depends_on_pytorch: | ||
common: | ||
- output_types: [conda] | ||
packages: | ||
- &pytorch_unsuffixed pytorch>=2.0,<2.2.0a0 | ||
- torchdata | ||
- pydantic | ||
|
||
specific: | ||
- output_types: [requirements] | ||
matrices: | ||
- matrix: {cuda: "12.*"} | ||
packages: | ||
- --extra-index-url=https://download.pytorch.org/whl/cu121 | ||
- matrix: {cuda: "11.*"} | ||
packages: | ||
- --extra-index-url=https://download.pytorch.org/whl/cu118 | ||
- {matrix: null, packages: null} | ||
- output_types: [requirements, pyproject] | ||
matrices: | ||
- matrix: {cuda: "12.*"} | ||
packages: | ||
- &pytorch_pip torch>=2.0,<2.2.0a0 | ||
- *tensordict | ||
- matrix: {cuda: "11.*"} | ||
packages: | ||
- *pytorch_pip | ||
- *tensordict | ||
- {matrix: null, packages: [*pytorch_pip, *tensordict]} | ||
|
||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Think it is ok to keep this. We just want to relax the upper bound. At a minimum we need PyTorch 2.3.0 for NumPy 2 support ( pytorch/pytorch#107302 ). Though wonder if this upper bound can be dropped altogether There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. As long as we have cupy>13.2 in our test environment we are ok to remove the upper bound There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'm also ok if we enforce pytorch >=2.3 for both test and runtime There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Let's keep the discussion about what to do with the @hcho3 would Note: we should match whatever's done here in rapidsai/wholegraph#218 There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. No, because 2.4.0 has issues with Conda-forge packaging. See conda-forge/pytorch-cpu-feedstock#254 (comment) There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Ah! Sorry, I did see you'd posted that link but misunderstood what it contained. Ok great, I think a ceiling on 2.4.0 is ok here. Let's see what @alexbarghi-nv says. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This was recently resolved. So have submitted PR ( #4703 ) to relax this in 24.12 |
||
depends_on_pylibwholegraph: | ||
common: | ||
- output_types: conda | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Curious what
pydantic
is being used forThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
DGL requires it. It tries to import it and raises an exception if it isn't available. It's used by GraphBolt.