ucall
ucall copied to clipboard
Feature: Move Python dependencies into extras
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?
- [X] I have searched the existing issues
Code of Conduct
- [X] I agree to follow this project's Code of Conduct
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.