Anna Sun
commited on
Commit
•
c397098
1
Parent(s):
b30004d
update README
Browse files
README.md
CHANGED
@@ -15,16 +15,19 @@ You can simply duplicate the space to run it.
|
|
15 |
## Running locally
|
16 |
### Install backend seamless_server dependencies
|
17 |
|
18 |
-
|
|
|
19 |
|
20 |
-
|
|
|
|
|
|
|
21 |
```
|
22 |
cd seamless_server
|
23 |
-
conda create --name smlss_server python=3.8
|
24 |
conda activate smlss_server
|
25 |
-
conda install pytorch torchvision torchaudio pytorch-cuda=11.8 -c pytorch -c nvidia
|
26 |
pip install -r requirements.txt
|
27 |
-
conda install -c conda-forge libsndfile==1.0.31
|
28 |
```
|
29 |
|
30 |
### Install frontend streaming-react-app dependencies
|
|
|
15 |
## Running locally
|
16 |
### Install backend seamless_server dependencies
|
17 |
|
18 |
+
> [!NOTE]
|
19 |
+
> Please note: we *do not* recommend running the model on CPU. CPU inference will be slow and introduce noticable delays in the simultaneous translation.
|
20 |
|
21 |
+
> [!NOTE]
|
22 |
+
> The example below is for PyTorch stable (2.1.1) and variant cu118. Check [here](https://pytorch.org/get-started/locally/) to find the command for your variant.
|
23 |
+
|
24 |
+
If running for the first time, create conda environment and install the desired torch version. Then install the rest of the requirements:
|
25 |
```
|
26 |
cd seamless_server
|
27 |
+
conda create --yes --name smlss_server python=3.8 libsndfile==1.0.31
|
28 |
conda activate smlss_server
|
29 |
+
conda install --yes pytorch torchvision torchaudio pytorch-cuda=11.8 -c pytorch -c nvidia
|
30 |
pip install -r requirements.txt
|
|
|
31 |
```
|
32 |
|
33 |
### Install frontend streaming-react-app dependencies
|