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

Log UMAP arrays at trace verbosity level. #6274

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

Conversation

csadorf
Copy link
Contributor

@csadorf csadorf commented Jan 29, 2025

Reduce the UMAP logging verbosity. Avoids printing potentially large arrays.

Copy link

copy-pr-bot bot commented Jan 29, 2025

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.

@csadorf csadorf force-pushed the fix/decrease-umap-logging-verbosity branch from 6cccf26 to d7efec6 Compare January 29, 2025 15:28
@csadorf
Copy link
Contributor Author

csadorf commented Jan 29, 2025

Looks like I might have missed on statement, I still get one large print. Will check and fixup. Done.

@csadorf csadorf added bug Something isn't working non-breaking Non-breaking change labels Jan 29, 2025
@csadorf csadorf self-assigned this Jan 29, 2025
@csadorf csadorf marked this pull request as ready for review January 29, 2025 15:50
@csadorf csadorf requested a review from a team as a code owner January 29, 2025 15:50
@csadorf csadorf requested review from vyasr and tfeher January 29, 2025 15:50
if (ML::default_logger().should_log(ML::level_enum::debug)) {
CUML_LOG_DEBUG("Compute Membership Strength");
if (ML::default_logger().should_log(ML::level_enum::trace)) {
CUML_LOG_TRACE("Compute Membership Strength");
Copy link
Member

Choose a reason for hiding this comment

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

I think we should keep these at DEBUG level but put any actual arrays at trace level.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Addressed in c6b6e36 .

@csadorf csadorf requested a review from cjnolet January 29, 2025 16:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working CUDA/C++ non-breaking Non-breaking change
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants