mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-07-30 07:39:38 +00:00
Rename checkpoint directory env var
This commit is contained in:
parent
f6b658e8b9
commit
00829b8537
1 changed files with 3 additions and 3 deletions
|
@ -48,7 +48,7 @@ on:
|
|||
|
||||
env:
|
||||
# Path to model checkpoints within EFS volume
|
||||
CHECKPOINT_DIR: "/data/llama"
|
||||
MODEL_CHECKPOINT_DIR: "/data/llama"
|
||||
|
||||
# Path to directory to run tests from
|
||||
TESTS_PATH: "${{ github.workspace }}/llama_stack/providers/tests"
|
||||
|
@ -95,13 +95,13 @@ jobs:
|
|||
if: inputs.debug == 'true'
|
||||
run: |
|
||||
echo "========= Content of the EFS mount ============="
|
||||
ls -la ${{ env.CHECKPOINT_DIR }}
|
||||
ls -la ${{ env.MODEL_CHECKPOINT_DIR }}
|
||||
|
||||
- name: "Check if models exist in EFS volume"
|
||||
id: check_if_models_exist
|
||||
run: |
|
||||
for model_id in ${MODEL_IDS//,/ }; do
|
||||
model_path="${CHECKPOINT_DIR}/${model_id}"
|
||||
model_path="${MODEL_CHECKPOINT_DIR}/${model_id}"
|
||||
if [ ! -d "${model_path}" ]; then
|
||||
echo "Model '${model_id}' does not exist in mounted EFS volume, Terminating workflow."
|
||||
exit 1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue