Skip to content

Commit

Permalink
f
Browse files Browse the repository at this point in the history
  • Loading branch information
andreea-popescu-reef committed Sep 4, 2024
1 parent 9cceac0 commit ec8f155
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build_push_image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
echo "-----"
ls
echo "-----"
pdm install
pdm install transformers
echo "----- done"
- name: Docker build and push
Expand All @@ -60,6 +60,6 @@ jobs:
ls
echo "-----"
docker build -t "${{ secrets.HUGGINGFACE_API_KEY }}" -horde-prompt-gen .
docker build -t "${{ IMAGE_NAME }}" -horde-prompt-gen .
docker run -v ./output/:/app/output/ "${{ secrets.HUGGINGFACE_API_KEY }}" --number_of_batches 5 --number_of_prompts_per_batch 30 --uuids uuid1,uuid2,uuid3,uuid4,uuid5
docker run -v ./output/:/app/output/ "${{ IMAGE_NAME }}" --number_of_batches 5 --number_of_prompts_per_batch 30 --uuids uuid1,uuid2,uuid3,uuid4,uuid5
9 changes: 5 additions & 4 deletions .github/workflows/smoke_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,15 @@ jobs:
with:
python-version: ${{ env.PYTHON_DEFAULT_VERSION }}

- name: Install dependencies
run: |
python -m pip install --upgrade 'pdm>=2.12,<3'
pdm install
# - name: Install dependencies
# run: |
# python -m pip install --upgrade 'pdm>=2.12,<3'
# pdm install

- name: Run Test
run: |
cd src/compute_horde_prompt_gen
mkdir saved_models/
mkdir output/
echo "building image with no model"
Expand Down

0 comments on commit ec8f155

Please sign in to comment.