From 32df363b487a000c8a88dafe6c212c05b0c20586 Mon Sep 17 00:00:00 2001 From: Xi Yan Date: Fri, 25 Oct 2024 12:09:45 -0700 Subject: [PATCH] fix templates --- llama_stack/cli/stack/build.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/llama_stack/cli/stack/build.py b/llama_stack/cli/stack/build.py index 098932f8a..0b49728c7 100644 --- a/llama_stack/cli/stack/build.py +++ b/llama_stack/cli/stack/build.py @@ -12,9 +12,7 @@ import os from functools import lru_cache from pathlib import Path -TEMPLATES_PATH = ( - Path(os.path.relpath(__file__)).parent.parent.parent.parent / "distributions" -) +TEMPLATES_PATH = Path(os.path.relpath(__file__)).parent.parent.parent / "templates" @lru_cache() @@ -26,7 +24,6 @@ def available_templates_specs() -> List[BuildConfig]: with open(p, "r") as f: build_config = BuildConfig(**yaml.safe_load(f)) template_specs.append(build_config) - return template_specs