cli updates

This commit is contained in:
Hardik Shah 2024-07-21 01:51:54 -07:00
parent 23fe353e4a
commit c9f33d8f68
5 changed files with 14 additions and 9 deletions

View file

@ -5,9 +5,11 @@ import textwrap
from pathlib import Path
from toolchain.cli.subcommand import Subcommand
from toolchain.utils import DEFAULT_DUMP_DIR
CONFIGS_BASE_DIR = f"{os.path.expanduser('~')}/.llama/configs/"
CONFIGS_BASE_DIR = os.path.join(DEFAULT_DUMP_DIR, "configs")
class InferenceConfigure(Subcommand):
"""Llama cli for configuring llama toolchain configs"""

View file

@ -43,6 +43,7 @@ class InferenceStart(Subcommand):
"--config",
type=str,
help="Path to config file",
default="inference"
)
def _run_inference_start_cmd(self, args: argparse.Namespace) -> None: