mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-07-29 15:23:51 +00:00
move build.yaml
This commit is contained in:
parent
5991b0ddb6
commit
3b4351062f
2 changed files with 5 additions and 2 deletions
|
@ -63,7 +63,10 @@ class StackBuild(Subcommand):
|
|||
llama_stack_path / "configs/distributions" / build_config.image_type
|
||||
)
|
||||
else:
|
||||
build_dir = Path(os.getenv("CONDA_PREFIX")).parent
|
||||
build_dir = (
|
||||
Path(os.getenv("CONDA_PREFIX")).parent
|
||||
/ f"llamastack-{build_config.name}"
|
||||
)
|
||||
|
||||
os.makedirs(build_dir, exist_ok=True)
|
||||
build_file_path = build_dir / f"{build_config.name}-build.yaml"
|
||||
|
|
|
@ -52,7 +52,7 @@ class StackConfigure(Subcommand):
|
|||
from llama_stack.distribution.build import ImageType
|
||||
|
||||
docker_image = None
|
||||
conda_dir = Path(os.getenv("CONDA_PREFIX")).parent
|
||||
conda_dir = Path(os.getenv("CONDA_PREFIX")).parent / f"llamastack-{args.config}"
|
||||
build_config_file = Path(conda_dir) / f"{args.config}-build.yaml"
|
||||
|
||||
if not build_config_file.exists():
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue