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

feat: backends improvements #778

Merged
merged 6 commits into from Jul 21, 2023
Merged

feat: backends improvements #778

merged 6 commits into from Jul 21, 2023

Conversation

mudler
Copy link
Owner

@mudler mudler commented Jul 19, 2023

This PR is multi-fold

  • Now since gRPCs are not crashing the main thread we can just greedly attempt all the backends we have available. This PR now makes the autoload to try out all the services
  • We can also allow to specify external gRPC services in the CLI with --external-grpc-backends "<backend_name>:<path or address:port>"
  • This adds as well a new huggingface backend using python(just embeddings at the moment), and adding it as an extra backend loaded by default in the container image

Now since gRPCs are not crashing the main thread we can just greedly
attempt all the backends we have available.

Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
@mudler mudler changed the title feat: add all backends to autoload feat: backends improvements Jul 20, 2023
Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
@mudler mudler force-pushed the autoload branch 2 times, most recently from d159933 to 1bacbd2 Compare July 21, 2023 08:37
@mudler mudler merged commit 0eac040 into master Jul 21, 2023
14 checks passed
@mudler mudler deleted the autoload branch July 21, 2023 18:55
@mudler mudler added the enhancement New feature or request label Jul 22, 2023
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

Successfully merging this pull request may close these issues.

None yet

1 participant