Skip to content

Commit

Permalink
Change cache logging from debug to info
Browse files Browse the repository at this point in the history
  • Loading branch information
yonromai committed Oct 16, 2023
1 parent bbe83ba commit a89bc05
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nxontology_ml/text_embeddings/embeddings_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ def from_pretrained(
"""
# FIXME: should we add truncation of input??
cache_filename = (cache_path or _cache_path(pretrained_model_name)).as_posix()
logging.debug(f"Caching embeddings into: {cache_filename}")
logging.info(f"Caching embeddings into: {cache_filename}")
return cls(
lazy_model=lazy_model or _LazyAutoModel(pretrained_model_name),
pooler_attr=_model_poolers[pretrained_model_name],
Expand Down

0 comments on commit a89bc05

Please sign in to comment.