llama-stack-mirror/docs/source/distributions/self_hosted_distro
snova-edwardm 22dc684da6
Sambanova inference provider (#555)
# 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/test_embeddings.py llama_stack/providers/tests/inference/test_prompt_adapter.py llama_stack/providers/tests/inference/test_text_inference.py llama_stack/providers/tests/inference/test_vision_inference.py --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](https://cloud.sambanova.ai/apis)

## 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](https://github.com/meta-llama/llama-stack/blob/main/CONTRIBUTING.md),
      Pull Request section?
- [Y] Updated relevant documentation.
- [Y ] Wrote necessary unit or integration tests.

---------

Co-authored-by: Ashwin Bharambe <ashwin.bharambe@gmail.com>
2025-01-23 12:20:28 -08:00
..
bedrock.md Rename builtin::memory -> builtin::rag 2025-01-22 20:22:51 -08:00
cerebras.md Rename builtin::memory -> builtin::rag 2025-01-22 20:22:51 -08:00
dell-tgi.md Update default port from 5000 -> 8321 2025-01-16 15:26:48 -08:00
fireworks.md Rename builtin::memory -> builtin::rag 2025-01-22 20:22:51 -08:00
meta-reference-gpu.md Rename builtin::memory -> builtin::rag 2025-01-22 20:22:51 -08:00
meta-reference-quantized-gpu.md Rename builtin::memory -> builtin::rag 2025-01-22 20:22:51 -08:00
nvidia.md add nvidia distribution (#565) 2025-01-15 14:04:43 -08:00
ollama.md Fixed distro documentation (#852) 2025-01-23 08:19:51 -08:00
remote-vllm.md Fixed distro documentation (#852) 2025-01-23 08:19:51 -08:00
sambanova.md Sambanova inference provider (#555) 2025-01-23 12:20:28 -08:00
tgi.md Fixed distro documentation (#852) 2025-01-23 08:19:51 -08:00
together.md Fixed distro documentation (#852) 2025-01-23 08:19:51 -08:00