kikocis/llama-stack public
| 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 | |
| 9 | from .config_dirs import DEFAULT_CHECKPOINT_DIR |
| 10 | |
| 11 | |
| 12 | def model_local_dir(descriptor: str) -> str: |
| 13 | return os.path.join(DEFAULT_CHECKPOINT_DIR, descriptor) |