Add vLLM provider

Signed-off-by: Yuan Tang <terrytangyuan@gmail.com>
This commit is contained in:
Yuan Tang 2024-10-03 13:01:56 -04:00
parent 95a96afe34
commit 925e1afb5b
No known key found for this signature in database
4 changed files with 317 additions and 0 deletions

View file

@ -60,6 +60,14 @@ def available_providers() -> List[ProviderSpec]:
module="llama_stack.providers.adapters.inference.ollama",
),
),
remote_provider_spec(
api=Api.inference,
adapter=AdapterSpec(
adapter_type="vllm",
pip_packages=["openai"],
module="llama_stack.providers.adapters.inference.vllm",
),
),
remote_provider_spec(
api=Api.inference,
adapter=AdapterSpec(