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

Open
wants to merge 5 commits into
base: branch-25.02
Choose a base branch
from
Open

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).

# Not using rapids-cmake since we never want to find, always download.
CPMAddPackage(
NAME rapids_logger GITHUB_REPOSITORY vyasr/rapids-logger GIT_SHALLOW FALSE GIT_TAG feat/cuml
VERSION feat/cuml
Copy link
Member

Choose a reason for hiding this comment

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

Why feat/cuml here?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is only because I started work on rapidsai/cuml#6162 before this PR, so that's the branch name for rapidsai/rapids-logger#1. I'll merge that PR and update the commit hash here before this PR is merged.

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
5 - DO NOT MERGE Hold off on merging; see PR for details breaking Breaking change CMake cpp improvement Improvement / enhancement to an existing function
Projects
Status: In Progress
Development

Successfully merging this pull request may close these issues.

3 participants