Skip to content

Commit 3085777

Browse files
authored
Merge pull request #8 from weaviate/update-to-torch-2
Update python dependencies to newest versions
2 parents 360239b + c118e53 commit 3085777

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

.github/workflows/main.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
- uses: actions/checkout@v3
2424
- uses: actions/setup-python@v4
2525
with:
26-
python-version: "3.10"
26+
python-version: "3.11"
2727
- name: Login to Docker Hub
2828
if: ${{ !github.event.pull_request.head.repo.fork }}
2929
uses: docker/login-action@v2
@@ -53,7 +53,7 @@ jobs:
5353
- uses: actions/checkout@v3
5454
- uses: actions/setup-python@v4
5555
with:
56-
python-version: "3.10"
56+
python-version: "3.11"
5757
- name: Login to Docker Hub
5858
uses: docker/login-action@v2
5959
with:

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM python:3.10-slim-bullseye
1+
FROM python:3.11-slim
22

33
WORKDIR /app
44

requirements.txt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
fastapi==0.89.1
2-
torch==1.13.1
3-
torchvision==0.14.1
4-
uvicorn==0.20.0
5-
Pillow==9.4.0
1+
fastapi==0.95.1
2+
torch==2.0.0
3+
torchvision==0.15.1
4+
uvicorn==0.21.1
5+
Pillow==9.5.0

0 commit comments

Comments
 (0)