mirror of
https://github.com/PaddlePaddle/FastDeploy.git
synced 2025-10-07 01:22:59 +08:00
DeepGEMM
DeepGEMM 安装流程
Installation
首先安装自定义算子,确保cutlass已经git clone
到custom_ops/third_party/cutlass
安装deep_gemm:
# Make symbolic links for third-party (CUTLASS and CuTe) include directories
python setup.py develop
# Add the project path to PYTHONPATH
export PYTHONPATH=$(pwd):$PYTHONPATH
# or install directly
python setup.py install
Test
# Test all GEMM implements (normal, contiguous-grouped and masked-grouped)
python tests/test_core.py