skeleton models api

This commit is contained in:
Xi Yan 2024-09-19 16:26:24 -07:00
parent 59af1c8fec
commit 68131afc86
9 changed files with 233 additions and 10 deletions

View file

@ -0,0 +1,18 @@
# Copyright (c) Meta Platforms, Inc. and affiliates.
# All rights reserved.
#
# This source code is licensed under the terms described in the LICENSE file in
# the root directory of this source tree.
from typing import Optional
from llama_models.datatypes import ModelFamily
from llama_models.schema_utils import json_schema_type
from llama_models.sku_list import all_registered_models, resolve_model
from pydantic import BaseModel, Field, field_validator
@json_schema_type
class BuiltinImplConfig(BaseModel): ...