Closed bclavie closed 9 months ago
Adding a basic verbose attribute to the noisiest classes:
verbose
Indexer
CollectionIndexer
utils.optimize_ivf
QueryTokenizer
Searcher
Checkpoint
Implementation is fairly noncommittal (easy to modify how we handle verbosity later).
4 levels defined: 0: Print nothing except errors 1: Level 0 + Print key information 2: Level 1 + Print most logs 3: Level 2 + Print the very noisy bucket information
Implementation defaults to level 3 (no changes from current behaviour) unless explicitly passed.
also fixing a one-line oversight in the previous PR with commit d693b1a
Adding a basic
verbose
attribute to the noisiest classes:Indexer
CollectionIndexer
utils.optimize_ivf
QueryTokenizer
Searcher
Checkpoint
Implementation is fairly noncommittal (easy to modify how we handle verbosity later).
4 levels defined: 0: Print nothing except errors 1: Level 0 + Print key information 2: Level 1 + Print most logs 3: Level 2 + Print the very noisy bucket information
Implementation defaults to level 3 (no changes from current behaviour) unless explicitly passed.
also fixing a one-line oversight in the previous PR with commit d693b1a