Skip to content

Commit

Permalink
dependabot fix
Browse files Browse the repository at this point in the history
Signed-off-by: Abhishek Gaikwad <gaikwadabhishek1997@gmail.com>
  • Loading branch information
gaikwadabhishek committed Feb 6, 2024
1 parent f7c9707 commit 13da8c6
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ test:torchvision:
extends: .test_template
needs: ["build:torchvision"]
script:
- pip install torchvision --index-url https://download.pytorch.org/whl/cpu
- pip install torchvision==0.16.1 --index-url https://download.pytorch.org/whl/cpu
- cd transformers/tests && pytest -v test_torchvision_transformer.py

test:keras:
Expand Down
4 changes: 2 additions & 2 deletions transformers/echo/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
fastapi
fastapi>=0.109.1
uvicorn[standard]
gunicorn
aiohttp
aiohttp>=3.9.2
4 changes: 2 additions & 2 deletions transformers/face_detection/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
fastapi
fastapi>=0.109.1
uvicorn[standard]
gunicorn
aiohttp
aiohttp>=3.9.2
numpy
opencv-python
aiofiles
Expand Down
4 changes: 2 additions & 2 deletions transformers/hello_world/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
fastapi==0.101.1
fastapi>=0.109.1
uvicorn[standard]===0.23.2
gunicorn==21.2.0
aiohttp
aiohttp>=3.9.2
4 changes: 2 additions & 2 deletions transformers/keras_preprocess/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
fastapi==0.104.1
fastapi>=0.109.1
uvicorn==0.24.0.post1
gunicorn==21.2.0
aiohttp==3.9.1
aiohttp>=3.9.2
pillow==10.2.0
scipy==1.10.1
keras==2.12.0
Expand Down
2 changes: 1 addition & 1 deletion transformers/tests/test_torchvision_transformer.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def setUp(self):
def simple_torchvision_test(self, communication_type):
template = TORCHVISION_TRANSFORMER.format(
communication_type=communication_type,
transform='{"Resize": {"size": [100, 100]}, "Grayscale": {"num_output_channels": 1}}',
transform="{\"Resize\": {\"size\": [100, 100]}, \"Grayscale\": {\"num_output_channels\": 1}}",
format="JPEG",
)

Expand Down
4 changes: 2 additions & 2 deletions transformers/torchvision_preprocess/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
fastapi==0.104.1
fastapi>=0.109.1
uvicorn==0.24.0.post1
gunicorn==21.2.0
aiohttp==3.9.1
aiohttp>=3.9.2
pillow==10.2.0
torchvision==0.16.1

0 comments on commit 13da8c6

Please sign in to comment.