mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-10-04 20:14:13 +00:00
conda build path move
This commit is contained in:
parent
b611e8bbd2
commit
139e0af416
2 changed files with 5 additions and 6 deletions
|
@ -58,7 +58,7 @@ class StackBuild(Subcommand):
|
|||
llama_stack_path / "configs/distributions" / build_config.image_type
|
||||
)
|
||||
else:
|
||||
build_dir = DISTRIBS_BASE_DIR / build_config.image_type
|
||||
build_dir = Path(os.getenv("CONDA_PREFIX")).parent
|
||||
|
||||
os.makedirs(build_dir, exist_ok=True)
|
||||
build_file_path = build_dir / f"{build_config.name}-build.yaml"
|
||||
|
@ -79,9 +79,6 @@ class StackBuild(Subcommand):
|
|||
from llama_stack.distribution.utils.prompt_for_config import prompt_for_config
|
||||
|
||||
if not args.config:
|
||||
# self.parser.error(
|
||||
# "No config file specified. Please use `llama stack build /path/to/*-build.yaml`. Example config files can be found in llama_stack/distribution/example_configs"
|
||||
# )
|
||||
build_config = prompt_for_config(BuildConfig, None)
|
||||
self._run_stack_build_command_from_build_config(build_config)
|
||||
return
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue