Skip to content

Commit

Permalink
add github actions ci
Browse files Browse the repository at this point in the history
  • Loading branch information
devxpy committed Dec 4, 2024
1 parent 3d19714 commit 36e6907
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 4 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/build-imgs.yml
Original file line number Diff line number Diff line change
@@ -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"
2 changes: 1 addition & 1 deletion common/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 1 addition & 3 deletions scripts/run-dev.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 36e6907

Please sign in to comment.