Elffuss BraidHub

kikocis/llama-stack public

main · 452 BRawPermalink
1# Copyright (c) Meta Platforms, Inc. and affiliates.
2# All rights reserved.
3#
4# This source code is licensed under the terms described in the LICENSE file in
5# the root directory of this source tree.
6
7from typing import Any
8
9from .config import SampleConfig
10
11
12async def get_adapter_impl(config: SampleConfig, _deps) -> Any:
13 from .sample import SampleInferenceImpl
14
15 impl = SampleInferenceImpl(config)
16 await impl.initialize()
17 return impl