Installation
Pre-requisites
Before beginning, please ensure you have the following:
The following system requirements:
3.7 ≤
python
≤ 3.9one of the following package managers
pip
conda
The
rime_trial
bundle ( download here )A
token.txt
file (will be provided by your RI representative)
Set Up Your Environment
To avoid interfering with your other projects’ dependencies, we will create a new Python virtual environment for RIME.
Download ( link here ) and extract (
tar -xzf rime-trial-0.18.6.tar.gz
) therime_trial
bundle.Place the
token.txt
file inside ofrime_trial/
.Step into
rime_trial/
— this will be our working directory throughout the installation.Select a virtual environment manager (currently either
pip
or Conda) and follow the appropriate instructions below.Pip Installation
Create a new python virtual environment.
python -m venv rime-venv
Activate the virtual environment.
macOS & Linux
source rime-venv/bin/activate
Windows
.\rime-venv\Scripts\activate
Update pip and install required Python packages from
trial_requirements.txt
.pip install --upgrade pip pip install -r trial_requirements.txt
Conda Installation
Create a new conda virtual environment. Replace
$PYTHON_VERSION_YOU_WISH_TO_USE
with the version of Python that you wish to use (e.g.,3.8
).conda create --name rime-venv python=$PYTHON_VERSION_YOU_WISH_TO_USE
Activate the virtual environment.
conda activate rime-venv
Update pip and install required Python packages from
trial_requirements.txt
.pip install --upgrade pip pip install -r trial_requirements.txt
Generate Requirements Files and Install
Generate the requirements files.
python rime_helper.py generate-rime-requirements
Register your product license.
python rime_helper.py update-license
Install the RIME Python package.
pip install -r rime_requirements.txt
Install the RIME NLP Dependencies (Optional)
To use RIME for stress testing NLP models, additional Python dependencies must be installed.
pip install -r nlp_requirements.txt
Install the RIME CV Dependencies (Optional)
To use RIME for stress testing Computer Vision models, additional Python dependencies must be installed.
pip install -r cv_requirements.txt