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

Switch over to rapids-logger #2530

Merged
merged 6 commits into from
Dec 30, 2024
Merged

Conversation

vyasr
Copy link
Contributor

@vyasr vyasr commented Dec 16, 2024

This PR removes raft's implementation of a logger in favor of the centralized one in rapids-logger. Consumers still get the benefits of a PImpl idiom, but now that is primarily handled by using the appropriate targets (if necessary the impl header is of course still available for direct inclusion). This change paves the way for ensuring consistent fmt/spdlog (lack of) linkage throughout RAPIDS conda and wheel packages.

This PR requires rapidsai/rapids-logger#1

Contributes to rapidsai/build-planning#104

@vyasr vyasr added improvement Improvement / enhancement to an existing function breaking Breaking change labels Dec 16, 2024
@vyasr vyasr self-assigned this Dec 16, 2024
Copy link

copy-pr-bot bot commented Dec 16, 2024

Auto-sync is disabled for draft pull requests in this repository. Workflows must be run manually.

Contributors can view more details about this message here.

@vyasr
Copy link
Contributor Author

vyasr commented Dec 16, 2024

/ok to test

@vyasr
Copy link
Contributor Author

vyasr commented Dec 16, 2024

/ok to test

@vyasr
Copy link
Contributor Author

vyasr commented Dec 17, 2024

/ok to test

@vyasr
Copy link
Contributor Author

vyasr commented Dec 17, 2024

/ok to test

@vyasr vyasr marked this pull request as ready for review December 19, 2024 20:15
@vyasr vyasr requested review from a team as code owners December 19, 2024 20:15
@vyasr vyasr added the 5 - DO NOT MERGE Hold off on merging; see PR for details label Dec 19, 2024
@vyasr
Copy link
Contributor Author

vyasr commented Dec 19, 2024

I'll be on vacation next week and this PR has downstream consequences so I've marked it as "DO NOT MERGE" until I get back, but I would love to get it reviewed in advance so that I can safely merge when I'm ready.

Copy link
Member

@cjnolet cjnolet left a comment

Choose a reason for hiding this comment

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

The changes look fine overall. Definitely good to see consolidation. Just a question (though not sure if it’s important to merge this).

cpp/CMakeLists.txt Outdated Show resolved Hide resolved
Copy link
Member

@cjnolet cjnolet left a comment

Choose a reason for hiding this comment

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

Pre-approving because the changes look fine to me

@vyasr vyasr removed the 5 - DO NOT MERGE Hold off on merging; see PR for details label Dec 30, 2024
@vyasr
Copy link
Contributor Author

vyasr commented Dec 30, 2024

/merge

@rapids-bot rapids-bot bot merged commit eef9a4f into rapidsai:branch-25.02 Dec 30, 2024
71 checks passed
@vyasr vyasr deleted the feat/logger branch December 30, 2024 19:50
rapids-bot bot pushed a commit to rapidsai/cuvs that referenced this pull request Dec 31, 2024
This PR updates cuvs to use raft's updated logger implementation using [rapids-logger](https://github.com/rapidsai/rapids-logger). It is a breaking change because it changes the kmeans `base_params` verbosity type from an int to a `raft::level_enum`.

This PR requires rapidsai/raft#2530.

Contributes to rapidsai/build-planning#104

Authors:
  - Vyas Ramasubramani (https://github.com/vyasr)

Approvers:
  - Bradley Dice (https://github.com/bdice)
  - Corey J. Nolet (https://github.com/cjnolet)

URL: #540
rapids-bot bot pushed a commit to rapidsai/cugraph that referenced this pull request Dec 31, 2024
This PR updates cugraph to use raft's updated logger implementation using [rapids-logger](https://github.com/rapidsai/rapids-logger).

This PR requires rapidsai/raft#2530.

Contributes to rapidsai/build-planning#104

Authors:
  - Vyas Ramasubramani (https://github.com/vyasr)

Approvers:
  - Bradley Dice (https://github.com/bdice)
  - James Lamb (https://github.com/jameslamb)
  - Brad Rees (https://github.com/BradReesWork)

URL: #4835
rapids-bot bot pushed a commit to rapidsai/cuvs that referenced this pull request Jan 7, 2025
rapidsai/raft#2530 added new targets that we need to make global in cuvs's CMake as well.

Authors:
  - Vyas Ramasubramani (https://github.com/vyasr)

Approvers:
  - Bradley Dice (https://github.com/bdice)

URL: #557
rapids-bot bot pushed a commit to rapidsai/cugraph that referenced this pull request Jan 7, 2025
rapidsai/raft#2530 added new targets that we need to make global in cugraph's CMake as well.

Authors:
  - Vyas Ramasubramani (https://github.com/vyasr)

Approvers:
  - Chuck Hastings (https://github.com/ChuckHastings)

URL: #4848
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking Breaking change CMake cpp improvement Improvement / enhancement to an existing function
Projects
Development

Successfully merging this pull request may close these issues.

3 participants