Skip to content
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

Sambanova inferene #555

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

snova-edwardm
Copy link

What does this PR do?

This PR adds SambaNova as one of the Provider

  • Add SambaNova as a provider

Test Plan

Test the functional command

pytest -s -v --providers inference=sambanova llama_stack/providers/tests/inference/ --env SAMBANOVA_API_KEY=<sambanova-api-key>

Test the distribution template:

# Docker
LLAMA_STACK_PORT=5001
docker run -it -p $LLAMA_STACK_PORT:$LLAMA_STACK_PORT \
  llamastack/distribution-sambanova \
  --port $LLAMA_STACK_PORT \
  --env SAMBANOVA_API_KEY=$SAMBANOVA_API_KEY

# Conda
llama stack build --template sambanova --image-type conda
llama stack run ./run.yaml \
  --port $LLAMA_STACK_PORT \
  --env SAMBANOVA_API_KEY=$SAMBANOVA_API_KEY

Source

SambaNova API Documentation

Before submitting

  • This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
  • [Y] Ran pre-commit to handle lint / formatting issues.
  • [Y] Read the contributor guideline,
    Pull Request section?
  • [Y] Updated relevant documentation.
  • [Y ] Wrote necessary unit or integration tests.

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Meta Open Source bot. label Dec 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Meta Open Source bot.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants