Skip to content
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

Create Conda CI test env in one step #4935

Merged

Conversation

KyleFromNVIDIA
Copy link
Contributor

@KyleFromNVIDIA KyleFromNVIDIA requested review from a team as code owners February 12, 2025 21:52
@github-actions github-actions bot added the ci label Feb 12, 2025
@KyleFromNVIDIA KyleFromNVIDIA added improvement Improvement / enhancement to an existing function non-breaking Non-breaking change labels Feb 12, 2025
Copy link
Member

@jameslamb jameslamb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This needs some changes.

Also, build failures like this:

  /pyenv/versions/3.12.9/lib/python3.12/site-packages/libraft/include/raft/spectral/detail/partition.hpp(107): error: no suitable user-defined conversion from "raft::spectral::matrix::detail::laplacian_matrix_t<int32_t, float, uint64_t>" to "const raft::spectral::matrix::detail::sparse_matrix_t<int32_t, float, int32_t>" exists
            detected during:
              instantiation of "std::tuple<vertex_t, weight_t, vertex_t> raft::spectral::detail::partition(const raft::resources &, const raft::spectral::matrix::detail::sparse_matrix_t<vertex_t, weight_t, nnz_t> &, const EigenSolver &, const ClusterSolver &, vertex_t *, weight_t *, weight_t *) [with vertex_t=int32_t, weight_t=float, nnz_t=uint64_t, EigenSolver=raft::spectral::lanczos_solver_t<int32_t, float, int32_t>, ClusterSolver=raft::spectral::kmeans_solver_t<int32_t, float, int32_t>]"
  /pyenv/versions/3.12.9/lib/python3.12/site-packages/libraft/include/raft/spectral/partition.cuh(63): here

(build link)

Should be fixed by #4934

@jameslamb jameslamb removed the request for review from raydouglass February 13, 2025 16:40
Copy link
Member

@jameslamb jameslamb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

build_docs.sh needs some changes. It also looks like CI is still blocked here, waiting on #4934

@gforsyth gforsyth dismissed jameslamb’s stale review February 19, 2025 22:20

Comments resolved

@ChuckHastings ChuckHastings removed the request for review from jameslamb February 19, 2025 22:25
@jameslamb jameslamb self-requested a review February 20, 2025 02:06
@jameslamb
Copy link
Member

/merge

@rapids-bot rapids-bot bot merged commit 2bcf76e into rapidsai:branch-25.04 Feb 20, 2025
89 checks passed
rapids-bot bot pushed a commit that referenced this pull request Feb 21, 2025
Follow up to #4935

There, in #4935 (comment), we discussed the that GNN packages shouldn't need to be installed in docs builds any more, as no docs in this repo (including notebooks) require them.

This PR limits dependencies on the GNN packages to only the places they're needed.

### `libwholegraph` / `pylibwholegraph`

```shell
git grep -i -E 'wholegraph'
```

Optional runtime dependency of `cugraph`:

https://github.com/rapidsai/cugraph/blob/2873ff91945c4944568ffd1aa035f6bba17746a0/python/cugraph/cugraph/gnn/feature_storage/feat_storage.py#L23

And optional test-time dependency of `cugraph`:

https://github.com/rapidsai/cugraph/blob/2873ff91945c4944568ffd1aa035f6bba17746a0/python/cugraph/cugraph/tests/data_store/test_gnn_feat_storage_wholegraph.py#L24-L25

But not used in any docs.

**Changes:** Removed from `docs` environment.

### `cugraph-dgl`

```shell
git grep -i -E 'cugraph.*dgl'
```

Not used anywhere in this repo.

**Changes:** Removed all remaining references.

### `cugraph-pyg`

```shell
git grep -i -E 'cugraph.*pyg'
```

Only used as an optional import in `cugraph-service-client`'s tests (which are not run in CI for wheels).

https://github.com/rapidsai/cugraph/blob/2873ff91945c4944568ffd1aa035f6bba17746a0/python/cugraph-service/tests/test_remote_graph.py#L662

**Changes:** Removed from the `docs` environment, added a `[test]` extra to `cugraph-service-client` including this.

## Notes for Reviewers

Related to these issues about moving more GNN stuff out of this repo:

* #4822
* #4407

Authors:
  - James Lamb (https://github.com/jameslamb)

Approvers:
  - Chuck Hastings (https://github.com/ChuckHastings)
  - Mike Sarahan (https://github.com/msarahan)
  - Bradley Dice (https://github.com/bdice)

URL: #4947
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci improvement Improvement / enhancement to an existing function non-breaking Non-breaking change
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants