Skip to content

Commit

Permalink
Decrease versions of numpy and torch required by laser-encoders (#264)
Browse files Browse the repository at this point in the history
* Update requirements to follow fairseq

* Update README

* Update dependencies in toml file

* Remove requirements.txt

* Update laser_encoders README
  • Loading branch information
Paulooh007 authored Nov 15, 2023
1 parent 6360627 commit cd6118e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 13 deletions.
6 changes: 3 additions & 3 deletions laser_encoders/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
8 changes: 0 additions & 8 deletions laser_encoders/requirements.txt

This file was deleted.

4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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',
]

Expand Down

0 comments on commit cd6118e

Please sign in to comment.