Skip to content

Proposal: Migrate gRPC / protobuf definition files to their own repo #4012

@dave-gray101

Description

@dave-gray101

Part of the CI Speedup Project localai CI improvements (view)

In order to really accelerate CI, I want to build backends only when a relevant change is made to them. The first step in achieving this is to make it as simple as possible to build backends outside of the main source tree.

I propose that the .proto file(s) be moved to a separate repo so that:

  1. It's faster and easier for subprojects to get just the files they need
  2. We can investigate building and publishing additional generated packages to remove the grpc / protobuf compiler dependencies

While this happens, I'd like to also consider making breaking changes to the specification to rename the really generic names and provide a better service name than "backend" - that way, once the proto project is "ready", we should not need to make any breaking changes for a long time as it is relatively rare that we break an existing field rather than add a new one.

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions