RecBole can be installed from pip, Conda and source.
RecBole works with the following operating systems:
RecBole requires Python version 3.7 or later.
RecBole requires torch version 1.7.0 or later. If you want to use RecBole with GPU, please ensure that CUDA or CUDAToolkit version is 9.2 or later. This requires NVIDIA driver version >= 396.26 (for Linux) or >= 397.44 (for Windows10).
If Conda
is not yet installed in your system environment, get either Miniconda or the full Anaconda.
If you are in China, Tsinghua
Mirrors is recommended to install Conda.
With Conda
installed, you can install RecBole with Python 3.7
Conda
environment. Run conda create -n recbole python=3.7
to create the
environment. Activate the environment by running conda activate recbole
. After the
Conda
environment is activated, run the following command to install RecBole:
To install RecBole from pip, you need to run this command:
Download the source files from GitHub.
Run the following command to install:
You can read the Quick Start to get more information about quick starting.