Unverified Commit 29fc5772 authored by Isotr0py's avatar Isotr0py Committed by GitHub
Browse files

[Bugfix] Remove noisy error logging during local model loading (#13458)

parent 2358ca52
......@@ -504,8 +504,7 @@ def get_sentence_transformer_tokenizer_config(model: str,
repo_files = list_repo_files(model,
revision=revision,
token=HF_TOKEN)
except Exception as e:
logger.error("Error getting repo files", e)
except Exception:
repo_files = []
for config_name in sentence_transformer_config_files:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment