Skip to content

Simplify libcuvs conda recipe.#322

Merged
rapids-bot[bot] merged 4 commits into
NVIDIA:branch-24.10from
bdice:simplify-libcuvs-recipe
Sep 11, 2024
Merged

Simplify libcuvs conda recipe.#322
rapids-bot[bot] merged 4 commits into
NVIDIA:branch-24.10from
bdice:simplify-libcuvs-recipe

Conversation

@bdice

@bdice bdice commented Sep 10, 2024

Copy link
Copy Markdown
Contributor

This PR refactors the libcuvs conda recipe to use libraft-headers-only instead of libraft.

I removed dependencies on rmm from the cuvs build -- it is not imported.

I included a couple small fixes in CMake and the cuvs recipe.

@bdice bdice added improvement Improves an existing functionality non-breaking Introduces a non-breaking change labels Sep 10, 2024
@bdice bdice self-assigned this Sep 10, 2024
@bdice bdice marked this pull request as ready for review September 10, 2024 18:18
@bdice bdice requested review from a team as code owners September 10, 2024 18:18
@bdice bdice requested a review from msarahan September 10, 2024 18:18
- {{ stdlib("c") }}
host:
- libraft ={{ minor_version }}
- librmm ={{ minor_version }}

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

We need librmm here because we #include it in libcuvs.

- pylibraft {{ minor_version }}
- libcuvs {{ version }}
- python x.x
- rmm ={{ minor_version }}

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

rmm (Python) is not used directly in cuvs Python code. It is not needed at build or run time.

Comment thread conda/recipes/libcuvs/meta.yaml Outdated
- {{ compiler('cuda') }}
- cuda-cudart-dev
- libcublas-dev
- libcurand-dev

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

These changes align libcuvs-examples with the -tests and other packages above. These are needed to build the examples, now that we're removing libraft. Previously libraft was supplying the CUDA math library dependencies.

@msarahan msarahan left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I have no additional concerns beyond @cjnolet comment at https://github.com/rapidsai/cuvs/pull/322/files#r1752508397

@bdice bdice requested a review from cjnolet September 10, 2024 19:58
Comment thread conda/recipes/libcuvs/meta.yaml Outdated
Comment thread conda/recipes/libcuvs/meta.yaml Outdated
Comment thread conda/recipes/libcuvs/meta.yaml Outdated
Comment thread conda/recipes/libcuvs/meta.yaml Outdated

@cjnolet cjnolet left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM. Thanks for these changes Bradley!

@bdice

bdice commented Sep 11, 2024

Copy link
Copy Markdown
Contributor Author

/merge

@rapids-bot rapids-bot Bot merged commit a6b71d7 into NVIDIA:branch-24.10 Sep 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CMake cpp improvement Improves an existing functionality non-breaking Introduces a non-breaking change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants