From bf937c7537ae2ecd81ae4efa62bccb9c5284c2b8 Mon Sep 17 00:00:00 2001 From: alhendrickson Date: Mon, 15 Jun 2026 14:30:23 +0000 Subject: [PATCH] chore(medcat): Change log WARN to DEBUG for tokenizer internals path --- medcat-v2/medcat/pipeline/pipeline.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/medcat-v2/medcat/pipeline/pipeline.py b/medcat-v2/medcat/pipeline/pipeline.py index 70b9ba11f..43d512f98 100644 --- a/medcat-v2/medcat/pipeline/pipeline.py +++ b/medcat-v2/medcat/pipeline/pipeline.py @@ -109,7 +109,7 @@ def _init_tokenizer(self, model_load_path: Optional[str]) -> BaseTokenizer: nlp_cnf.modelname = os.path.join( model_load_path, model_basename) if orig_modelname != model_basename: - logger.warning( + logger.debug( "Loading a model with incorrectly saved tokenizer " "internals path. Was saved as '%s' whereas should have " "had just '%s'. This is an automated fix - no further "