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

Feature: Move Python dependencies into extras #67

Open
2 of 3 tasks
ashvardanian opened this issue May 25, 2023 · 1 comment
Open
2 of 3 tasks

Feature: Move Python dependencies into extras #67

ashvardanian opened this issue May 25, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@ashvardanian
Copy link
Collaborator

Describe what you are looking for

Pillow and NumPy aren't as heavy as PyTorch, but it would be nice to move those into a list of optional dependencies.

Can you contribute to the implementation?

  • I can contribute

Is your feature request specific to a certain interface?

It applies to everything

Contact Details

No response

Is there an existing issue for this?

  • I have searched the existing issues

Code of Conduct

  • I agree to follow this project's Code of Conduct
@ashvardanian ashvardanian added the enhancement New feature or request label May 25, 2023
@ashvardanian
Copy link
Collaborator Author

Moreover, Pillow often causes version conflicts with other packages installed on the system. I've just noticed that in a USearch+StreamLit demo, where UCall comes as a dependency. We can have some custom annotation classes in UCall to mark pil.Image or np.ndarray arguments without explicitly importing them. On a related note, TenPack will be getting some useful functionality for tensors packaging and media parsing, that may come handy here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants