Install Reef on a laptop or GPU server
Install Reef on a laptop, build the GPU image to train weights, or install only the client.
Before you start #
You need Python 3.12 or newer. The Reef server also needs Git LFS for its default artifact repository.
Install Reef on a laptop #
Shell
git lfs install
pip install reef-infraFor the bundled recipes and tutorials, install a checkout:
Shell
git clone https://github.com/Human-Agent-Society/reef.git
cd reef
pip install -e .To check it, run reef serve --help.
Build the GPU image for weight training #
The image holds Slime and SGLang. From the checkout root:
Shell
docker build -f docker/Dockerfile.reef -t reef .To check it, run docker image ls reef. To start it, see the GPU setup; to reinstall from source inside it, the development guide.
Install the client only #
Shell
pip install reef-clientTo check it, run reef-client harness --help.