mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-12-17 23:59:47 +00:00
some improvements for none cases
This commit is contained in:
parent
89aadb793a
commit
22875a5ce0
4 changed files with 11 additions and 15 deletions
|
|
@ -121,6 +121,8 @@ def build_image(build_config: BuildConfig, build_file_path: Path):
|
|||
str(BUILDS_BASE_DIR / ImageType.docker.value),
|
||||
" ".join(normal_deps),
|
||||
]
|
||||
if build_config.platform is not None:
|
||||
args.append(build_config.platform)
|
||||
elif build_config.image_type == ImageType.conda.value:
|
||||
script = pkg_resources.resource_filename(
|
||||
"llama_stack", "distribution/build_conda_env.sh"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue