move core -> distribution

This commit is contained in:
Ashwin Bharambe 2024-09-17 11:29:07 -07:00
parent bbf0b59ae4
commit 17172a8bf9
46 changed files with 70 additions and 57 deletions

View file

@ -4,7 +4,7 @@
# This source code is licensed under the terms described in the LICENSE file in
# the root directory of this source tree.
from llama_stack.core.datatypes import RemoteProviderConfig
from llama_stack.distribution.datatypes import RemoteProviderConfig
async def get_adapter_impl(config: RemoteProviderConfig, _deps):

View file

@ -4,7 +4,7 @@
# This source code is licensed under the terms described in the LICENSE file in
# the root directory of this source tree.
from llama_stack.core.datatypes import RemoteProviderConfig
from llama_stack.distribution.datatypes import RemoteProviderConfig
async def get_adapter_impl(config: RemoteProviderConfig, _deps):

View file

@ -6,7 +6,7 @@
from typing import Dict
from llama_stack.core.datatypes import Api, ProviderSpec
from llama_stack.distribution.datatypes import Api, ProviderSpec
from .config import MetaReferenceImplConfig

View file

@ -30,7 +30,7 @@ from llama_models.llama3.reference_impl.model import Transformer
from llama_models.sku_list import resolve_model
from llama_stack.apis.inference import QuantizationType
from llama_stack.common.model_utils import model_local_dir
from llama_stack.distribution.utils.model_utils import model_local_dir
from termcolor import cprint
from .config import MetaReferenceImplConfig

View file

@ -8,7 +8,7 @@ import asyncio
from llama_models.sku_list import resolve_model
from llama_stack.common.model_utils import model_local_dir
from llama_stack.distribution.utils.model_utils import model_local_dir
from llama_stack.apis.safety import * # noqa
from .config import SafetyConfig

View file

@ -6,7 +6,7 @@
from typing import List
from llama_stack.core.datatypes import Api, InlineProviderSpec, ProviderSpec
from llama_stack.distribution.datatypes import Api, InlineProviderSpec, ProviderSpec
def available_providers() -> List[ProviderSpec]:

View file

@ -6,7 +6,7 @@
from typing import List
from llama_stack.core.datatypes import * # noqa: F403
from llama_stack.distribution.datatypes import * # noqa: F403
def available_providers() -> List[ProviderSpec]:

View file

@ -6,7 +6,7 @@
from typing import List
from llama_stack.core.datatypes import * # noqa: F403
from llama_stack.distribution.datatypes import * # noqa: F403
def available_providers() -> List[ProviderSpec]:

View file

@ -6,7 +6,7 @@
from typing import List
from llama_stack.core.datatypes import * # noqa: F403
from llama_stack.distribution.datatypes import * # noqa: F403
EMBEDDING_DEPS = [
"blobfile",

View file

@ -6,7 +6,7 @@
from typing import List
from llama_stack.core.datatypes import Api, InlineProviderSpec, ProviderSpec
from llama_stack.distribution.datatypes import Api, InlineProviderSpec, ProviderSpec
def available_providers() -> List[ProviderSpec]:

View file

@ -6,7 +6,7 @@
from typing import List
from llama_stack.core.datatypes import * # noqa: F403
from llama_stack.distribution.datatypes import * # noqa: F403
def available_providers() -> List[ProviderSpec]:

View file

@ -6,7 +6,7 @@
from typing import Any, List, Tuple
from llama_stack.core.datatypes import Api
from llama_stack.distribution.datatypes import Api
async def get_router_impl(inner_impls: List[Tuple[str, Any]], deps: List[Api]):

View file

@ -6,7 +6,7 @@
from typing import Any, Dict, List, Tuple
from llama_stack.core.datatypes import Api
from llama_stack.distribution.datatypes import Api
from llama_stack.apis.memory import * # noqa: F403