You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+3-6Lines changed: 3 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -31,14 +31,11 @@ The full list of supported languages (along with download links) can be found he
31
31
32
32
You can install SONAR with `pip install sonar-space`. Note that there is another `sonar` package on pip that IS NOT this project, make sure to use `sonar-space` in your dependencies.
33
33
34
-
If you want to install SONAR manually, you can install it localy. SONAR depends mainly on [Fairseq2](https://github.com/facebookresearch/fairseq2) and can be installed using (tested with `python=3.8`)
34
+
SONAR depends on fairseq2 and torch/torchaudio, you will have to install the variant (cpu/cuda/...) that works for your environment manully.
35
35
36
-
```bash
37
-
pip install --upgrade pip
38
-
pip install -e .
39
-
```
36
+
Check [fairseq2 variants](https://github.com/facebookresearch/fairseq2?tab=readme-ov-file#variants) for possible variants. Note that SONAR currently relies on the release candidate for fairseq2 0.3.0 rc1.
40
37
41
-
If fairseq2 does not provide a build for your machine, check the readme of that project to build it locally.
38
+
If [fairseq2](https://github.com/facebookresearch/fairseq2) does not provide a build for your machine, check the readme of that project to build it locally.
42
39
43
40
## Usage
44
41
fairseq2 will automatically download models into your `$TORCH_HOME/hub` directory upon using the commands below.
0 commit comments