-
Notifications
You must be signed in to change notification settings - Fork 350
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: LLM - Released the LLM SDK to GA
This commit also refactors the machinery around the mapping between schemas and interface classes. The central table is not needed now. Each interface class knows its own instance schema. This architecture makes it much easier to experiment with different interface classes since `MyClass.from_pretrained` now returns an instance of `MyClass` (if the model's instance schema matches). This change makes it trivial to have multiple versions of an interface class (e.g. GA, preview etc). It was much harder with a centralized table that could only hold a single interface class for each instance schema. PiperOrigin-RevId: 538100676
- Loading branch information
1 parent
ce5dee4
commit 76465e2
Showing
5 changed files
with
148 additions
and
72 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
Oops, something went wrong.