Skip to content

Commit

Permalink
check with former torch version
Browse files Browse the repository at this point in the history
  • Loading branch information
KissPeter committed Jul 13, 2023
1 parent a1a2579 commit 7dba5d2
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 5 deletions.
20 changes: 19 additions & 1 deletion .github/workflows/build_dockers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,22 @@ jobs:
uses: ishworkh/docker-image-artifact-upload@v1
with:
image: "sentiment_score:latest"
retention_days: "30"
retention_days: "30"
- name: Prepare logs folder
run: |
mkdir ./logs
docker stats --no-stream
- name: Collect docker logs on failure
if: failure()
uses: jwalton/gh-docker-logs@v2
with:
dest: './logs'
- name: Tar logs
if: failure()
run: tar cvzf ./logs.tgz ./logs
- name: Upload logs to GitHub
if: failure()
uses: actions/upload-artifact@master
with:
name: logs.tgz
path: ./logs.tgz
2 changes: 1 addition & 1 deletion Dockerfile_download_model_data
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ COPY requirements.txt .
COPY torch_requirements.txt .
RUN pip3 install -r requirements.txt
RUN pip3 install -r torch_requirements.txt
RUN find .
RUN find / -name *libgomp.so*
CMD python3 download_models.py
6 changes: 3 additions & 3 deletions torch_requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
--index-url https://download.pytorch.org/whl/cpu
torch
torchvision
torchaudio
torch==2.0.0
torchvision==0.15.1
torchaudio==2.0.1

0 comments on commit 7dba5d2

Please sign in to comment.