mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-08-10 04:08:31 +00:00
fix: fixed import error
This commit is contained in:
parent
bfc79217a8
commit
e93518fe06
1 changed files with 2 additions and 2 deletions
|
@ -18,7 +18,7 @@ import fire
|
||||||
|
|
||||||
from llama_stack.models.llama.sku_list import resolve_model
|
from llama_stack.models.llama.sku_list import resolve_model
|
||||||
from llama_stack.providers.inline.inference.meta_reference.config import MetaReferenceInferenceConfig
|
from llama_stack.providers.inline.inference.meta_reference.config import MetaReferenceInferenceConfig
|
||||||
from llama_stack.providers.inline.inference.meta_reference.generation import Llama
|
from llama_stack.providers.inline.inference.meta_reference.llama3.generation import Llama3
|
||||||
|
|
||||||
THIS_DIR = Path(__file__).parent.resolve()
|
THIS_DIR = Path(__file__).parent.resolve()
|
||||||
|
|
||||||
|
@ -41,7 +41,7 @@ def run_main(
|
||||||
llama_model = resolve_model(model_id)
|
llama_model = resolve_model(model_id)
|
||||||
if not llama_model:
|
if not llama_model:
|
||||||
raise ValueError(f"Model {model_id} not found")
|
raise ValueError(f"Model {model_id} not found")
|
||||||
generator = Llama.build(
|
generator = Llama3.build(
|
||||||
config=config,
|
config=config,
|
||||||
model_id=model_id,
|
model_id=model_id,
|
||||||
llama_model=llama_model,
|
llama_model=llama_model,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue