Skip to content

Commit

Permalink
Update dependencies (#651)
Browse files Browse the repository at this point in the history
  • Loading branch information
calpt authored Feb 17, 2024
1 parent 29cbdd7 commit 69ea0b4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/tests_torch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
key: ${{ runner.os }}-pip-${{ hashFiles('setup.py') }}
- name: Install
run: |
pip install torch==2.1.1
pip install torch==2.1.2
pip install .[quality]
- name: Check Quality and Repo Consistency
run: |
Expand All @@ -62,7 +62,7 @@ jobs:
${{ runner.os }}-pip-
- name: Install
run: |
pip install torch==2.1.1
pip install torch==2.1.2
pip install .[sklearn,testing,sentencepiece]
- name: Test
run: |
Expand All @@ -85,7 +85,7 @@ jobs:
${{ runner.os }}-pip-
- name: Install
run: |
pip install torch==2.1.1
pip install torch==2.1.2
pip install .[sklearn,testing,sentencepiece]
- name: Test
run: |
Expand Down
6 changes: 3 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,9 @@
"onnxruntime>=1.4.0",
"parameterized",
"pillow",
"protobuf<=3.20.2",
"protobuf",
"psutil",
"pytest",
"pytest>=7.2.0,<8.0.0",
"pytest-subtests",
"pytest-timeout",
"pytest-xdist",
Expand Down Expand Up @@ -88,6 +88,7 @@ def deps_list(*pkgs):
extras["sentencepiece"] = deps_list("sentencepiece", "protobuf")
extras["testing"] = deps_list(
"pytest",
"pytest-subtests",
"pytest-xdist",
"timeout-decorator",
"parameterized",
Expand All @@ -101,7 +102,6 @@ def deps_list(*pkgs):
"rouge-score",
"nltk",
"GitPython",
"protobuf", # Can be removed once we can unpin protobuf
"sacremoses",
"rjieba",
"beautifulsoup4",
Expand Down

0 comments on commit 69ea0b4

Please sign in to comment.