mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-12-13 04:22:35 +00:00
add deepinfra inference provider
This commit is contained in:
parent
6b094b72d3
commit
4a336ca8ba
5 changed files with 321 additions and 0 deletions
|
|
@ -115,6 +115,17 @@ def available_providers() -> List[ProviderSpec]:
|
|||
config_class="llama_stack.providers.adapters.inference.databricks.DatabricksImplConfig",
|
||||
),
|
||||
),
|
||||
remote_provider_spec(
|
||||
api=Api.inference,
|
||||
adapter=AdapterSpec(
|
||||
adapter_type="deepinfra",
|
||||
pip_packages=[
|
||||
"openai",
|
||||
],
|
||||
module="llama_stack.providers.adapters.inference.deepinfra",
|
||||
config_class="llama_stack.providers.adapters.inference.deepinfra.DeepInfraImplConfig",
|
||||
),
|
||||
),
|
||||
InlineProviderSpec(
|
||||
api=Api.inference,
|
||||
provider_type="vllm",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue