Skip to content

Commit

Permalink
Fix inversion of log levels
Browse files Browse the repository at this point in the history
  • Loading branch information
vyasr committed Dec 12, 2024
1 parent 8cbb2fe commit 6c45d3c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion python/cuml/cuml/internals/base.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,8 @@ class Base(TagsMixin,
elif verbose is False:
self.verbose = logger.level_enum.info
else:
self.verbose = logger.level_enum(verbose)
# cuml's verbosity levels are the inverse of rapids-logger's (spdlog's)
self.verbose = logger.level_enum(6 - verbose)
ELSE:
self.verbose = verbose

Expand Down

0 comments on commit 6c45d3c

Please sign in to comment.