mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-07-30 23:51:00 +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:
|
env:
|
||||||
# Path to model checkpoints within EFS volume
|
# Path to model checkpoints within EFS volume
|
||||||
CHECKPOINT_DIR: "/data/llama"
|
MODEL_CHECKPOINT_DIR: "/data/llama"
|
||||||
|
|
||||||
# Path to directory to run tests from
|
# Path to directory to run tests from
|
||||||
TESTS_PATH: "${{ github.workspace }}/llama_stack/providers/tests"
|
TESTS_PATH: "${{ github.workspace }}/llama_stack/providers/tests"
|
||||||
|
@ -95,13 +95,13 @@ jobs:
|
||||||
if: inputs.debug == 'true'
|
if: inputs.debug == 'true'
|
||||||
run: |
|
run: |
|
||||||
echo "========= Content of the EFS mount ============="
|
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"
|
- name: "Check if models exist in EFS volume"
|
||||||
id: check_if_models_exist
|
id: check_if_models_exist
|
||||||
run: |
|
run: |
|
||||||
for model_id in ${MODEL_IDS//,/ }; do
|
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
|
if [ ! -d "${model_path}" ]; then
|
||||||
echo "Model '${model_id}' does not exist in mounted EFS volume, Terminating workflow."
|
echo "Model '${model_id}' does not exist in mounted EFS volume, Terminating workflow."
|
||||||
exit 1
|
exit 1
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue