forked from kaito-project/kaito
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: inference API cleanup (kaito-project#233)
This PR does some cleanup on the inference API. Introduces: 1. ModelConfig Dataclass 2. Allow additional user args 3. GenerateKwargs Model 4. More descriptive comments/metadata for model fields 5. Rename inference-api.py -> inference_api.py - needed for naming convention/importability 6. Introduce tests for inference_api.py This PR requires bumping up images and having Kaito use updated image tag (in this case 0.0.2).
- Loading branch information
1 parent
7f50583
commit 68c972d
Showing
23 changed files
with
497 additions
and
214 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
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
File renamed without changes.
File renamed without changes.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.