-
Notifications
You must be signed in to change notification settings - Fork 5.8k
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
[AIR] Framework specific Checkpoint API consistency #28412
Comments
@xwjiang2010 @amogkam @krfricke im happy to take a look at this if this hasn't been grabbed! |
yeah please do so! and keep us updated. opening a draft PR would be the fastest way to collaborate here! |
hey @heyitsmui, let me know if you are still planning to work on this :). |
hey @xwjiang2010 i believe you mentioned you already have a draft PR for this? if not, i can get started on this :) |
Ah the one I have is this: #28474 |
ah thanks @xwjiang2010 for the clarification! i will take a stab at the rest of the tasks planned, on top of your current PR, thanks! |
Thanks @heyitsmui! Let me know if you have any questions! |
Working on this now, expect to have a draft PR out for review later today |
awesome!
…On Tue, Sep 27, 2022 at 9:06 AM Michael Mui ***@***.***> wrote:
Working on this now, expect to have a draft PR out for review later today
—
Reply to this email directly, view it on GitHub
<#28412 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABCRZZIAVIXY76SHKJN7N2DWAMLQJANCNFSM6AAAAAAQI572DQ>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
@heyitsmui did you create a pr for this? |
bump @heyitsmui ? |
@richardliaw thanks for checking in, let me clean up my change, will have a PR out for review by tomorrow EOD |
^^ @heyitsmui :) |
We should make sure all of our framework-specific Checkpoints follow similar API design patterns.
def get_model(self, *args, **kwargs)
anddef get_preprocessor(self) -> Optional[Preprocessors]
methods. These can be defined in a private abstract base class that all framework specific checkpoint can inherit from.get_model
andget_preprocessor
APIs.from_checkpoint
method should accept**get_model_kwargs
so users can specify kwargs that should be passed through tocheckpoint.get_model(...)
cc @xwjiang2010
The text was updated successfully, but these errors were encountered: