mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-10-04 04:04:14 +00:00
getting closer to a distro definition, distro install + configure works
This commit is contained in:
parent
dac2b5a1ed
commit
041cafbee3
11 changed files with 471 additions and 130 deletions
|
@ -6,6 +6,7 @@
|
|||
|
||||
import getpass
|
||||
import os
|
||||
from pathlib import Path
|
||||
from typing import Optional
|
||||
|
||||
from hydra import compose, initialize, MissingConfigException
|
||||
|
@ -16,6 +17,8 @@ from omegaconf import OmegaConf
|
|||
|
||||
LLAMA_STACK_CONFIG_DIR = os.path.expanduser("~/.llama/")
|
||||
|
||||
DISTRIBS_BASE_DIR = Path(LLAMA_STACK_CONFIG_DIR) / "distributions"
|
||||
|
||||
|
||||
def get_root_directory():
|
||||
current_dir = os.path.dirname(os.path.abspath(__file__))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue