Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 47d0c2e

Browse filesBrowse files
authored
Fix python failing tests (#1299)
Summary: 1. Pick specific version of torchvision to fix dependency errors 2. Pin numpy to be below version 2. 3. Update Python version in python tests. Test Plan: Tested locally.
1 parent cdef4d4 commit 47d0c2e
Copy full SHA for 47d0c2e

File tree

Expand file treeCollapse file tree

12 files changed

+16
-16
lines changed
Filter options
Expand file treeCollapse file tree

12 files changed

+16
-16
lines changed

‎.github/workflows/main_python.yml

Copy file name to clipboardExpand all lines: .github/workflows/main_python.yml
+4-4Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@ jobs:
1616
runs-on: ubuntu-latest
1717

1818
steps:
19-
- uses: actions/checkout@v2
20-
- name: Set up Python 3.8
21-
uses: actions/setup-python@v2
19+
- uses: actions/checkout@v4
20+
- name: Set up Python 3.10
21+
uses: actions/setup-python@v5
2222
with:
23-
python-version: 3.8
23+
python-version: '3.10'
2424
- name: Install PyTorch
2525
run: |
2626
python -m pip install --upgrade pip

‎dcgan/requirements.txt

Copy file name to clipboard
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
torch
2-
torchvision
2+
torchvision==0.20.0
33
lmdb

‎gat/requirements.txt

Copy file name to clipboard
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
torch
22
requests
3-
numpy
3+
numpy<2

‎gcn/requirements.txt

Copy file name to clipboard
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
torch
2-
torchvision
2+
torchvision==0.20.0
33
requests
4-
numpy
4+
numpy<2

‎imagenet/requirements.txt

Copy file name to clipboard
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
torch
2-
torchvision
2+
torchvision==0.20.0

‎language_translation/requirements.txt

Copy file name to clipboard
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
torch
22
torchtext
3-
torchdata
3+
torchdata==0.9.0
44
spacy
55
portalocker

‎mnist/requirements.txt

Copy file name to clipboard
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
torch
2-
torchvision
2+
torchvision==0.20.0
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
torch
2-
torchvision
2+
torchvision==0.20.0

‎mnist_hogwild/requirements.txt

Copy file name to clipboard
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
torch
2-
torchvision
2+
torchvision==0.20.0

‎mnist_rnn/requirements.txt

Copy file name to clipboard
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
torch
2-
torchvision
2+
torchvision==0.20.0

‎siamese_network/requirements.txt

Copy file name to clipboard
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
torch
2-
torchvision
2+
torchvision==0.20.0

‎vae/requirements.txt

Copy file name to clipboard
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
torch
2-
torchvision
2+
torchvision==0.20.0
33
tqdm
44
six

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.