-
Notifications
You must be signed in to change notification settings - Fork 58
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: create the workspace service for custom models (#745)
**Reason for Change**: <!-- What does this PR improve or fix in Kaito? Why is it needed? --> This change updates the `ensureService` function in the workspace controller to create the workspace service for custom models instead of only doing it for preset models. The logic today only goes into the service creation code if there is a preset, but it is only using the preset information to see if the model supports distributed inference. To add support for custom models, we can just default the distributed inference support to false and always create the service preset or not. It seems fair to me to only support distributed inference on the preset models as that requires more setup. With this change custom models can at least have basic support without any manual Kubernetes resource creation. Fixes #744. **Requirements** - [X] added unit tests and e2e tests (if applicable). **Issue Fixed**: <!-- If this PR fixes GitHub issue 4321, add "Fixes #4321" to the next line. --> Fixes #744 **Notes for Reviewers**:
- Loading branch information
Showing
3 changed files
with
53 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters