conda install pytorch==2.4.0 torchvision==0.19.0 torchaudio==2.4.0 pytorch-cuda=12.1 -c pytorch -c nvidia
conda install nccl conda-forge::cuda-cudart-dev nvidia/label/cuda-12.4.0::cuda-runtime
sudo apt-get install libzmq3-dev libcereal-dev
git submodule update --init
pip install -r requirements.txt
pip install .
See .gitmodules
.
- cereal
- cppzmq/libzmq
- nvtx
python tests/test_binding.py
DisagMoE requires a c++ lib built from csrc
. There are 2 ways to build it
- cmake
- setup.py
make pip
It will leverage setup.py to build the shared library. The equivalent command is pip install .
.
make cmake
This will build a shared library with cmake and install the library in the root directory of DisagMoE.
NOTE: The library built with cmake is under development and testing.