-
Notifications
You must be signed in to change notification settings - Fork 138
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
Serialized owlv2 model #889
Conversation
will need to be slightly modified when #886 makes it in to actually use the new endpoint/new method call with the workspace_id correctly |
@probicheaux should we put this up for review? |
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.
Looks good to me
@@ -71,6 +82,26 @@ def _check_size_limit(self): | |||
self.popitem(last=False) | |||
|
|||
|
|||
class Owlv2Singleton: |
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.
I wonder if this can result in RAM exhaustion on long running processes that request multiple distinct models.
Description
Adds ability to serialize/deserialize training data for owlv2 models
Type of change
Please delete options that are not relevant.
How has this change been tested, please provide a testcase or example of how you tested the change?
added tests
Any specific deployment considerations
new owlv2 endpoint needs to be deployed
Docs