mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-07-30 07:39:38 +00:00
clean up build
This commit is contained in:
parent
085f9fcce3
commit
3dca86684c
1 changed files with 0 additions and 10 deletions
|
@ -72,16 +72,6 @@ class StackBuild(Subcommand):
|
||||||
from llama_toolchain.core.package import ApiInput, build_package, ImageType
|
from llama_toolchain.core.package import ApiInput, build_package, ImageType
|
||||||
from termcolor import cprint
|
from termcolor import cprint
|
||||||
|
|
||||||
# expect build to take in a distribution spec file
|
|
||||||
api_inputs = []
|
|
||||||
for api, provider_type in build_config.distribution_spec.providers.items():
|
|
||||||
api_inputs.append(
|
|
||||||
ApiInput(
|
|
||||||
api=Api(api),
|
|
||||||
provider=provider_type,
|
|
||||||
)
|
|
||||||
)
|
|
||||||
|
|
||||||
build_package(build_config)
|
build_package(build_config)
|
||||||
|
|
||||||
# save build.yaml spec for building same distribution again
|
# save build.yaml spec for building same distribution again
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue