Skip to content

Commit

Permalink
chore: rebuild phi3.5 image
Browse files Browse the repository at this point in the history
Signed-off-by: jerryzhuang <[email protected]>
  • Loading branch information
zhuangqh committed Dec 4, 2024
1 parent 0f9a11d commit 9ddfbd5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 19 deletions.
19 changes: 1 addition & 18 deletions .github/actions/build-image-action/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -111,25 +111,8 @@ runs:

- name: Check if Image exists in target ACR
id: check_test_image
run: |
ACR_NAME=${{ inputs.acr_name }}
IMAGE_NAME=${{ inputs.image_name }}
TAG=${{ inputs.image_tag }}
# Use '|| true' to prevent script from exiting with an error if the repository is not found
TAGS=$(az acr repository show-tags -n $ACR_NAME --repository $IMAGE_NAME --output tsv || true)
run: echo "IMAGE_EXISTS=false" >> $GITHUB_OUTPUT

if [[ -z "$TAGS" ]]; then
echo "Image $IMAGE_NAME:$TAG or repository not found in $ACR_NAME."
echo "IMAGE_EXISTS=false" >> $GITHUB_OUTPUT
else
if echo "$TAGS" | grep -q "^$TAG$"; then
echo "IMAGE_EXISTS=true" >> $GITHUB_OUTPUT
else
echo "IMAGE_EXISTS=false" >> $GITHUB_OUTPUT
echo "Image $IMAGE_NAME:$TAG not found in $ACR_NAME."
fi
fi
shell: bash

- name: Launch Python Script to Kickoff Build Jobs
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/kind-cluster/determine_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ def main():
elif force_run_all_public != "false":
affected_models = [model['name'] for model in YAML_PR['models'] if "llama" not in model['name']]
elif force_run_all_phi != "false":
affected_models = [model['name'] for model in YAML_PR['models'] if 'phi-3' in model['name']]
affected_models = [model['name'] for model in YAML_PR['models'] if 'phi-3.5' in model['name']]
else:
# Logic to determine affected models
# Example: affected_models = ['model1', 'model2', 'model3']
Expand Down

0 comments on commit 9ddfbd5

Please sign in to comment.