-
Notifications
You must be signed in to change notification settings - Fork 493
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ensure backward compatibility of ORTModel #933
Ensure backward compatibility of ORTModel #933
Conversation
The documentation is not available anymore as the PR was closed or merged. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@@ -262,3 +267,8 @@ def reset_format() -> None: | |||
|
|||
for handler in handlers: | |||
handler.setFormatter(None) | |||
|
|||
|
|||
@lru_cache(None) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@lru_cache(None) | |
@lru_cache |
is enough no?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, the default is 128: https://docs.python.org/3/library/functools.html#functools.lru_cache
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks a lot for taking care of this @fxmarty
Co-authored-by: Michael Benayoun <mickbenayoun@gmail.com>
The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. |
Following #872, we make sure we have no breaking change for the existing exported models.
Thank you @echarlaix for pointing it out!