-
Notifications
You must be signed in to change notification settings - Fork 579
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CLI - add back build wizard, configure with name instead of build.yaml #74
Conversation
llama_stack/cli/stack/build.py
Outdated
@@ -57,7 +58,7 @@ def _run_stack_build_command_from_build_config( | |||
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 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
don't we need to use the CONDA_PREFIX within the build_conda_env.sh
script?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@yanxi0830 how does the current conda environment end up working?
llama_stack/cli/stack/build.py
Outdated
@@ -57,7 +58,7 @@ def _run_stack_build_command_from_build_config( | |||
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 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@yanxi0830 how does the current conda environment end up working?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lets go!
#74) * add back wizard for build * conda build path move * polish message * run with name only * prompt for build * improve comments * update msgs * add new lines * move build.yaml * address comments * validator for providers * move imports * Please enter -> enter * comments, get started guide * nits * fix cprint import * fix imports
✅ add back wizard for
llama stack build
✅ configure with conda to take name, save conda build.yaml inside $CONDA_ENVS
✅ run with name only
✅ polish messages & readme