Skip to content

Commit

Permalink
Update src/lighteval/models/transformers/transformers_model.py
Browse files Browse the repository at this point in the history
Co-authored-by: Nathan Habib <[email protected]>
  • Loading branch information
clefourrier and NathanHB authored Dec 16, 2024
1 parent fb4ecdc commit be99c5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lighteval/models/transformers/transformers_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ def __init__(
logger.info("Compiling the model")
self.model.model.compile()
except AttributeError as e:
logger.warn("Could not compile the model because: ", e)
logger.warning("Could not compile the model because: ", e)

self.model_name = _simplify_name(config.pretrained)
self.model_sha = config.get_model_sha()
Expand Down

0 comments on commit be99c5e

Please sign in to comment.