mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-12-20 12:18:41 +00:00
add build and dt types for platfrom
This commit is contained in:
parent
cb8a28c128
commit
12858d6d61
2 changed files with 26 additions and 1 deletions
|
|
@ -25,6 +25,7 @@ from llama_stack.providers.utils.kvstore.config import KVStoreConfig
|
|||
|
||||
LLAMA_STACK_BUILD_CONFIG_VERSION = "2"
|
||||
LLAMA_STACK_RUN_CONFIG_VERSION = "2"
|
||||
LLAMA_STACK_DEFAULT_PLATFORM = "linux/arm64"
|
||||
|
||||
|
||||
RoutingKey = Union[str, List[str]]
|
||||
|
|
@ -167,3 +168,7 @@ class BuildConfig(BaseModel):
|
|||
default="conda",
|
||||
description="Type of package to build (conda | docker | venv)",
|
||||
)
|
||||
platform: str = Field(
|
||||
default=LLAMA_STACK_DEFAULT_PLATFORM,
|
||||
description="The platform for docker image, defaults to linux/arm64",
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue