We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 53d762e commit e026658Copy full SHA for e026658
src/llmcompressor/transformers/utils/helpers.py
@@ -142,7 +142,14 @@ def recipe_from_huggingface_model_id(
142
try:
143
recipe = hf_hub_download(repo_id=hf_stub, filename=recipe_file_name)
144
logger.info(f"Found recipe: {recipe_file_name} for model ID: {hf_stub}.")
145
- except Exception: # TODO: narrow acceptable exceptions
+ except Exception as e: # TODO: narrow acceptable exceptions
146
+ logger.debug(
147
+ (
148
+ f"Unable to find recipe {recipe_file_name} "
149
+ f"for model ID: {hf_stub}: {e}."
150
+ "Skipping recipe resolution."
151
+ )
152
153
recipe = None
154
155
return recipe
0 commit comments