Installation¶
LiBai provides an editable installation way for you to develop your own project based on LiBai’s framework.
Build LiBai from Source¶
Clone this repo:
git clone https://github.com/Oneflow-Inc/libai.git
cd libai
Create a conda virtual environment and activate it:
conda create -n libai python=3.7 -y
conda activate libai
Install the stable release of OneFlow with
CUDA
support. See OneFlow installation guide.Install
pybind11
:
pip install pybind11
For an editable installation of LiBai:
pip install -e .