Skip to content

Commit 95680c6

Browse files
committed
Requires torch>=1.8 and pathos
1 parent 5e437cb commit 95680c6

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ $ pip install -U git+https://github.com/yzhangcs/parser
4141

4242
As a prerequisite, the following requirements should be satisfied:
4343
* `python`: >= 3.7
44-
* [`pytorch`](https://github.com/pytorch/pytorch): >= 1.7
44+
* [`pytorch`](https://github.com/pytorch/pytorch): >= 1.8
4545
* [`transformers`](https://github.com/huggingface/transformers): >= 4.0
4646

4747
## Usage

setup.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,14 @@
2525
],
2626
install_requires=[
2727
'numpy<1.21.5; python_version<"3.8"',
28-
'torch>=1.7.1',
28+
'torch>=1.8',
2929
'transformers>=4.0.0',
3030
'hydra-core>=1.2',
3131
'nltk',
3232
'stanza',
3333
'omegaconf',
34-
'dill'],
34+
'dill',
35+
'pathos'],
3536
extras_require={
3637
'elmo': ['allennlp']
3738
},

0 commit comments

Comments
 (0)