| 1 | # Copyright (c) Meta Platforms, Inc. and affiliates. |
| 2 | # All rights reserved. |
| 3 | # |
| 4 | # This source code is licensed under the terms described in the LICENSE file in |
| 5 | # the root directory of this source tree. |
| 6 | |
| 7 | import os |
| 8 | from pathlib import Path |
| 9 | |
| 10 | |
| 11 | LLAMA_STACK_CONFIG_DIR = Path(os.path.expanduser("~/.llama/")) |
| 12 | |
| 13 | DISTRIBS_BASE_DIR = LLAMA_STACK_CONFIG_DIR / "distributions" |
| 14 | |
| 15 | DEFAULT_CHECKPOINT_DIR = LLAMA_STACK_CONFIG_DIR / "checkpoints" |
| 16 | |
| 17 | BUILDS_BASE_DIR = LLAMA_STACK_CONFIG_DIR / "builds" |
| 18 | |
| 19 | RUNTIME_BASE_DIR = LLAMA_STACK_CONFIG_DIR / "runtime" |