-
Notifications
You must be signed in to change notification settings - Fork 669
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Sambanova Inference #518
base: main
Are you sure you want to change the base?
Conversation
Hi @seyeong-han! Thank you for your pull request and welcome to our community. Action RequiredIn order to merge any pull request (code, docs, etc.), we require contributors to sign our Contributor License Agreement, and we don't seem to have one on file for you. ProcessIn order for us to review and merge your suggested changes, please sign at https://code.facebook.com/cla. If you are contributing on behalf of someone else (eg your employer), the individual CLA may not be sufficient and your employer may need to sign the corporate CLA. Once the CLA is signed, our tooling will perform checks and validations. Afterwards, the pull request will be tagged with If you have received this in error or have any questions, please contact us at [email protected]. Thanks! |
Thank you for signing our Contributor License Agreement. We can now accept your code for this (and any) Meta Open Source project. Thanks! |
Add Sambanova Inference
Ssmabanova Inference provides a free Llama inference server, allowing me to expand the selection of inference options for my project.
This pull request introduces a new integration with the Ssambanova service for LLM inference within the Llama Stack project. The major changes include the addition of configuration files, Docker and Conda setup, and the implementation of the Ssambanova inference adapter.
Integration with Ssambanova:
distributions/ssambanova/build.yaml
: Added a reference to the Ssambanova build template.distributions/ssambanova/compose.yaml
: Configured Docker Compose services for Ssambanova.distributions/ssambanova/run.yaml
: Defined the Ssambanova run configuration, including API endpoints and providers.Implementation of Ssambanova Inference Adapter:
llama_stack/providers/registry/inference.py
: Added Ssambanova as a remote provider specification.llama_stack/providers/remote/inference/ssambanova/__init__.py
: Implemented the adapter initialization for Ssambanova.llama_stack/providers/remote/inference/ssambanova/config.py
: Defined the configuration schema for Ssambanova.llama_stack/providers/remote/inference/ssambanova/ssambanova.py
: Implemented the Ssambanova inference adapter, including methods for chat completion and embeddings.Documentation and Templates:
llama_stack/templates/ssambanova/doc_template.md
: Added documentation for Ssambanova distribution, including setup instructions.llama_stack/templates/ssambanova/ssambanova.py
: Created the distribution template for Ssambanova.