Skip to content
This repository has been archived by the owner on Dec 6, 2023. It is now read-only.

Commit

Permalink
update: script for falcon-7b-instruct image
Browse files Browse the repository at this point in the history
  • Loading branch information
biswaroop1547 committed Jun 28, 2023
1 parent 7de5f92 commit f9881fb
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions scripts/cht_falcon.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ set -e
export VERSION=1.0.0

docker buildx build --push \
--cache-from ghcr.io/premai-io/chat-falcon-7b-gpu:latest \
--cache-from ghcr.io/premai-io/chat-falcon-7b-instruct-gpu:latest \
--file ./cht-falcon/docker/gpu/Dockerfile \
--build-arg="MODEL_ID=tiiuae/falcon-7b" \
--tag ghcr.io/premai-io/chat-falcon-7b-gpu:latest \
--tag ghcr.io/premai-io/chat-falcon-7b-gpu:$VERSION \
--build-arg="MODEL_ID=tiiuae/falcon-7b-instruct" \
--tag ghcr.io/premai-io/chat-falcon-7b-instruct-gpu:latest \
--tag ghcr.io/premai-io/chat-falcon-7b-instruct-gpu:$VERSION \
./cht-falcon
docker run --gpus all ghcr.io/premai-io/chat-falcon-7b-gpu:latest pytest
docker run --gpus all ghcr.io/premai-io/chat-falcon-7b-instruct-gpu:latest pytest

0 comments on commit f9881fb

Please sign in to comment.