mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-08-11 20:40:40 +00:00
change to dev
This commit is contained in:
parent
3742affaaa
commit
98549b826d
2 changed files with 4 additions and 8 deletions
|
@ -57,12 +57,8 @@ from .config import CentMLImplConfig
|
||||||
# published model identifiers to llama-stack's `CoreModelId`.
|
# published model identifiers to llama-stack's `CoreModelId`.
|
||||||
MODEL_ALIASES = [
|
MODEL_ALIASES = [
|
||||||
build_model_entry(
|
build_model_entry(
|
||||||
"meta-llama/Llama-3.3-70B-Instruct",
|
"meta-llama/Llama-3.2-3B-Instruct",
|
||||||
CoreModelId.llama3_3_70b_instruct.value,
|
CoreModelId.llama3_2_3b_instruct.value,
|
||||||
),
|
|
||||||
build_model_entry(
|
|
||||||
"meta-llama/Llama-3.1-405B-Instruct-FP8",
|
|
||||||
CoreModelId.llama3_1_405b_instruct.value,
|
|
||||||
),
|
),
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
|
@ -13,7 +13,7 @@ from pydantic import BaseModel, Field, SecretStr
|
||||||
@json_schema_type
|
@json_schema_type
|
||||||
class CentMLImplConfig(BaseModel):
|
class CentMLImplConfig(BaseModel):
|
||||||
url: str = Field(
|
url: str = Field(
|
||||||
default="https://api.centml.com/openai/v1",
|
default="https://api.centml.org/openai/v1",
|
||||||
description="The CentML API server URL",
|
description="The CentML API server URL",
|
||||||
)
|
)
|
||||||
api_key: Optional[SecretStr] = Field(
|
api_key: Optional[SecretStr] = Field(
|
||||||
|
@ -24,6 +24,6 @@ class CentMLImplConfig(BaseModel):
|
||||||
@classmethod
|
@classmethod
|
||||||
def sample_run_config(cls, **kwargs) -> Dict[str, Any]:
|
def sample_run_config(cls, **kwargs) -> Dict[str, Any]:
|
||||||
return {
|
return {
|
||||||
"url": "https://api.centml.com/openai/v1",
|
"url": "https://api.centml.org/openai/v1",
|
||||||
"api_key": "${env.CENTML_API_KEY}",
|
"api_key": "${env.CENTML_API_KEY}",
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue