mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-10-05 12:21:52 +00:00
update build cli
This commit is contained in:
parent
768ed09dec
commit
d1f0d17644
6 changed files with 109 additions and 117 deletions
|
@ -31,14 +31,14 @@ SERVER_DEPENDENCIES = [
|
|||
]
|
||||
|
||||
|
||||
def distribution_dependencies(distribution: DistributionSpec) -> List[str]:
|
||||
# only consider InlineProviderSpecs when calculating dependencies
|
||||
return [
|
||||
dep
|
||||
for provider_spec in distribution.provider_specs.values()
|
||||
if isinstance(provider_spec, InlineProviderSpec)
|
||||
for dep in provider_spec.pip_packages
|
||||
] + SERVER_DEPENDENCIES
|
||||
# def distribution_dependencies(distribution: DistributionSpec) -> List[str]:
|
||||
# # only consider InlineProviderSpecs when calculating dependencies
|
||||
# return [
|
||||
# dep
|
||||
# for provider_spec in distribution.provider_specs.values()
|
||||
# if isinstance(provider_spec, InlineProviderSpec)
|
||||
# for dep in provider_spec.pip_packages
|
||||
# ] + SERVER_DEPENDENCIES
|
||||
|
||||
|
||||
def stack_apis() -> List[Api]:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue