diff --git a/laser_encoders/README.md b/laser_encoders/README.md index 4c508824..40ddbdae 100644 --- a/laser_encoders/README.md +++ b/laser_encoders/README.md @@ -7,13 +7,13 @@ laser_encoders is the official Python package for the Facebook [LASER](https://g ## Dependencies - Python `>= 3.8` -- [PyTorch `>= 2.0`](http://pytorch.org/) +- [PyTorch `>= 1.10.0`](http://pytorch.org/) - sacremoses `>=0.1.0` - sentencepiece `>=0.1.99` -- numpy `>=1.25.0` +- numpy `>=1.21.3` - fairseq `>=0.12.2` -You can find a full list of requirements [here](requirements.txt) +You can find a full list of requirements [here](https://github.com/facebookresearch/LASER/blob/main/pyproject.toml) ## Installation diff --git a/laser_encoders/requirements.txt b/laser_encoders/requirements.txt deleted file mode 100644 index f872e801..00000000 --- a/laser_encoders/requirements.txt +++ /dev/null @@ -1,8 +0,0 @@ -fairseq==0.12.2 -numpy==1.25.0 -pytest==7.4.0 -Requests==2.31.0 -sacremoses==0.1.0 -sentencepiece==0.1.99 -torch==2.0.1 -tqdm==4.65.0 diff --git a/pyproject.toml b/pyproject.toml index def6fd5c..74650610 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -13,8 +13,8 @@ requires-python = ">=3.8" dependencies = [ 'sacremoses>=0.1.0', 'sentencepiece>=0.1.99', - 'numpy>=1.24', - 'torch>=2.0.1', + 'numpy>=1.21.3', + 'torch>=1.10.0', 'fairseq>=0.12.2', ]