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] Optional dependency group for ML Commons client #267

Open
evandiewald opened this issue Aug 31, 2023 · 2 comments
Open

[FEATURE] Optional dependency group for ML Commons client #267

evandiewald opened this issue Aug 31, 2023 · 2 comments
Labels
CCI enhancement New feature or request

Comments

@evandiewald
Copy link

Is your feature request related to a problem?
Thank you for creating this excellent project! For my use-case, I only need the ML Commons client to register and deploy pre-trained models. I am using a Lambda function to initialize an OpenSearch cluster with an embedding model, but the required dependencies of pandas, numpy, and matplotlib are too large to include the whole opensearch-py-ml library in my deployment.

What solution would you like?
The option to install a variant of the package that only requires dependencies required for the ML Commons client, e.g.
pip install opensearch-py-ml[ml-commons]

What alternatives have you considered?
The ML Commons client could be added to the opensearch-py Plugins or broken out into its own package.

Do you have any additional context?
I think this could be accomplished using setuptools Optional dependencies.

@evandiewald evandiewald added enhancement New feature or request untriaged labels Aug 31, 2023
@dtaivpp
Copy link
Contributor

dtaivpp commented Aug 31, 2023

I think this is a great idea! Actually, this could help us eventually roll this into the regular opensearch-py project. It bugs me a bit that they are separate.

@dhrubo-os dhrubo-os added CCI and removed untriaged labels Sep 11, 2023
@Iggaray
Copy link

Iggaray commented Aug 26, 2024

I was brought here by the exact same need as @evandiewald ! Thanks for posting this feature request.

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

No branches or pull requests

4 participants