mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-10-04 12:07:34 +00:00
implement full-passthrough in the server
This commit is contained in:
parent
38fd76f85c
commit
9dafa6ad94
8 changed files with 69 additions and 71 deletions
|
@ -30,6 +30,7 @@ class DistributionInstall(Subcommand):
|
|||
|
||||
def _add_arguments(self):
|
||||
from llama_toolchain.distribution.registry import available_distributions
|
||||
|
||||
self.parser.add_argument(
|
||||
"--name",
|
||||
type=str,
|
||||
|
@ -63,7 +64,7 @@ class DistributionInstall(Subcommand):
|
|||
os.makedirs(DISTRIBS_BASE_DIR / dist.name, exist_ok=True)
|
||||
|
||||
deps = distribution_dependencies(dist)
|
||||
run_command([script, args.conda_env, " ".join(deps)])
|
||||
run_with_pty([script, args.conda_env, " ".join(deps)])
|
||||
with open(DISTRIBS_BASE_DIR / dist.name / "conda.env", "w") as f:
|
||||
f.write(f"{args.conda_env}\n")
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue