Move all Llama Stack types to llama-stack #279
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
llama-models should have extremely minimal cruft. Its sole purpose should be didactic -- show the simplest implementation of the llama models and document the prompt formats, etc.
As such:
datatypes.py
file at the top-level containing a minimal list of datatypes. Nothing insidellama3/api/
anymore.Similarly, all the registrations of various Llama SKUs, their parameters, etc. can arguably move to llama stack (although that is debatable) since only the Llama Stack CLI is concerned about those.
NOTE: *This PR cannot be landed until the corresponding llama-stack PR (which removes dependencies on llama-models) lands first. meta-llama/llama-stack#1098 *
Test Plan
(Partial, since most of the tests will be run on the Llama Stack side.)
Run chat completion: