Skip to content

Commit

Permalink
Update build llama binary script to pull from GHCR
Browse files Browse the repository at this point in the history
  • Loading branch information
chmjkb committed Nov 15, 2024
1 parent 402030b commit 80ba6b8
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions llama_export/build_llama_binary.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,8 @@ fi
[ -f "$MODEL_PATH" ] || { echo "$MODEL_PATH is not a valid path! Make sure to pass a proper path to the model weights!" >&2; exit 1; }
[ -f "$PARAMS_PATH" ] || { echo "$PARAMS_PATH is not a valid path! Make sure to pass a proper path to the model parameters!" >&2; exit 1; }

# Temporarily, someday we'll pull from docker hub
IMAGE_TAG="executorch-llama-export-image"
docker build -t "$IMAGE_TAG" "$REPO_ROOT/llama_export/."
IMAGE_TAG="ghcr.io/software-mansion/react-native-executorch/executorch-llama-export:latest"
docker pull "$IMAGE_TAG"

mkdir -p "$OUTPUT_PATH"

Expand Down

0 comments on commit 80ba6b8

Please sign in to comment.