From 36e6907e8847d7ea8fdb8a38f761f2ec0f7e40b5 Mon Sep 17 00:00:00 2001 From: Dev Aggarwal Date: Wed, 4 Dec 2024 19:07:49 +0530 Subject: [PATCH] add github actions ci --- .github/workflows/build-imgs.yml | 25 +++++++++++++++++++++++++ common/requirements.txt | 2 +- scripts/run-dev.sh | 4 +--- 3 files changed, 27 insertions(+), 4 deletions(-) create mode 100644 .github/workflows/build-imgs.yml diff --git a/.github/workflows/build-imgs.yml b/.github/workflows/build-imgs.yml new file mode 100644 index 0000000..be447bf --- /dev/null +++ b/.github/workflows/build-imgs.yml @@ -0,0 +1,25 @@ +name: Docker Image CI (common) + +on: + push: + branches: [ "main" ] + paths: + - "common/**" + +jobs: + build: + runs-on: ubuntu-latest + steps: +# - name: Login to Docker Hub +# uses: docker/login-action@v3 +# with: +# username: ${{ vars.DOCKERHUB_USERNAME }} +# password: ${{ secrets.DOCKERHUB_TOKEN }} + - name: Set up Docker Buildx + uses: docker/setup-buildx-action@v3 + - name: Build and push + uses: docker/build-push-action@v6 + with: +# push: true + tags: "crgooeyprodwestus1.azurecr.io/gooey-gpu-common:latest" + file: "common/Dockerfile" diff --git a/common/requirements.txt b/common/requirements.txt index a932a1b..e2dfebb 100644 --- a/common/requirements.txt +++ b/common/requirements.txt @@ -7,7 +7,7 @@ accelerate ~= 0.20.3 celery ~= 5.3.0 pydantic ~= 1.10.9 redis ~= 4.5.5 -transformers ~= 4.44.0 +transformers ~= 4.46.3 ## pytorch --extra-index-url https://download.pytorch.org/whl/cu124 diff --git a/scripts/run-dev.sh b/scripts/run-dev.sh index 4350b50..9e25149 100755 --- a/scripts/run-dev.sh +++ b/scripts/run-dev.sh @@ -34,9 +34,7 @@ docker run \ facebook/mms-1b-all "\ -e WHISPER_MODEL_IDS=" - openai/whisper-large-v2 - vasista22/whisper-telugu-large-v2 - vasista22/whisper-hindi-large-v2 + dmatekenya/whisper-large-v3-chichewa " \ -e SD_MODEL_IDS=" stabilityai/stable-diffusion-2-inpainting