opensearch-project / opensearch-py-ml

Apache License 2.0
34 stars 64 forks source link

Init a sparse model auto tracing workflow. #394

Closed conggguan closed 3 months ago

conggguan commented 4 months ago

Signed-off-by: conggguan congguan@amazon.com

Description

Add a github workflow action to release sparse encoding model.

Issues Resolved

Check List

Workflow Test

Have made two test on the model uploader workflow, one for sparse model and another for dense model. The steps failed just because the repo maintainer doesn't match. And for sparse model, I have upload 3 models to s3 by this PR, and deployed on a local opensearch cluster with a success inference.

Sparse: https://github.com/conggguan/opensearch-py-ml/actions/runs/10175716409 Dense: https://github.com/conggguan/opensearch-py-ml/actions/runs/10175709306

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license. For more information on following Developer Certificate of Origin and signing off your commits, please check here.

yuye-aws commented 4 months ago

Just one more comment: please fix the import orders for these python files, and also put all constants below the imports