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 fde42c3 commit 0590fae
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/build_push_image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,15 +36,16 @@ jobs:

- name: Install dependencies
run: |
python -m pip install --upgrade 'pdm>=2.12,<3'
pdm install transformers
# python -m pip install --upgrade 'pdm>=2.12,<3'
# pdm install transformers
python -m pip install transformers torch
- name: Docker build and push
run: |
df -h
IMAGE_NAME="${DOCKER_REPO_NAME}:${TAG_VERSION}"
pdm run download_model.py --huggingface_token "${{ secrets.HUGGINGFACE_API_KEY }}"
python download_model.py --huggingface_token "${{ secrets.HUGGINGFACE_API_KEY }}"
cd src/compute_horde_prompt_gen
ls
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/smoke_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
run: |
cd src/compute_horde_prompt_gen
pdm run run.py --mock_model --number_of_batches 5 --number_of_prompts_per_batch 20 --uuids uuid1,uuid2,uuid3,uuid4,uuid5
python3 run.py --mock_model --number_of_batches 5 --number_of_prompts_per_batch 20 --uuids uuid1,uuid2,uuid3,uuid4,uuid5
# mkdir saved_models/
# mkdir output/
Expand Down

0 comments on commit 0590fae

Please sign in to comment.