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
pipconda
The
rime_trialbundle ( download here )A
token.txtfile (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.20.4.tar.gz) therime_trialbundle.Place the
token.txtfile inside ofrime_trial/.Step into
rime_trial/— this will be our working directory throughout the installation.Select a virtual environment manager (currently either
pipor 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/activateWindows
.\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_USEwith 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