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

Commit

Permalink
fix missing --rm --gpus all flags
Browse files Browse the repository at this point in the history
  • Loading branch information
casperdcl committed Jul 24, 2023
1 parent 692d3fd commit 13653e0
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion a2t-whisper/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,5 @@ docker buildx build ${@:1} \
--tag $IMAGE:$VERSION \
.
if test -z ${TESTS_SKIP_GPU+x}; then
docker run --rm $IMAGE:$VERSION pytest
docker run --rm --gpus all $IMAGE:$VERSION pytest
fi
2 changes: 1 addition & 1 deletion cht-dolly-v2/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ docker buildx build ${@:1} \
--tag $IMAGE:$VERSION \
.
if test -z ${TESTS_SKIP_GPU+x}; then
docker run --gpus all $IMAGE:$VERSION pytest
docker run --rm --gpus all $IMAGE:$VERSION pytest
fi
2 changes: 1 addition & 1 deletion cht-falcon/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ docker buildx build ${@:1} \
--tag $IMAGE:$VERSION \
.
if test -z ${TESTS_SKIP_GPU+x}; then
docker run --gpus all $IMAGE:$VERSION pytest
docker run --rm --gpus all $IMAGE:$VERSION pytest
fi
4 changes: 2 additions & 2 deletions cht-gorilla/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ docker buildx build ${@:1} \
--tag $IMAGE:$VERSION \
.
if test -z ${TESTS_SKIP_GPU+x}; then
docker run --gpus all $IMAGE:$VERSION pytest
docker run --rm --gpus all $IMAGE:$VERSION pytest
fi

IMAGE=ghcr.io/premai-io/chat-gorilla-mpt-7b-gpu
Expand All @@ -21,5 +21,5 @@ docker buildx build ${@:1} \
--tag $IMAGE:$VERSION \
.
if test -z ${TESTS_SKIP_GPU+x}; then
docker run --gpus all $IMAGE:$VERSION pytest
docker run --rm --gpus all $IMAGE:$VERSION pytest
fi
2 changes: 1 addition & 1 deletion cht-mpt/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ docker buildx build ${@:1} \
--tag $IMAGE:$VERSION \
.
if test -z ${TESTS_SKIP_GPU+x}; then
docker run --gpus all $IMAGE:$VERSION pytest
docker run --rm --gpus all $IMAGE:$VERSION pytest
fi

IMAGE=ghcr.io/premai-io/mpt-7b-gpu
Expand Down
2 changes: 1 addition & 1 deletion cht-xgen/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ docker buildx build ${@:1} \
--tag $IMAGE:$VERSION \
.
if test -z ${TESTS_SKIP_GPU+x}; then
docker run --gpus all $IMAGE:$VERSION pytest
docker run --rm --gpus all $IMAGE:$VERSION pytest
fi

0 comments on commit 13653e0

Please sign in to comment.