See .gitmodules.
- cereal
- cppzmq/libzmq
- nvtx
CUDA 12.4 is required for grouped_gemm compilation.
git submodule update --init
cd third_party/grouped_gemm
TORCH_CUDA_ARCH_LIST=8.0 GROUPED_GEMM_CUTLASS=1 pip install .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 .python tests/test_binding.pyDisagMoE requires a c++ lib built from csrc. There are 2 ways to build it
- cmake
- setup.py
make pipIt will leverage setup.py to build the shared library. The equivalent command is pip install ..
make cmakeThis 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.