Skip to content
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

Solution for lazy importing/ handling ImportErrors #22

Closed
blythed opened this issue May 3, 2023 · 2 comments
Closed

Solution for lazy importing/ handling ImportErrors #22

blythed opened this issue May 3, 2023 · 2 comments

Comments

@blythed
Copy link
Collaborator

blythed commented May 3, 2023

In order to make this type of thing work:

pip install superduperdb[all]
pip install superduperdb[torch]
pip install superduperdb[sklearn,pillow]

We would probably need some kind of lazy import scheme.

@blythed
Copy link
Collaborator Author

blythed commented May 3, 2023

In superduperdb.models.wrapper.wrap_model make sure that we get graceful error handling if package isn't installed or something like that.

@blythed
Copy link
Collaborator Author

blythed commented May 7, 2023

Ideally would like:

pip install superduperdb[all]
pip install superduperdb[torch]
pip install superduperdb[sklearn,pillow]
...

@blythed blythed modified the milestone: Core modifications May 11, 2023
@blythed blythed closed this as completed Jul 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant