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

refactor: Service Wiring / Concurrency pt 1 #2202

Closed
wants to merge 29 commits into from

Conversation

dave-gray101
Copy link
Collaborator

@dave-gray101 dave-gray101 commented Apr 30, 2024

This PR is the start of transitioning our core services to the core/application.go \ core/startup model.
In order to keep things reviewable, this PR will have a limited scope - rather than moving everything at once, my goal is to select services that are covered by existing tests for the detection of regressions. Therefore, this PR contains the following components:
 

  • Finishes up service wiring infrastructure in core/startup
  • pkg/concurrency - basic JobResult structure
  • Port over TTS Endpoints to TextToSpeechBackendService
  • Port over Embedding Endpoint to EmbeddingBackendService

Copy link

netlify bot commented Apr 30, 2024

Deploy Preview for localai canceled.

Name Link
🔨 Latest commit cf9df22
🔍 Latest deploy log https://app.netlify.com/sites/localai/deploys/664fbe18256acf000825afcf

@dave-gray101 dave-gray101 changed the title Draft: Service Wiring / Concurrency refactor: Service Wiring / Concurrency pt 1 May 1, 2024
@dave-gray101 dave-gray101 marked this pull request as ready for review May 2, 2024 13:50
@dave-gray101 dave-gray101 enabled auto-merge (squash) May 2, 2024 15:47
@dave-gray101 dave-gray101 requested review from mudler and cryptk May 2, 2024 15:47
@dave-gray101 dave-gray101 disabled auto-merge May 5, 2024 19:40
@dave-gray101 dave-gray101 enabled auto-merge (squash) May 5, 2024 19:40
backend services

Signed-off-by: Dave Lee <dave@gray101.com>
@github-actions github-actions bot added kind/documentation Improvements or additions to documentation area/ai-model labels May 7, 2024
@dave-gray101 dave-gray101 added area/golang area/api area/backends and removed kind/documentation Improvements or additions to documentation area/ai-model labels May 7, 2024
Signed-off-by: Dave Lee <dave@gray101.com>
…r future sanity

Signed-off-by: Dave Lee <dave@gray101.com>
copy paste error

Signed-off-by: Dave Lee <dave@gray101.com>
…t model' to the process. not currently used in this pr, but IS used in the next one for image generation. Backdating it to pr1 for merge reasons

Signed-off-by: Dave Lee <dave@gray101.com>
Signed-off-by: Dave Lee <dave@gray101.com>
Signed-off-by: Dave Lee <dave@gray101.com>
@github-actions github-actions bot added kind/documentation Improvements or additions to documentation area/ai-model ci labels May 23, 2024
@dave-gray101 dave-gray101 changed the title refactor: Service Wiring / Concurrency pt 1 DRAFT / REBASE : refactor: Service Wiring / Concurrency pt 1 May 23, 2024
@dave-gray101 dave-gray101 changed the title DRAFT / REBASE : refactor: Service Wiring / Concurrency pt 1 refactor: Service Wiring / Concurrency pt 1 May 23, 2024
auto-merge was automatically disabled May 23, 2024 22:13

Pull request was closed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant