More progress towards llama distribution install

This commit is contained in:
Ashwin Bharambe 2024-08-01 16:40:43 -07:00
parent 5a583cf16e
commit dac2b5a1ed
11 changed files with 298 additions and 75 deletions

View file

@ -14,7 +14,7 @@ from hydra.core.global_hydra import GlobalHydra
from omegaconf import OmegaConf
DEFAULT_DUMP_DIR = os.path.expanduser("~/.llama/")
LLAMA_STACK_CONFIG_DIR = os.path.expanduser("~/.llama/")
def get_root_directory():
@ -26,7 +26,7 @@ def get_root_directory():
def get_default_config_dir():
return os.path.join(DEFAULT_DUMP_DIR, "configs")
return os.path.join(LLAMA_STACK_CONFIG_DIR, "configs")
def parse_config(config_dir: str, config_path: Optional[str] = None) -> str: