Skip to content

Log UMAP arrays at trace verbosity level.#6274

Merged
raydouglass merged 2 commits intobranch-25.02from
fix/decrease-umap-logging-verbosity
Feb 12, 2025
Merged

Log UMAP arrays at trace verbosity level.#6274
raydouglass merged 2 commits intobranch-25.02from
fix/decrease-umap-logging-verbosity

Conversation

@csadorf
Copy link
Copy Markdown
Contributor

@csadorf csadorf commented Jan 29, 2025

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

@copy-pr-bot
Copy link
Copy Markdown

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
Copy Markdown
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 tfeher and vyasr January 29, 2025 15:50
Comment thread cpp/src/umap/fuzzy_simpl_set/naive.cuh Outdated
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
Copy Markdown
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
Copy Markdown
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
@csadorf csadorf changed the base branch from branch-25.02 to branch-25.04 February 10, 2025 22:35
@csadorf
Copy link
Copy Markdown
Contributor Author

csadorf commented Feb 10, 2025

/merge

@dantegd dantegd changed the base branch from branch-25.04 to branch-25.02 February 11, 2025 21:44
@dantegd dantegd requested review from a team as code owners February 11, 2025 21:44
@csadorf csadorf force-pushed the fix/decrease-umap-logging-verbosity branch from d7af773 to 16f79b3 Compare February 11, 2025 21:54
@csadorf
Copy link
Copy Markdown
Contributor Author

csadorf commented Feb 12, 2025

@dantegd I think this PR might need an admin merge.

@raydouglass raydouglass merged commit 448b624 into branch-25.02 Feb 12, 2025
@jakirkham jakirkham deleted the fix/decrease-umap-logging-verbosity branch February 13, 2025 05:38
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.

5 participants